{"id":"CVE-2005-4807","published":"2006-08-18T19:55:00Z","modified":"2024-08-08T00:01:23Z","title":"Stack-based buffer overflow in the as_bad function in messages.c in the GNU as (gas) assembler in Free Software…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.12135,"percentile":0.96252,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.osvdb.org/27960","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.ubuntu.com/usn/usn-336-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://secunia.com/advisories/21508","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=99464","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/19555","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.vupen.com/english/advisories/2006/3307","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/21530","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":19.25},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2006-08-17"},"first":{"date":"2006-08-17","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/28397"},"provenance":"source"},"summary":{"text":"A stack-based buffer overflow in the as_bad function in messages.c of the GNU as (gas) assembler, part of GNU Binutils before 20050721, is the flaw. The component is the assembler's error-reporting routine, which handles messages for malformed input. An attacker who can supply a .c source file containing crafted inline assembly code can trigger the overflow and execute arbitrary code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:50:40Z"},"euvd":{"id":"EUVD-2005-4800","exploited":false,"provenance":"source"},"exploits":[{"id":28397,"url":"https://www.exploit-db.com/exploits/28397","title":"GNU BinUtils 2.1x - GAS Buffer Overflow","date":"2006-08-17","verified":true,"provenance":"source"}]}