Buffer overflow in Behaviortree
CVE-2025-11012
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.002 (14.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 14th percentile — 14.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Behaviortree
- Behaviortree — versions 4.0, 4.1, 4.2
Weakness classification (CWE)
References
- vuldb.com/ (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- vuldb.com/ (signature, Permissions Required, permissions-required, VDB Entry)
- vuldb.com/ (VDB Entry, Third Party Advisory, 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)
Frequently asked questions
- What is CVE-2025-11012?
- CVE-2025-11012 is a medium-severity vulnerability in Behaviortree, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.3/10. Published 2025-09-26.
- How severe is CVE-2025-11012?
- Medium severity. CVSS v3 base score is 5.3 out of 10.