A vulnerability was determined in BehaviorTree up to 4.7.0. This affects the function ParseScript of the file /src/scriptparser.cpp of the component Diagnostic Message Handler. Executing manipulation of the argument errormsgs_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.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-11012.json"
"2026-04-12T17:58:59Z"
[
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"299972901820116468240995868952412301025",
"187230475786396314504787625581860795190",
"8000962959017230140626677018927894376",
"166785937867902317807252838411773786620",
"186042818810901607241236083440119949769",
"181244248553334472322270774723020479597",
"8222420829122001987243535694810890899",
"41117119396467970039722853641412491991",
"38885781141770936162979416768057436075",
"8000962959017230140626677018927894376",
"166785937867902317807252838411773786620",
"186042818810901607241236083440119949769",
"181244248553334472322270774723020479597",
"8222420829122001987243535694810890899"
]
},
"source": "https://github.com/behaviortree/behaviortree.cpp/commit/cb6c7514efa628adb8180b58b4c9ccdebbe096e3",
"id": "CVE-2025-11012-0472e87e",
"signature_type": "Line",
"target": {
"file": "src/script_parser.cpp"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 926.0,
"function_hash": "86196238422372887144497918021146705617"
},
"source": "https://github.com/behaviortree/behaviortree.cpp/commit/cb6c7514efa628adb8180b58b4c9ccdebbe096e3",
"id": "CVE-2025-11012-b19c5423",
"signature_type": "Function",
"target": {
"function": "ParseScript",
"file": "src/script_parser.cpp"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 598.0,
"function_hash": "77407382039146176453379997684888407227"
},
"source": "https://github.com/behaviortree/behaviortree.cpp/commit/cb6c7514efa628adb8180b58b4c9ccdebbe096e3",
"id": "CVE-2025-11012-e829f998",
"signature_type": "Function",
"target": {
"function": "ValidateScript",
"file": "src/script_parser.cpp"
}
}
]