Skip to main content
No exploitation reportedFix available

CVE-2021-45078

No exploitation reported by the sources we read.

  • Published2021-12-15
  • WeaknessCWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2021-12-1520:15CVE publishedNVD

Versions per branch

NVD
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
10.0= 10.0no fix published
11.0= 11.0no fix published
Fedoraproject fedora
BranchAffectedFixed in
34.x= 34no fix published
35.x= 35no fix published
Gnu binutils
BranchAffectedFixed in
2.37≤ 2.37no fix published

2 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • binutilsUbuntu:Pro:18.04:LTSall versions · no fixed version listed
  • binutilsUbuntu:Pro:16.04:LTSall versions · fixed in 2.26.1-1ubuntu1~16.04.8+esm3
  • binutilsUbuntu:Pro:14.04:LTSall versions · no fixed version listed
  • binutilsUbuntu:20.04:LTSall versions · fixed in 2.34-6ubuntu1.6
  • binutilsTuxCare:Ubuntu:18.04all versions · fixed in 2.30-21ubuntu1~18.04.9+tuxcare.els1and 43 other packages
  • binutilsTuxCare:Ubuntu:16.04all versions · fixed in 2.26.1-1ubuntu1~16.04.10+tuxcare.els3and 23 other packages
  • binutilsTuxCare:OracleLinux:7all versions · fixed in 2.27-44.base.0.3.el7_9.1.tuxcare.els5and 1 other package
  • binutilsTuxCare:OracleLinux:6all versions · fixed in 1:2.20.51.0.2-5.48.0.3.el6.tuxcare.ol.els4and 1 other package

44 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-45078 Red Hat Product Security24 known affected

    binutils: out-of-bounds write in stab_xcoff_builtin_type() in stabs.c

    binutils-devel as a component of Red Hat Enterprise Linux 6 · binutils.src as a component of Red Hat Enterprise Linux 6 · binutils as a component of Red Hat Enterprise Linux 7 · +21 more

Full record on NVD

Fix

  1. Workaround from the vendor Red Hat Product Security CVE-2021-45078 · 24 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
  2. No fix planned, says the vendor Red Hat Product Security CVE-2021-45078 · 5 productsOut of support scope
  3. No fix planned, says the vendor Red Hat Product Security CVE-2021-45078 · 19 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2021-12-15
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-wg2c-jc4j-gg9c

Frequently asked questions

What is CVE-2021-45078?

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.

Is CVE-2021-45078 actively exploited?

Active exploitation of CVE-2021-45078 has not been confirmed. Its EPSS score was 1.4% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-45078?

CVE-2021-45078 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running binutils? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record