CVE-2012-3509 json
Multiple integer overflows in the (1) _objalloc_alloc function in objalloc.c and (2) objalloc_alloc macro in include/objalloc.h in GNU libi…
published 2012-09-05 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-3464
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.7%
- EPSS 3.7% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- gnu binutils 2.24
- binutils Debian 14, Debian 13, Debian 12 2.22-8
debian advisories DEBIAN-CVE-2012-3509
- gdb SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 +1 more 7.9.1-3.2
- binutils SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 +1 more 2.25.0-5.5
- gcc5 SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 +1 more 5.2.1+r226025-2.4
- libffi-gcc5 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 5.2.1+r226025-2.1
- cross-ppc-binutils SLE Software Development Kit 11 SP4 2.25.0-5.7
- cross-spu-binutils SLE Software Development Kit 11 SP4 2.25.0-5.7
suse advisories SUSE-OU-2015:1803-1
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-3509 updated cvss 6.8
libiberty: integer overflow, leading to heap-buffer overflow by processing certain file headers via bfd binary
-
Red Hat Enterprise Linux 5 crash, binutils, binutils220 Red Hat Enterprise Linux 6 crash, binutils, mingw32-binutilsunder investigation
-
Red Hat Enterprise Linux 5 gcc, gdb, gcc44, compat-gcc-32, compat-gcc-34, compat-gcc-295, +1 more Red Hat Enterprise Linux 6 cpp, gcc, gdb, libgcc, libgcj, libitm, +31 morenot affected: vulnerable code not present
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
3.70% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-189 Numeric Errors
References
-
gcc.gnu.org
/ml/gcc-patches/2012-08/msg01986.html
mailing-list, patch, vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2015:029
vendor-advisory, broken-link
-
ubuntu.com
/usn/USN-2496-1
vendor-advisory, third-party-advisory
-
openwall.com
/lists/oss-security/2012/08/29/3
mailing-list, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/78135
vdb-entry, third-party-advisory
-
gcc.gnu.org
/bugzilla/show_bug.cgi?id=54411
issue-tracking
-
securityfocus.com
/bid/55281
vdb-entry, third-party-advisory
-
security-tracker.debian.org
/tracker/CVE-2012-3509
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2012-3509
- NVD CVE-2012-3509
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.