Every CVE Search/ Get API key

CVE-2005-4807

Stack-based buffer overflow in the as_bad function in messages.c in the GNU as (gas) assembler in...

7.5 HighPublic exploitFix available

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.

Exploit likelihood

12.1%Up 3.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2005-4807
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2005-4807
Updated
2026-11-02
EUVDEUVD-2005-4800 No score

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.

Record
EUVD-2005-4800
Updated
2026-11-03
GitHub AdvisoriesGHSA-f884-r5wp-g6v3 No score

Stack-based buffer overflow in the as_bad function in messages.c in the GNU as (gas) assembler in...

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.

Record
GHSA-f884-r5wp-g6v3
Weakness
CWE-119
Updated
2026-11-02
OSV No score

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.

Record
CVE-2005-4807
Updated
2026-11-02
OSVDEBIAN-CVE-2005-4807 No score

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.

Record
DEBIAN-CVE-2005-4807
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
binutils
Debian:12
before 2.17-1
2.17-1
binutils
Debian:13
before 2.17-1
2.17-1
binutils
Debian:14
before 2.17-1
2.17-1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBGNU BinUtils 2.1x - GAS Buffer Overflow2006-08-17

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2005-4807 is a high vulnerability (CVSS 7.5) in Gnu Binutils, published December 31, 2005. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 12.1%, the 96th percentile. Fixed in binutils 2.17-1.

References

Show 4 moreShow less
MoveEnter Open