{"id":"CVE-2005-4807","aliases":["DEBIAN-CVE-2005-4807","EUVD-2005-4800","GHSA-f884-r5wp-g6v3"],"status":"published","title":"Stack-based buffer overflow in the as_bad function in messages.c in the GNU as (gas) assembler in...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.12135,"percentile":0.96181,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-119"],"published":"2005-12-31T05:00:00Z","modified":"2026-10-23T03:47:33Z","exploits":[{"source":"exploitdb","id":"EDB-28397","title":"GNU BinUtils 2.1x - GAS Buffer Overflow","type":"remote","platform":"linux","date":"2006-08-17","verified":true,"url":"https://www.exploit-db.com/exploits/28397"}],"fixes":[{"ecosystem":"Debian:12","package":"binutils","fixed_in":["2.17-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"binutils","fixed_in":["2.17-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"binutils","fixed_in":["2.17-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17-1"}]}]}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"gnu","product":"binutils"}],"references":[{"url":"http://www.osvdb.org/27960","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","Broken Link","web"]},{"url":"http://www.ubuntu.com/usn/usn-336-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Patch","Third Party Advisory","advisory","fix"]},{"url":"http://secunia.com/advisories/21508","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Third Party Advisory","advisory","fix"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=99464","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","advisory","fix"]},{"url":"http://www.securityfocus.com/bid/19555","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","Patch","Third Party Advisory","VDB Entry","advisory","evidence","fix"]},{"url":"http://www.vupen.com/english/advisories/2006/3307","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Permissions Required","report"]},{"url":"http://secunia.com/advisories/21530","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Third Party Advisory","advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-4807"},{"url":"https://github.com/advisories/GHSA-f884-r5wp-g6v3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-4807","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2005-4807","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.","status":"published","published":"2006-08-18T19:55:00Z","modified":"2024-08-08T00:01:23.541Z","updated_at":"2026-11-02T14:33:39.586409Z"}],"euvd":[{"id":"EUVD-2005-4800","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.","status":"published","published":"2006-08-18T19:55:00Z","modified":"2024-08-08T00:01:23Z","updated_at":"2026-11-03T01:15:21.029087Z"}],"ghsa":[{"id":"GHSA-f884-r5wp-g6v3","title":"Stack-based buffer overflow in the as_bad function in messages.c in the GNU as (gas) assembler in...","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.","status":"published","published":"2022-05-01T02:31:03Z","modified":"2023-01-31T05:00:24Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:47:51.052104Z"}],"nvd":[{"id":"CVE-2005-4807","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.","status":"published","published":"2005-12-31T05:00:00Z","modified":"2026-06-16T22:19:29.377Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:00:59.170202Z"}],"osv":[{"id":"CVE-2005-4807","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.","status":"published","published":"2005-12-31T05:00:00Z","modified":"2026-04-10T03:38:19.181468Z","updated_at":"2026-11-02T15:43:56.581247Z"},{"id":"DEBIAN-CVE-2005-4807","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.","status":"published","published":"2005-12-31T05:00:00Z","modified":"2026-10-23T03:47:33.190641453Z","updated_at":"2026-11-02T15:45:22.831407Z"}]}}
