CVE-2005-4807

CVE-2005-4807 is a high-severity vulnerability in Gnu Binutils with a CVSS 2.0 base score of 7.5. Its EPSS exploit-prediction score of 12% places it in the 96th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-119.

Key facts

Description

Stack-based buffer overflow in the as_bad function in messages.c in the GNU as (gas) assembler in Free Software Foundation GNU Binutils before 20050721 allows attackers to execute arbitrary code via a .c file with crafted inline assembly code.

Frequently asked questions

What is CVE-2005-4807?
Stack-based buffer overflow in the as_bad function in messages.c in the GNU as (gas) assembler in Free Software Foundation GNU Binutils before 20050721 allows attackers to execute arbitrary code via a .c file with crafted inline assembly code.
How severe is CVE-2005-4807?
CVE-2005-4807 has a CVSS 2.0 base score of 7.5, rated high severity.
Is CVE-2005-4807 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 12% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2005-4807?
CVE-2005-4807 primarily affects Gnu Binutils. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2005-4807?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2005-4807 published?
CVE-2005-4807 was published on 2005-12-31 and last updated on 2026-06-16.

References

Affected products (3)

More vulnerabilities in Gnu Binutils

All CVEs affecting Gnu Binutils →

Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities

Browse all CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities →