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
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.
- Published
- Jul 25, 2012
- Updated
- Jun 16, 2026
- EPSS
- 2.8% · 86th percentile
- CWE
- CWE-189
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.8%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| boehm-demers-weiser | garbage collector | cpe:2.3:a:boehm-demers-weiser:garbage_collector |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- boehm-demers-weiser garbage collectorup to 7.2 inclusive
- boehm-demers-weiser garbage collector1.3
- boehm-demers-weiser garbage collector1.4
- boehm-demers-weiser garbage collector1.5
- boehm-demers-weiser garbage collector1.8
- boehm-demers-weiser garbage collector1.9
- boehm-demers-weiser garbage collector2.0
- boehm-demers-weiser garbage collector2.1
- boehm-demers-weiser garbage collector2.2
- boehm-demers-weiser garbage collector2.3
- boehm-demers-weiser garbage collector2.4
- boehm-demers-weiser garbage collector3.0
- boehm-demers-weiser garbage collector3.1
- boehm-demers-weiser garbage collector3.2
- boehm-demers-weiser garbage collector3.3
- boehm-demers-weiser garbage collector3.4
- boehm-demers-weiser garbage collector3.5
- boehm-demers-weiser garbage collector3.6
- boehm-demers-weiser garbage collector3.7
- boehm-demers-weiser garbage collector4.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libgc | before 1:7.1-9 | 1:7.1-9 |
| Red Hat:enterprise_linux:6::client | gc | before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
| Red Hat:enterprise_linux:6::client | gc-debuginfo | before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
| Red Hat:enterprise_linux:6::client | gc-devel | before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
| Red Hat:network_satellite:5.6::el5 | gc | before 0:7.1-12.2.el5sat | 0:7.1-12.2.el5sat |
| Red Hat:network_satellite:5.6::el5 | gc-debuginfo | before 0:7.1-12.2.el5sat | 0:7.1-12.2.el5sat |
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libgc | 1:7.1-9 · Debian:12 | Package registry (OSV) |
| red hat:gc | 0:7.1-12.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:gc-debuginfo | 0:7.1-12.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:gc-devel | 0:7.1-12.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
CWE-189 · Numeric ErrorsCVSS vector
AV:N/AC:L/Au:N/C:N/I:P/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- kqueue.org/blog/2012/03/05/memory-allocator-security-revisited/
- lists.fedoraproject.org/pipermail/package-announce/2012-June/082926.html
- lists.fedoraproject.org/pipermail/package-announce/2012-June/082988.html
- rhn.redhat.com/errata/RHSA-2013-1500.html
- rhn.redhat.com/errata/RHSA-2014-0149.html
- rhn.redhat.com/errata/RHSA-2014-0150.html
- www.mandriva.com/security/advisories?name=MDVSA-2012:158
- www.openwall.com/lists/oss-security/2012/06/05/1
- www.openwall.com/lists/oss-security/2012/06/07/13
- www.securityfocus.com/bid/54227
- www.ubuntu.com/usn/USN-1546-1
- github.com/ivmai/bdwgc/blob/master/ChangeLog
- github.com/ivmai/bdwgc/commit/be9df82919960214ee4b9d3313523bff44fd99e1
- github.com/ivmai/bdwgc/commit/e10c1eb9908c2774c16b3148b30d2f3823d66a9a
Vendor advisories and official records. Exploit/PoC links are deliberately left out.