CVE-2007-4990 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code on X.Org X Font Server by sending crafted protocol requests that trigger heap corruption.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-4990?

CVE-2007-4990 is a high-severity memory corruption vulnerability in n/a, published on 5 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The swap_char2b function in X.Org X Font Server (xfs) before 1.0.5 allows context-dependent attackers to execute arbitrary code via (1) QueryXBitmaps and (2) QueryXExtents protocol requests with crafted size values that specify an arbitrary number of bytes to be swapped on the heap, which triggers heap corruption.

Weakness: CWE-189

Which versions are affected by CVE-2007-4990?

It affects 1 product.

Products include X.org X Font Server.

How do I fix CVE-2007-4990?

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-2007-4990 being exploited?

There is no known exploitation of CVE-2007-4990 in the wild and no public exploit code.

Sources

Also known as GHSA-c5xh-656p-g98m.

Is CVE-2007-4990 in your software?

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

Check your SBOMs for free