CVE-2025-11012
Behaviortree vulnerability
A vulnerability was determined in BehaviorTree up to 4.7.0. This affects the function ParseScript of the file /src/script_parser.cpp of the component Diagnostic Message Handler. Executing manipulation of the argument error_msgs_buffer can lead to stack-based buffer overflow. The attack can only be executed locally. The exploit has been publicly disclosed and may be utilized. This patch is called cb6c7514efa628adb8180b58b4c9ccdebbe096e3. A patch should be applied to remediate this issue.
Affected products
Behaviortree. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Behaviortree runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/BehaviorTree/BehaviorTree.CPP/commit/cb6c7514efa628adb8180b58b4c9ccdebbe096e3 · Patch
- github.com/BehaviorTree/BehaviorTree.CPP/issues/1006 · Exploit
- vuldb.com/?id.325955 · Third Party Advisory
- vuldb.com/?submit.654074 · Third Party Advisory
- github.com/user-attachments/files/22251337/poc.zip · Exploit
- github.com/BehaviorTree/BehaviorTree.CPP/pull/1007
- vuldb.com/?ctiid.325955
- nvd.nist.gov/vuln/detail/CVE-2025-11012
- cve.org/CVERecord?id=CVE-2025-11012
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.