CVE-2012-2673

Summary

CVECVE-2012-2673
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-07-25 19:55:02 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionMultiple 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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:N/I:P/A:N

Problem Types: CWE-189 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:L/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Boehm-demers-weiser Garbage Collector 1.3 All All All
Application Boehm-demers-weiser Garbage Collector 1.4 All All All
Application Boehm-demers-weiser Garbage Collector 1.5 All All All
Application Boehm-demers-weiser Garbage Collector 1.8 All All All
Application Boehm-demers-weiser Garbage Collector 1.9 All All All
Application Boehm-demers-weiser Garbage Collector 2.0 All All All
Application Boehm-demers-weiser Garbage Collector 2.1 All All All
Application Boehm-demers-weiser Garbage Collector 2.2 All All All
Application Boehm-demers-weiser Garbage Collector 2.3 All All All
Application Boehm-demers-weiser Garbage Collector 2.4 All All All
Application Boehm-demers-weiser Garbage Collector 3.0 All All All
Application Boehm-demers-weiser Garbage Collector 3.1 All All All
Application Boehm-demers-weiser Garbage Collector 3.2 All All All
Application Boehm-demers-weiser Garbage Collector 3.3 All All All
Application Boehm-demers-weiser Garbage Collector 3.4 All All All
Application Boehm-demers-weiser Garbage Collector 3.5 All All All
Application Boehm-demers-weiser Garbage Collector 3.6 All All All
Application Boehm-demers-weiser Garbage Collector 3.7 All All All
Application Boehm-demers-weiser Garbage Collector 4.0 All All All
Application Boehm-demers-weiser Garbage Collector 4.1 All All All
Application Boehm-demers-weiser Garbage Collector 4.10 All All All
Application Boehm-demers-weiser Garbage Collector 4.11 All All All
Application Boehm-demers-weiser Garbage Collector 4.12 All All All
Application Boehm-demers-weiser Garbage Collector 4.13 All All All
Application Boehm-demers-weiser Garbage Collector 4.14 All All All
Application Boehm-demers-weiser Garbage Collector 4.14 alpha1 All All
Application Boehm-demers-weiser Garbage Collector 4.14 alpha2 All All
Application Boehm-demers-weiser Garbage Collector 4.2 All All All
Application Boehm-demers-weiser Garbage Collector 4.3 All All All
Application Boehm-demers-weiser Garbage Collector 4.4 All All All
Application Boehm-demers-weiser Garbage Collector 4.5 All All All
Application Boehm-demers-weiser Garbage Collector 4.6 All All All
Application Boehm-demers-weiser Garbage Collector 4.7 All All All
Application Boehm-demers-weiser Garbage Collector 4.8 All All All
Application Boehm-demers-weiser Garbage Collector 4.9 All All All
Application Boehm-demers-weiser Garbage Collector 5.0 All All All
Application Boehm-demers-weiser Garbage Collector 5.0 alpha1 All All
Application Boehm-demers-weiser Garbage Collector 5.0 alpha2 All All
Application Boehm-demers-weiser Garbage Collector 5.0 alpha3 All All
Application Boehm-demers-weiser Garbage Collector 5.0 alpha4 All All
Application Boehm-demers-weiser Garbage Collector 5.0 alpha6 All All
Application Boehm-demers-weiser Garbage Collector 5.0 alpha7 All All
Application Boehm-demers-weiser Garbage Collector 5.1 All All All
Application Boehm-demers-weiser Garbage Collector 5.2 All All All
Application Boehm-demers-weiser Garbage Collector 5.3 All All All
Application Boehm-demers-weiser Garbage Collector 5.4 All All All
Application Boehm-demers-weiser Garbage Collector 6.0 All All All
Application Boehm-demers-weiser Garbage Collector 6.0 alpha1 All All
Application Boehm-demers-weiser Garbage Collector 6.0 alpha2 All All
Application Boehm-demers-weiser Garbage Collector 6.0 alpha3 All All
Application Boehm-demers-weiser Garbage Collector 6.0 alpha4 All All
Application Boehm-demers-weiser Garbage Collector 6.0 alpha5 All All
Application Boehm-demers-weiser Garbage Collector 6.0 alpha6 All All
Application Boehm-demers-weiser Garbage Collector 6.0 alpha7 All All
Application Boehm-demers-weiser Garbage Collector 6.0 alpha8 All All
Application Boehm-demers-weiser Garbage Collector 6.0 alpha9 All All
Application Boehm-demers-weiser Garbage Collector 6.1 All All All
Application Boehm-demers-weiser Garbage Collector 6.1 alpha1 All All
Application Boehm-demers-weiser Garbage Collector 6.1 alpha2 All All
Application Boehm-demers-weiser Garbage Collector 6.1 alpha3 All All
Application Boehm-demers-weiser Garbage Collector 6.1 alpha4 All All
Application Boehm-demers-weiser Garbage Collector 6.1 alpha5 All All
Application Boehm-demers-weiser Garbage Collector 6.2 All All All
Application Boehm-demers-weiser Garbage Collector 6.2 alpha1 All All
Application Boehm-demers-weiser Garbage Collector 6.2 alpha2 All All
Application Boehm-demers-weiser Garbage Collector 6.2 alpha3 All All
Application Boehm-demers-weiser Garbage Collector 6.2 alpha4 All All
Application Boehm-demers-weiser Garbage Collector 6.2 alpha5 All All
Application Boehm-demers-weiser Garbage Collector 6.2 alpha6 All All
Application Boehm-demers-weiser Garbage Collector 6.3 All All All
Application Boehm-demers-weiser Garbage Collector 6.3 alpha1 All All
Application Boehm-demers-weiser Garbage Collector 6.3 alpha2 All All
Application Boehm-demers-weiser Garbage Collector 6.3 alpha3 All All
Application Boehm-demers-weiser Garbage Collector 6.3 alpha4 All All
Application Boehm-demers-weiser Garbage Collector 6.3 alpha5 All All
Application Boehm-demers-weiser Garbage Collector 6.3 alpha6 All All
Application Boehm-demers-weiser Garbage Collector 6.4 All All All
Application Boehm-demers-weiser Garbage Collector 6.5 All All All
Application Boehm-demers-weiser Garbage Collector 6.6 All All All
Application Boehm-demers-weiser Garbage Collector 6.7 All All All
Application Boehm-demers-weiser Garbage Collector 6.8 All All All
Application Boehm-demers-weiser Garbage Collector 6.9 All All All
Application Boehm-demers-weiser Garbage Collector 7.0 All All All
Application Boehm-demers-weiser Garbage Collector 7.0 alpha1 All All
Application Boehm-demers-weiser Garbage Collector 7.0 alpha2 All All
Application Boehm-demers-weiser Garbage Collector 7.0 alpha3 All All
Application Boehm-demers-weiser Garbage Collector 7.0 alpha4 All All
Application Boehm-demers-weiser Garbage Collector 7.0 alpha5 All All
Application Boehm-demers-weiser Garbage Collector 7.0 alpha7 All All
Application Boehm-demers-weiser Garbage Collector 7.0 alpha9 All All
Application Boehm-demers-weiser Garbage Collector 7.1 All All All
Application Boehm-demers-weiser Garbage Collector 7.1 alpha2 All All
Application Boehm-demers-weiser Garbage Collector 7.2 alpha2 All All
Application Boehm-demers-weiser Garbage Collector 7.2 alpha4 All All
Application Boehm-demers-weiser Garbage Collector All alpha6 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Fix allocation size overflows due to rounding. · ivmai/bdwgc@be9df82 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
oss-security - memory allocator upstream patches af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
oss-security - Re: memory allocator upstream patches af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Malformed Request af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
USN-1546-1: libgc vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
[SECURITY] Fedora 17 Update: gc-7.2b-2.fc17 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
bdwgc/ChangeLog at master · ivmai/bdwgc · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com
Support / Security / Advisories / / MDVSA-2012:158 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Fix calloc() overflow · ivmai/bdwgc@e10c1eb · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
Speedup calloc size overflow check by preventing division if small value... · 83231d0 · ivmai/bdwgc · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Exploit, Patch
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Fix calloc-related code to prevent SIZE_MAX redefinition in sys headers · ivmai/bdwgc@6a93f8e · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Exploit, Patch
Memory allocator security revisited - Xi Wang af854a3a-2127-422b-91ae-364da2661108 kqueue.org
[SECURITY] Fedora 16 Update: gc-7.2b-2.fc16 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report