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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/BehaviorTree/BehaviorTree.CPP/commit/cb6c7514efa628adb8180b58b4c9ccdebbe096e3 Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 1.9 · behaviortreeNVD modified 2026-10-19 16:10
Affected (CPE criteria) 1
cpe:2.3:a:behaviortree:behaviortree:*:*:*:*:*:*:*:*
References 7
- https://github.com/BehaviorTree/BehaviorTree.CPP/commit/cb6c7514efa628adb8180b58b4c9ccdebbe096e3 Patch
- https://github.com/BehaviorTree/BehaviorTree.CPP/issues/1006 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/BehaviorTree/BehaviorTree.CPP/pull/1007 Issue Tracking
- https://github.com/user-attachments/files/22251337/poc.zip Exploit
- https://vuldb.com/?ctiid.325955 Permissions Required, VDB Entry
- https://vuldb.com/?id.325955 Third Party Advisory, VDB Entry
- https://vuldb.com/?submit.654074 Third Party Advisory, VDB Entry