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)…
Check your servers for CVE-2007-4990
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2007-4990 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 10.7%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.5% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2007-4990 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2007-4990RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2007-4990Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2007-4990
trivy image --scanners vuln IMAGE | grep CVE-2007-4990
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- SUSE-SA:2007:054 novell.com · vendor advisory
- 28542 secunia.com · third party advisory
- 200642 sunsolve.sun.com · vendor advisory
- FEDORA-2007-4263 redhat.com · vendor advisory
- http://bugs.freedesktop.org/show_bug.cgi?id=12299 bugs.freedesktop.org
- 28514 secunia.com · third party advisory
- 27052 secunia.com · third party advisory
- 20071002 Multiple Vendor X Font Server Multiple Vulnerabilities labs.idefense.com · third party advisory
- 27060 secunia.com · third party advisory
- HPSBUX02303 h20000.www2.hp.com · vendor advisory
- RHSA-2008:0029 redhat.com · vendor advisory
- 28004 secunia.com · third party advisory
15 more
- 27240 secunia.com · third party advisory
- https://issues.rpath.com/browse/RPL-1756 issues.rpath.com
- 29420 secunia.com · third party advisory
- 27040 secunia.com · third party advisory
- APPLE-SA-2008-03-18 lists.apple.com · vendor advisory
- 27176 secunia.com · third party advisory
- GLSA-200710-11 security.gentoo.org · vendor advisory
- 27228 secunia.com · third party advisory
- RHSA-2008:0030 redhat.com · vendor advisory
- 103114 sunsolve.sun.com · vendor advisory
- MDKSA-2007:210 mandriva.com · vendor advisory
- http://bugs.gentoo.org/show_bug.cgi?id=194606 bugs.gentoo.org
- 27560 secunia.com · third party advisory
- http://docs.info.apple.com/article.html?artnum=307562 docs.info.apple.com
- 28536 secunia.com · third party advisory
Other references
- 1018763 securitytracker.com · vdb entry
- 20071003 rPSA-2007-0205-1 xorg-x11 xorg-x11-fonts xorg-x11-tools xorg-x11-xfs securityfocus.com · mailing list
- ADV-2008-0924 vupen.com · vdb entry
- [xorg-announce] 20071002 [ANNOUNCE] X.Org security advisory: multiple vulnerabilities in X font server lists.freedesktop.org · mailing list
- ADV-2007-3467 vupen.com · vdb entry
- ADV-2008-0149 vupen.com · vdb entry
- 25898 securityfocus.com · vdb entry
- ADV-2007-3338 vupen.com · vdb entry
- oval:org.mitre.oval:def:11599 oval.cisecurity.org · vdb entry, signature
- ADV-2007-3337 vupen.com · vdb entry
- xfs-queryxbitmaps-queryxextents-bo(36920) exchange.xforce.ibmcloud.com · vdb entry
Source: the record CVE-2007-4990 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse