Stack-based Buffer Overflow Affecting BehaviorTree/BehaviorTree.CPP package, versions [,4.7.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-BEHAVIORTREEBEHAVIORTREECPP-13110085
  • published29 Sept 2025
  • disclosed26 Sept 2025
  • creditYiyi Wang ahuo1

Introduced: 26 Sep 2025

CVE-2025-11012  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade BehaviorTree/BehaviorTree.CPP to version 4.7.3 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the ParseScript function in the Diagnostic Message Handler component of script_parser.cpp. An attacker can execute arbitrary code or cause a denial of service by providing a specially crafted argument to error_msgs_buffer.

CVSS Base Scores

version 4.0
version 3.1