CVE-2025-11012 BehaviorTree Diagnostic Message script_parser.cpp ParseScript stack-based overflow
A local attacker can trigger a stack-based buffer overflow in the BehaviorTree library's script parser, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-11012?
CVE-2025-11012 is a medium-severity memory corruption vulnerability in BehaviorTree, published on 26 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.
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.
Which versions are affected by CVE-2025-11012?
It affects 1 product.
Products include Behaviortree Behaviortree.
How do I fix CVE-2025-11012?
No fix has been published for CVE-2025-11012 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-11012 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-11012 exists.
Other vulnerabilities in BehaviorTree
Sources
Also known as GHSA-64r9-7879-fmg9.