# CVE-2025-11012: BehaviorTree Diagnostic Message script_parser.cpp ParseScript stack-based overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-09-26T11:32:12.970Z
- Modified: 2026-10-19T16:10:00.260Z
- Weaknesses: CWE-119, CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- BehaviorTree: 4.0; 4.1; 4.2; 4.3; 4.4; 4.5; 4.6; 4.7.0
- behaviortree behaviortree: before 4.7.3

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 5.3 Medium `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`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/BehaviorTree/BehaviorTree.CPP/issues/1006> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/user-attachments/files/22251337/poc.zip> (exploit)
- <https://vuldb.com/?id.325955> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.325955> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.654074> (third-party-advisory, vdb-entry)
- <https://github.com/BehaviorTree/BehaviorTree.CPP/pull/1007> (issue-tracking)
- <https://github.com/BehaviorTree/BehaviorTree.CPP/commit/cb6c7514efa628adb8180b58b4c9ccdebbe096e3> (patch)

## Sources

- CVE List: [CVE-2025-11012](https://www.cve.org/CVERecord?id=CVE-2025-11012), CVE Terms of Use, modified 2025-09-26
- NVD: [CVE-2025-11012](https://nvd.nist.gov/vuln/detail/CVE-2025-11012), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-11012 · Whole record: https://cve.day/CVE-2025-11012.json · Rebuilt by cve.day 2026-11-25T22:59:05.244Z
