Integer Overflow or Wraparound Affecting boost package, versions [,1.80.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.05% (77th 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-CONAN-BOOST-14149655
  • published29 Nov 2025
  • disclosed18 Mar 2012
  • creditXi Wang

Introduced: 18 Mar 2012

CVE-2012-2677  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade boost to version 1.80.0 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the ordered_malloc function in boost/pool/pool.hpp. An attacker can perform memory-related attacks such as buffer overflows via a large memory chunk size value, which causes less memory to be allocated than expected.

Note: The remediation to this vulnerability is only available within the DEV branch of the Boost Pool repository.

CVSS Base Scores

version 4.0
version 3.1