BehaviorTree Diagnostic Message script_parser.cpp ParseScript stack-based overflow
Vulnerability Description
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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-11012
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- sand (VulDB User)
References
- https://vuldb.com/?id.325955
- https://vuldb.com/?ctiid.325955
- https://vuldb.com/?submit.654074
- https://github.com/BehaviorTree/BehaviorTree.CPP/issues/1006
- https://github.com/BehaviorTree/BehaviorTree.CPP/pull/1007
- https://github.com/user-attachments/files/22251337/poc.zip
- https://github.com/BehaviorTree/BehaviorTree.CPP/commit/cb6c7514efa628adb8180b58b4c9ccdebbe096e3