CVE-2007-4990 in the critical feed json
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) Que…
published 2007-10-05 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-4971
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.7%
- EPSS 10.7% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- xorg-x11 RHEL 4 6.8.2-1.EL.33.0.2
- xorg-x11-sdk RHEL 4 6.8.2-1.EL.33.0.2
- xorg-x11-twm RHEL 4 6.8.2-1.EL.33.0.2
- xorg-x11-xdm RHEL 4 6.8.2-1.EL.33.0.2
- xorg-x11-xfs RHEL 4 6.8.2-1.EL.33.0.2
- xorg-x11-libs RHEL 4 6.8.2-1.EL.33.0.2
- xorg-x11-Xdmx RHEL 4 6.8.2-1.EL.33.0.2
- xorg-x11-Xvfb RHEL 4 6.8.2-1.EL.33.0.2
red hat advisories RHSA-2008:0030RHSA-2008:0029
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-4990 updated
xfs heap overflow in the swap_char2b function
-
Red Hat Enterprise Linux 5 xorg-x11-xfsaffected: no fix planned “Will not fix”
-
Red Hat Desktop version 3 XFree86 4.3.0-126.EL, XFree86-sdk 4.3.0-126.EL, XFree86-twm 4.3.0-126.EL, XFree86-xdm 4.3.0-126.EL, XFree86-xfs 4.3.0-126.EL, XFree86-libs 4.3.0-126.EL, +22 more Red Hat Enterprise Linux AS (Advanced Server) version 2.1 XFree86 4.1.0-86.EL, XFree86-twm 4.1.0-86.EL, XFree86-xdm 4.1.0-86.EL, XFree86-xfs 4.1.0-86.EL, XFree86-libs 4.1.0-86.EL, XFree86-Xvfb 4.1.0-86.EL, +12 more Red Hat Enterprise Linux AS version 3 XFree86 4.3.0-126.EL, XFree86-sdk 4.3.0-126.EL, XFree86-twm 4.3.0-126.EL, XFree86-xdm 4.3.0-126.EL, XFree86-xfs 4.3.0-126.EL, XFree86-libs 4.3.0-126.EL, +22 morefixed: vendor fix RHSA-2008:0029
-
Red Hat Enterprise Linux AS version 4 xorg-x11 6.8.2-1.EL.33.0.2, xorg-x11-sdk 6.8.2-1.EL.33.0.2, xorg-x11-twm 6.8.2-1.EL.33.0.2, xorg-x11-xdm 6.8.2-1.EL.33.0.2, xorg-x11-xfs 6.8.2-1.EL.33.0.2, xorg-x11-libs 6.8.2-1.EL.33.0.2, +9 more Red Hat Enterprise Linux Desktop version 4 xorg-x11 6.8.2-1.EL.33.0.2, xorg-x11-sdk 6.8.2-1.EL.33.0.2, xorg-x11-twm 6.8.2-1.EL.33.0.2, xorg-x11-xdm 6.8.2-1.EL.33.0.2, xorg-x11-xfs 6.8.2-1.EL.33.0.2, xorg-x11-libs 6.8.2-1.EL.33.0.2, +9 morefixed: vendor fix RHSA-2008:0030
-
Red Hat Enterprise Linux ES version 2.1 XFree86 4.1.0-86.EL, XFree86-twm 4.1.0-86.EL, XFree86-xdm 4.1.0-86.EL, XFree86-xfs 4.1.0-86.EL, XFree86-libs 4.1.0-86.EL, XFree86-Xvfb 4.1.0-86.EL, +12 more Red Hat Enterprise Linux ES version 3 XFree86 4.3.0-126.EL, XFree86-sdk 4.3.0-126.EL, XFree86-twm 4.3.0-126.EL, XFree86-xdm 4.3.0-126.EL, XFree86-xfs 4.3.0-126.EL, XFree86-libs 4.3.0-126.EL, +22 morefixed: vendor fix RHSA-2008:0029
-
Red Hat Enterprise Linux ES version 4 xorg-x11 6.8.2-1.EL.33.0.2, xorg-x11-sdk 6.8.2-1.EL.33.0.2, xorg-x11-twm 6.8.2-1.EL.33.0.2, xorg-x11-xdm 6.8.2-1.EL.33.0.2, xorg-x11-xfs 6.8.2-1.EL.33.0.2, xorg-x11-libs 6.8.2-1.EL.33.0.2, +9 morefixed: vendor fix RHSA-2008:0030
-
Red Hat Enterprise Linux WS version 2.1 XFree86 4.1.0-86.EL, XFree86-twm 4.1.0-86.EL, XFree86-xdm 4.1.0-86.EL, XFree86-xfs 4.1.0-86.EL, XFree86-libs 4.1.0-86.EL, XFree86-Xvfb 4.1.0-86.EL, +12 more Red Hat Enterprise Linux WS version 3 XFree86 4.3.0-126.EL, XFree86-sdk 4.3.0-126.EL, XFree86-twm 4.3.0-126.EL, XFree86-xdm 4.3.0-126.EL, XFree86-xfs 4.3.0-126.EL, XFree86-libs 4.3.0-126.EL, +22 morefixed: vendor fix RHSA-2008:0029
-
Red Hat Enterprise Linux WS version 4 xorg-x11 6.8.2-1.EL.33.0.2, xorg-x11-sdk 6.8.2-1.EL.33.0.2, xorg-x11-twm 6.8.2-1.EL.33.0.2, xorg-x11-xdm 6.8.2-1.EL.33.0.2, xorg-x11-xfs 6.8.2-1.EL.33.0.2, xorg-x11-libs 6.8.2-1.EL.33.0.2, +9 morefixed: vendor fix RHSA-2008:0030
-
Red Hat Linux Advanced Workstation 2.1 XFree86 4.1.0-86.EL, XFree86-twm 4.1.0-86.EL, XFree86-xdm 4.1.0-86.EL, XFree86-xfs 4.1.0-86.EL, XFree86-libs 4.1.0-86.EL, XFree86-Xvfb 4.1.0-86.EL, +11 morefixed: vendor fix RHSA-2008:0029
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
10.74% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-189 Numeric Errors
References
-
novell.com
/linux/security/advisories/2007_54_xorg.html
vendor-advisory
-
sunsolve.sun.com
/search/document.do?assetkey=1-66-200642-1
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2007-December/msg00352.html
vendor-advisory
-
h20000.www2.hp.com
/bizsupport/TechSupport/Document.jsp?objectID=c01323725
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0029.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2008/Mar/msg00001.html
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200710-11.xml
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0030.html
vendor-advisory
-
sunsolve.sun.com
/search/document.do?assetkey=1-26-103114-1
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:210
vendor-advisory
-
securitytracker.com
/id?1018763
vdb-entry
-
secunia.com
/advisories/28542
third-party-advisory
-
securityfocus.com
/archive/1/481432/100/0/threaded
mailing-list
- bugs.freedesktop.org /show_bug.cgi?id=12299
-
secunia.com
/advisories/28514
third-party-advisory
-
secunia.com
/advisories/27052
third-party-advisory
-
labs.idefense.com
/intelligence/vulnerabilities/display.php?id=602
third-party-advisory
-
secunia.com
/advisories/27060
third-party-advisory
-
vupen.com
/english/advisories/2008/0924/references
vdb-entry
-
lists.freedesktop.org
/archives/xorg-announce/2007-October/000416.html
mailing-list
-
secunia.com
/advisories/28004
third-party-advisory
-
secunia.com
/advisories/27240
third-party-advisory
- issues.rpath.com /browse/RPL-1756
-
secunia.com
/advisories/29420
third-party-advisory
-
secunia.com
/advisories/27040
third-party-advisory
-
secunia.com
/advisories/27176
third-party-advisory
-
secunia.com
/advisories/27228
third-party-advisory
-
vupen.com
/english/advisories/2007/3467
vdb-entry
-
vupen.com
/english/advisories/2008/0149
vdb-entry
-
securityfocus.com
/bid/25898
vdb-entry
- bugs.gentoo.org /show_bug.cgi?id=194606
-
vupen.com
/english/advisories/2007/3338
vdb-entry
-
secunia.com
/advisories/27560
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11599
vdb-entry, signature
- docs.info.apple.com /article.html?artnum=307562
-
vupen.com
/english/advisories/2007/3337
vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/36920
vdb-entry
-
secunia.com
/advisories/28536
third-party-advisory
Sources
- CVE List CVE-2007-4990
- NVD CVE-2007-4990
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.