CVE-2012-3509
publishedlibiberty: integer overflow, leading to heap-buffer overflow by processing certain file headers via bfd binary
Package status and fixes
Description
Multiple integer overflows in the (1) _objalloc_alloc function in objalloc.c and (2) objalloc_alloc macro in include/objalloc.h in GNU libiberty, as used by binutils 2.22, allow remote attackers to cause a denial of service (crash) via vectors related to the "addition of CHUNK_HEADER_SIZE to the length," which triggers a heap-based buffer overflow.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
8- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54411
- [gcc-patches] 20120829 [PATCH] PR other/54411: libiberty: objalloc_alloc integer overflows (CVE-2012-3509) http://gcc.gnu.org/ml/gcc-patches/2012-08/msg01986.html
- http://security-tracker.debian.org/tracker/CVE-2012-3509
- MDVSA-2015:029 http://www.mandriva.com/security/advisories?name=MDVSA-2015:029
- [oss-security] 20120829 CVE-2012-3509: objalloc_alloc integer overflows in libiberty http://www.openwall.com/lists/oss-security/2012/08/29/3
- 55281 http://www.securityfocus.com/bid/55281
- USN-2496-1 http://www.ubuntu.com/usn/USN-2496-1
- gnu-libiberty-overflow(78135) https://exchange.xforce.ibmcloud.com/vulnerabilities/78135
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- db8301a238b546d6425e4ba40b6fcf7dd7e93311b7fc2e0646cf67b670bc497c
- Ingested
- 23 Sep 2026, 07:39:19 UTC
- Source record
- Official CVE record