Buffer overflow in Behaviortree
CVE-2025-11012
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 16.4th percentile
- Published
- 2025-09-26
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 16.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Behaviortree
- Behaviortree — versions 4.0, 4.1, 4.2
Weakness classification (CWE)
References
- VDB-325955 | BehaviorTree Diagnostic Message script_parser.cpp ParseScript stack-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-325955 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #654074 | Davide Faconti BehaviorTree 4.7.0 / master commit 8d47d39 Stack-based Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/BehaviorTree/BehaviorTree.CPP/issues/1006 (issue-tracking, Exploit, Third Party Advisory, Issue Tracking)
- github.com/BehaviorTree/BehaviorTree.CPP/pull/1007 (issue-tracking, Issue Tracking)
- github.com/user-attachments/files/22251337/poc.zip (Exploit, exploit)
- github.com/BehaviorTree/BehaviorTree.CPP/commit/cb6c7514efa628adb8180b58b4c9ccd… (Patch, patch)