CVE-2012-2677
Integer overflow in the ordered_malloc function in boost/pool/pool.hpp in Boost Pool before 3.9...
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2012-2677- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-189
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-2677- Updated
- 2026-11-02
EUVDEUVD-2012-2659 No score
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.
- Record
EUVD-2012-2659- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rxj2-pmxv-j3x6 No score
Integer overflow in the ordered_malloc function in boost/pool/pool.hpp in Boost Pool before 3.9...
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.
- Record
GHSA-rxj2-pmxv-j3x6- Updated
- 2026-11-02
OSVAZL-41751 No score
CVE-2012-2677 affecting package mysql for versions less than 8.0.40-4
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.
- Record
AZL-41751- Updated
- 2026-11-05
OSVAZL-41929 No score
CVE-2012-2677 affecting package ceph for versions less than 18.2.2-1
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.
- Record
AZL-41929- Updated
- 2026-11-05
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mysqlAzure Linux:3 |
before 8.0.40-4 | 8.0.40-4 |
cephAzure Linux:3 |
before 18.2.2-1 | 18.2.2-1 |
boostRed Hat:enterprise_linux:5::server |
before 0:1.33.1-16.el5_9 | 0:1.33.1-16.el5_9 |
boost-debuginfoRed Hat:enterprise_linux:5::server |
before 0:1.33.1-16.el5_9 | 0:1.33.1-16.el5_9 |
boost-develRed Hat:enterprise_linux:5::server |
before 0:1.33.1-16.el5_9 | 0:1.33.1-16.el5_9 |
boost-docRed Hat:enterprise_linux:5::server |
before 0:1.33.1-16.el5_9 | 0:1.33.1-16.el5_9 |
boostRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-date-timeRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-debuginfoRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-filesystemRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
Show 104 moreShow less
| Package | Affected | Fixed |
|---|---|---|
boost-graphRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-iostreamsRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-program-optionsRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-pythonRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-regexRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-serializationRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-signalsRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-systemRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-testRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-threadRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-waveRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-develRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-docRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-graph-mpich2Red Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-graph-openmpiRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mathRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mpich2Red Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mpich2-develRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mpich2-pythonRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-openmpiRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-openmpi-develRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-openmpi-pythonRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-staticRed Hat:enterprise_linux:6::client |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boostRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-date-timeRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-filesystemRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-graphRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-iostreamsRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-program-optionsRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-pythonRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-regexRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-serializationRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-signalsRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-systemRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-testRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-threadRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-waveRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-develRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-docRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-graph-mpich2Red Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-graph-openmpiRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mathRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mpich2Red Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mpich2-develRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mpich2-pythonRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-openmpiRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-openmpi-develRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-openmpi-pythonRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-staticRed Hat:enterprise_linux:6::computenode |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boostRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-date-timeRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-debuginfoRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-develRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-filesystemRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-graphRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-iostreamsRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-program-optionsRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-pythonRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-regexRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-serializationRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-signalsRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-systemRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-testRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-threadRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-waveRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-docRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-graph-mpich2Red Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-graph-openmpiRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mathRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mpich2Red Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mpich2-develRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mpich2-pythonRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-openmpiRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-openmpi-develRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-openmpi-pythonRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-staticRed Hat:enterprise_linux:6::server |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boostRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-date-timeRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-develRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-filesystemRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-graphRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-iostreamsRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-program-optionsRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-pythonRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-regexRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-serializationRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-signalsRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-systemRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-testRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-threadRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-waveRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-docRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-graph-mpich2Red Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-graph-openmpiRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mathRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mpich2Red Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mpich2-develRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-mpich2-pythonRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-openmpiRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-openmpi-develRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-openmpi-pythonRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
boost-staticRed Hat:enterprise_linux:6::workstation |
before 0:1.41.0-15.el6_4 | 0:1.41.0-15.el6_4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-2677 is a medium vulnerability (CVSS 5.0) in Boost Pool, published July 25, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.89%, the 90th percentile. Fixed in mysql 8.0.40-4.
References
svn.boost.org/trac/boost/changeset/78326
kqueue.org/blog/2012/03/05/memory-allocator-security-revisited
openwall.com/lists/oss-security/2012/06/05/1
openwall.com/lists/oss-security/2012/06/07/13
lists.fedoraproject.org/pipermail/package-announce/2012-June/082977.html
lists.fedoraproject.org/pipermail/package-announce/2012-July/083416.html
Show 11 moreShow less
svn.boost.org/trac/boost/ticket/6701
mandriva.com/security/advisories?name=MDVSA-2013:065
security.gentoo.org/glsa/202105-04
nvd.nist.gov/vuln/detail/CVE-2012-2677
github.com/advisories/GHSA-rxj2-pmxv-j3x6
access.redhat.com/errata/RHSA-2013:0668
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=828856
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0668.json
access.redhat.com/security/cve/CVE-2012-2677
cve.org/CVERecord?id=CVE-2012-2677