CVE-2021-45078 json
stab_xcoff_builtin_type in stabs.c in GNU Binutils through 2.37 allows attackers to cause a denial of service (heap-based buffer overflow)…
published 2021-12-15 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-31871
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
stab_xcoff_builtin_type in stabs.c in GNU Binutils through 2.37 allows attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact, as demonstrated by an out-of-bounds write. NOTE: this issue exists because of an incorrect fix for CVE-2018-12699.
Patch / fix
- binutils Debian 14, Debian 13, Debian 12 2.37.50.20220106-1
debian advisories DEBIAN-CVE-2021-45078
- binutils Ubuntu 20.04 LTS 2.34-6ubuntu1.6
- binutils Ubuntu Pro 16.04 LTS 2.26.1-1ubuntu1~16.04.8+esm3
ubuntu advisories UBUNTU-CVE-2021-45078
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- binutils SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 2.39-9.50.1
- cross-ppc-binutils SLE Software Development Kit 12 SP5 2.39-9.50.1
- cross-spu-binutils SLE Software Development Kit 12 SP5 2.39-9.50.1
- binutils SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES 15 SP2-LTSS +20 more 2.39-150100.7.40.1
- cross-rx-binutils openSUSE Leap 15.4, openSUSE Leap 15.3 2.39-150100.7.40.1
- cross-arm-binutils openSUSE Leap 15.4, openSUSE Leap 15.3 2.39-150100.7.40.1
- cross-avr-binutils openSUSE Leap 15.4, openSUSE Leap 15.3 2.39-150100.7.40.1
- cross-ppc-binutils openSUSE Leap 15.4, openSUSE Leap 15.3 2.39-150100.7.40.1
suse advisories SUSE-SU-2022:4277-1SUSE-SU-2022:4146-1
- binutils openSUSE Tumbleweed 2.39-2.1
opensuse advisories openSUSE-SU-2024:12631-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-2021-45078 updated cvss 5.3
binutils: out-of-bounds write in stab_xcoff_builtin_type() in stabs.c
-
Red Hat Enterprise Linux 6 binutils Red Hat Enterprise Linux 7 binutilsaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 binutils, gcc-toolset-9-binutils, gcc-toolset-10-binutils, gcc-toolset-11-binutils Red Hat Enterprise Linux 9 binutils, binutils-gold, mingw-binutils, mingw32-binutils, mingw64-binutils, mingw-binutils-genericaffected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9under investigation
-
Red Hat Enterprise Linux 8 mingw-binutils, mingw32-binutils, mingw64-binutils, mingw-binutils-genericnot 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
1.41% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- sourceware.org https://sourceware.org/bugzilla/show_bug.cgi?id=28694 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
sourceware.org
/bugzilla/show_bug.cgi?id=28694
exploit, issue-tracking, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UUHLDDT3HH7YEY6TX7IJRGPJUTNNVEL3/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UQBH244M5PV6S6UMHUTCVCWFZDX7Y4M6/
vendor-advisory
-
security.gentoo.org
/glsa/202208-30
vendor-advisory, third-party-advisory
- sourceware.org /git/gitweb.cgi?p=binutils-gdb.git%3Bh=161e87d12167b1e36193385485c1f6ce92f74f02
-
security.netapp.com
/advisory/ntap-20220107-0002/
third-party-advisory
Sources
- CVE List CVE-2021-45078
- NVD CVE-2021-45078
Fencer Vulns 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.