CVE-2012-3509 Integer overflow in n/a

Medium 5.0 Published Updated

Remote attackers can cause a denial of service via integer overflows in GNU libiberty, affecting applications using binutils.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-3509?

CVE-2012-3509 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 5 Sep 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-189

Which versions are affected by CVE-2012-3509?

It affects 4 products.

Linux distribution packages (17)
binutils SUSE:Linux Enterprise Desktop 11 SP4All versions2.25.0-5.5
gcc5 SUSE:Linux Enterprise Desktop 11 SP4All versions5.2.1+r226025-2.4
gdb SUSE:Linux Enterprise Desktop 11 SP4All versions7.9.1-3.2
binutils SUSE:Linux Enterprise Server 11 SP4All versions2.25.0-5.5
gcc5 SUSE:Linux Enterprise Server 11 SP4All versions5.2.1+r226025-2.4
gdb SUSE:Linux Enterprise Server 11 SP4All versions7.9.1-3.2
libffi-gcc5 SUSE:Linux Enterprise Server 11 SP4All versions5.2.1+r226025-2.1
binutils SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions2.25.0-5.5
gcc5 SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions5.2.1+r226025-2.4
gdb SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions7.9.1-3.2
libffi-gcc5 SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions5.2.1+r226025-2.1
binutils SUSE:Linux Enterprise Software Development Kit 11 SP4All versions2.25.0-5.5
cross-ppc-binutils SUSE:Linux Enterprise Software Development Kit 11 SP4All versions2.25.0-5.7
cross-spu-binutils SUSE:Linux Enterprise Software Development Kit 11 SP4All versions2.25.0-5.7
gcc5 SUSE:Linux Enterprise Software Development Kit 11 SP4All versions5.2.1+r226025-2.4
gdb SUSE:Linux Enterprise Software Development Kit 11 SP4All versions7.9.1-3.2
libffi-gcc5 SUSE:Linux Enterprise Software Development Kit 11 SP4All versions5.2.1+r226025-2.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Gnu Binutils, Gnu Libiberty.

How do I fix CVE-2012-3509?

Apply the vendor's patch.

Is CVE-2012-3509 being exploited?

There is no known exploitation of CVE-2012-3509 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-3509, GHSA-pjv6-3frr-mr92, MGASA-2014-0346, SUSE-OU-2015:1803-1.

Is CVE-2012-3509 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free