CVE-2005-4807 Memory corruption in n/a

High 7.5 Published Updated

Attackers can execute arbitrary code by tricking users into compiling a malicious C file with crafted inline assembly using the GNU as assembler.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2005-4807?

CVE-2005-4807 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 18 Aug 2006. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2005-4807?

It affects 2 products.

Products include Canonical Ubuntu Linux, Gnu Binutils.

How do I fix CVE-2005-4807?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2005-4807 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2005-4807 exists.

Public exploit code: 1 Exploit-DB entry.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2005-4807, GHSA-f884-r5wp-g6v3.

Is CVE-2005-4807 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free