CVE-2012-2673 json
Multiple integer overflows in the (1) GC_generic_malloc and (2) calloc functions in malloc.c, and the (3) GC_generic_malloc_ignore_off_page…
published 2012-07-25 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2655
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
Multiple integer overflows in the (1) GC_generic_malloc and (2) calloc functions in malloc.c, and the (3) GC_generic_malloc_ignore_off_page function in mallocx.c in Boehm-Demers-Weiser GC (libgc) before 7.2 make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size value, which causes less memory to be allocated than expected.
Patch / fix
- libgc Debian 14, Debian 13, Debian 12 1:7.1-9
debian advisories DEBIAN-CVE-2012-2673
- gc network satellite 5.6, network proxy 5.6 7.1-12.2.el5sat
- gc RHEL 6 7.1-12.el6_4
red hat advisories RHSA-2014:0149RHSA-2014:0150RHSA-2013:1500
- github.com/ivmai/bdwgc@e10c1eb commit
- github.com/ivmai/bdwgc@83231d0 commit
- github.com/ivmai/bdwgc@be9df82 commit
- github.com/ivmai/bdwgc@6a93f8e commit
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-2673 updated cvss 5.1
gc: malloc() and calloc() overflows
-
Red Hat Enterprise Linux Desktop (v. 6) gc 7.1-12.el6_4 Red Hat Enterprise Linux Desktop Optional (v. 6) gc 7.1-12.el6_4 Red Hat Enterprise Linux HPC Node Optional (v. 6) gc 7.1-12.el6_4 Red Hat Enterprise Linux Server (v. 6) gc 7.1-12.el6_4 Red Hat Enterprise Linux Server Optional (v. 6) gc 7.1-12.el6_4 Red Hat Enterprise Linux Workstation (v. 6) gc 7.1-12.el6_4fixed: vendor fix RHSA-2013:1500
+1 more productsfewer
Red Hat Enterprise Linux Workstation Optional (v. 6) gc 7.1-12.el6_4 -
Red Hat Satellite 5.6 (RHEL v.5) gc 7.1-12.2.el5satfixed: vendor fix RHSA-2014:0149
-
Red Hat Satellite Proxy 5.6 (RHEL v.5) gc 7.1-12.2.el5satfixed: vendor fix RHSA-2014:0150
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
2.77% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/ivmai/bdwgc/commit/83231d0ab5ed60015797c3d1ad9056295ac3b2bb referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/ivmai/bdwgc/commit/6a93f8e5bcad22137f41b6c60a1c7384baaec2b3 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:P/A:N |
Classification
- Weakness
-
- CWE-189 Numeric Errors
References
-
github.com
/ivmai/bdwgc/commit/e10c1eb9908c2774c16b3148b30d2f3823d66a9a
patch
-
github.com
/ivmai/bdwgc/commit/83231d0ab5ed60015797c3d1ad9056295ac3b2bb
exploit, patch
-
github.com
/ivmai/bdwgc/commit/be9df82919960214ee4b9d3313523bff44fd99e1
patch
-
github.com
/ivmai/bdwgc/commit/6a93f8e5bcad22137f41b6c60a1c7384baaec2b3
exploit, patch
-
rhn.redhat.com
/errata/RHSA-2013-1500.html
vendor-advisory
-
ubuntu.com
/usn/USN-1546-1
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-June/082988.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2012:158
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2014-0150.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-June/082926.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2014-0149.html
vendor-advisory
- kqueue.org /blog/2012/03/05/memory-allocator-security-revisited/
-
openwall.com
/lists/oss-security/2012/06/05/1
mailing-list
-
openwall.com
/lists/oss-security/2012/06/07/13
mailing-list
- github.com /ivmai/bdwgc/blob/master/ChangeLog
-
securityfocus.com
/bid/54227
vdb-entry
Sources
- CVE List CVE-2012-2673
- NVD CVE-2012-2673
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.