CVEfocus › CVE database › CVE-2012-3509

CVE-2012-3509

EPSS 3.7% (higher than 90% of CVEs)Published 2012-09-05Updated 2024-08-06Assigner: redhat

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.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
8Under investigation
49Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14binutilsFixed2.22-8DEBIAN-CVE-2012-3509
Debian 13binutilsFixed2.22-8DEBIAN-CVE-2012-3509
Debian 12binutilsFixed2.22-8DEBIAN-CVE-2012-3509
Red Hat Enterprise Linux 6binutilsUnder investigation
Red Hat Enterprise Linux 6binutils-develUnder investigation
Red Hat Enterprise Linux 6compat-gcc-34Not affected
Red Hat Enterprise Linux 6compat-gcc-34-c++Not affected
Red Hat Enterprise Linux 6compat-gcc-34-g77Not affected
Red Hat Enterprise Linux 6compat-libf2c-34Not affected
Red Hat Enterprise Linux 6compat-libgcc-295Not affected
Red Hat Enterprise Linux 6compat-libgcc-296Not affected
Red Hat Enterprise Linux 6compat-libstdc++-295Not affected
Red Hat Enterprise Linux 6compat-libstdc++-296Not affected
Red Hat Enterprise Linux 6compat-libstdc++-33Not affected
Red Hat Enterprise Linux 6cppNot affected
Red Hat Enterprise Linux 6crashUnder investigation
Red Hat Enterprise Linux 6crash-develUnder investigation
Red Hat Enterprise Linux 6gccNot affected
Red Hat Enterprise Linux 6gcc-c++Not affected
Red Hat Enterprise Linux 6gcc-gfortranNot affected
Red Hat Enterprise Linux 6gcc-gnatNot affected
Red Hat Enterprise Linux 6gcc-javaNot affected
Red Hat Enterprise Linux 6gcc-objcNot affected
Red Hat Enterprise Linux 6gcc-objc++Not affected
Red Hat Enterprise Linux 6gdbNot affected
Red Hat Enterprise Linux 6gdb-gdbserverNot affected
Red Hat Enterprise Linux 6libatomicNot affected
Red Hat Enterprise Linux 6libgccNot affected
Red Hat Enterprise Linux 6libgcjNot affected
Red Hat Enterprise Linux 6libgcj-develNot affected
Red Hat Enterprise Linux 6libgcj-srcNot affected
Red Hat Enterprise Linux 6libgfortranNot affected
Red Hat Enterprise Linux 6libgnatNot affected
Red Hat Enterprise Linux 6libgnat-develNot affected
Red Hat Enterprise Linux 6libgompNot affected
Red Hat Enterprise Linux 6libitmNot affected
Red Hat Enterprise Linux 6libmudflapNot affected
Red Hat Enterprise Linux 6libmudflap-develNot affected
Red Hat Enterprise Linux 6libobjcNot affected
Red Hat Enterprise Linux 6libquadmathNot affected
Red Hat Enterprise Linux 6libstdc++Not affected
Red Hat Enterprise Linux 6libstdc++-develNot affected
Red Hat Enterprise Linux 6libstdc++-docsNot affected
Red Hat Enterprise Linux 6mingw32-binutilsUnder investigation
Red Hat Enterprise Linux 6mingw32-cppNot affected
Red Hat Enterprise Linux 6mingw32-gccNot affected
Red Hat Enterprise Linux 6mingw32-gcc-c++Not affected
Red Hat Enterprise Linux 6mingw32-gcc-gfortranNot affected
Red Hat Enterprise Linux 6mingw32-gcc-objcNot affected
Red Hat Enterprise Linux 6mingw32-gcc-objc++Not affected
Red Hat Enterprise Linux 5binutilsUnder investigation
Red Hat Enterprise Linux 5binutils220Under investigation
Red Hat Enterprise Linux 5compat-gcc-295Not affected
Red Hat Enterprise Linux 5compat-gcc-296Not affected
Red Hat Enterprise Linux 5compat-gcc-32Not affected
Red Hat Enterprise Linux 5compat-gcc-34Not affected
Red Hat Enterprise Linux 5crashUnder investigation
Red Hat Enterprise Linux 5gccNot affected
Red Hat Enterprise Linux 5gcc44Not affected
Red Hat Enterprise Linux 5gdbNot affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.