CVE Catalog

CVE-2005-4807

High
Published: Translated: NVD NIST

Summary

A stack-based buffer overflow in the as_bad function in messages.c in GNU Binutils before July 21, 2005 allows attackers to execute arbitrary code via a .c file with crafted inline assembly code.

Risk Assessment

The organization is at risk of arbitrary code execution by an attacker who can supply a malicious source file for compilation. This could lead to system compromise, data theft, or privilege escalation.

Recommendation

Immediately update GNU Binutils to the version from July 21, 2005 or later. If updating is not possible, avoid compiling untrusted source files containing inline assembly code.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS