Skip to content
Fencer Intel
medium 5.0

CVE-2012-2677 json

Integer overflow in the ordered_malloc function in boost/pool/pool.hpp in Boost Pool before 3.9 makes it easier for context-dependent attac…

published 2012-07-25 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2659

cvss
5.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.9%
EPSS 3.9% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

Integer overflow in the ordered_malloc function in boost/pool/pool.hpp in Boost Pool before 3.9 makes it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large memory chunk size value, which causes less memory to be allocated than expected.

Patch / fix

  • boost RHEL 5 1.33.1-16.el5_9
  • boost RHEL 6 1.41.0-15.el6_4
  • boost-math RHEL 6 1.41.0-15.el6_4
  • boost-test RHEL 6 1.41.0-15.el6_4
  • boost-wave RHEL 6 1.41.0-15.el6_4
  • boost-graph RHEL 6 1.41.0-15.el6_4
  • boost-regex RHEL 6 1.41.0-15.el6_4
  • boost-mpich2 RHEL 6 1.41.0-15.el6_4

red hat advisories RHSA-2013:0668

  • mysql Azure Linux 3.0 8.0.40-4
  • ceph Azure Linux 3.0 18.2.2-1

azure linux advisories AZL-41751AZL-41929

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-2677 updated cvss 5.1

boost: ordered_malloc() overflow

  • Red Hat Enterprise Linux (v. 5 server) boost 1.33.1-16.el5_9 Red Hat Enterprise Linux Desktop (v. 6) boost 1.41.0-15.el6_4, boost-math 1.41.0-15.el6_4, boost-test 1.41.0-15.el6_4, boost-wave 1.41.0-15.el6_4, boost-graph 1.41.0-15.el6_4, boost-regex 1.41.0-15.el6_4, +15 more Red Hat Enterprise Linux Desktop Optional (v. 6) boost 1.41.0-15.el6_4, boost-math 1.41.0-15.el6_4, boost-test 1.41.0-15.el6_4, boost-wave 1.41.0-15.el6_4, boost-graph 1.41.0-15.el6_4, boost-regex 1.41.0-15.el6_4, +15 more Red Hat Enterprise Linux HPC Node (v. 6) boost 1.41.0-15.el6_4, boost-math 1.41.0-15.el6_4, boost-test 1.41.0-15.el6_4, boost-wave 1.41.0-15.el6_4, boost-graph 1.41.0-15.el6_4, boost-regex 1.41.0-15.el6_4, +15 more Red Hat Enterprise Linux HPC Node Optional (v. 6) boost 1.41.0-15.el6_4, boost-math 1.41.0-15.el6_4, boost-test 1.41.0-15.el6_4, boost-wave 1.41.0-15.el6_4, boost-graph 1.41.0-15.el6_4, boost-regex 1.41.0-15.el6_4, +15 more Red Hat Enterprise Linux Server (v. 6) boost 1.41.0-15.el6_4, boost-math 1.41.0-15.el6_4, boost-test 1.41.0-15.el6_4, boost-wave 1.41.0-15.el6_4, boost-graph 1.41.0-15.el6_4, boost-regex 1.41.0-15.el6_4, +15 more
    +3 more products
    Red Hat Enterprise Linux Server Optional (v. 6) boost 1.41.0-15.el6_4, boost-math 1.41.0-15.el6_4, boost-test 1.41.0-15.el6_4, boost-wave 1.41.0-15.el6_4, boost-graph 1.41.0-15.el6_4, boost-regex 1.41.0-15.el6_4, +15 more Red Hat Enterprise Linux Workstation (v. 6) boost 1.41.0-15.el6_4, boost-math 1.41.0-15.el6_4, boost-test 1.41.0-15.el6_4, boost-wave 1.41.0-15.el6_4, boost-graph 1.41.0-15.el6_4, boost-regex 1.41.0-15.el6_4, +15 more Red Hat Enterprise Linux Workstation Optional (v. 6) boost 1.41.0-15.el6_4, boost-math 1.41.0-15.el6_4, boost-test 1.41.0-15.el6_4, boost-wave 1.41.0-15.el6_4, boost-graph 1.41.0-15.el6_4, boost-regex 1.41.0-15.el6_4, +15 more
    fixed: vendor fix RHSA-2013:0668

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.89% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • svn.boost.org https://svn.boost.org/trac/boost/changeset/78326 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.