CVE-2007-4990

CVE-2007-4990 is a high-severity vulnerability in X.org X Font Server with a CVSS 2.0 base score of 7.5. Its EPSS exploit-prediction score of 11% places it in the 95th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-189.

Key facts

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.

Frequently asked questions

What is CVE-2007-4990?
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.
How severe is CVE-2007-4990?
CVE-2007-4990 has a CVSS 2.0 base score of 7.5, rated high severity.
Is CVE-2007-4990 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 11% (95th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-4990?
CVE-2007-4990 affects X.org X Font Server. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2007-4990?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2007-4990 published?
CVE-2007-4990 was published on 2007-10-05 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in X.org X Font Server

All CVEs affecting X.org X Font Server →

Other CWE-189 (Numeric Errors) vulnerabilities

Browse all CWE-189 (Numeric Errors) vulnerabilities →