Vulnerability · Published Sep 26, 2025 · Assigned by VulDB
CVE-2025-11012BehaviorTree Diagnostic Message script_parser.cpp ParseScript stack-based overflow
Medium 5.3
In plain English
A medium-severity stack buffer overflow in BehaviorTree. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | BehaviorTree | 4.04.14.24.34.44.54.64.7.0 |
Weakness: CWE-121, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-325955 | BehaviorTree Diagnostic Message script_parser.cpp ParseScript stack-based overflow vdb-entry, technical-description
- VDB-325955 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #654074 | Davide Faconti BehaviorTree 4.7.0 / master commit 8d47d39 Stack-based Buffer Overflow third-party-advisory
- https://github.com/BehaviorTree/BehaviorTree.CPP/issues/1006 issue-tracking
- https://github.com/BehaviorTree/BehaviorTree.CPP/pull/1007 issue-tracking
- https://github.com/user-attachments/files/22251337/poc.zip exploit
- https://github.com/BehaviorTree/BehaviorTree.CPP/commit/cb6c7514efa628adb8180b58b4c9ccdebbe096e3 patch