The swap_char2b function in X.Org X Font Server (xfs) before 1.0.5 allows…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Partial Red Hat: 12 fixed, 1 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-189 and the CVSS impact.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2008:0029 Released 2008-01-18 · Red Hat rating ImportantXFree86 security update
- Red Hat Desktop version 3 XFree86-100dpi-fonts-4.3.0-126.EL, XFree86-100dpi-fonts-4.3.0-126.EL.i386, XFree86-4.3.0-126.EL +47
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1 XFree86-100dpi-fonts-4.1.0-86.EL.i386, XFree86-100dpi-fonts-4.1.0-86.EL.ia64, XFree86-4.1.0-86.EL +37
- Red Hat Enterprise Linux AS version 3 XFree86-100dpi-fonts-4.3.0-126.EL, XFree86-100dpi-fonts-4.3.0-126.EL.i386, XFree86-100dpi-fonts-4.3.0-126.EL.ia64 +47
- Red Hat Enterprise Linux ES version 2.1 XFree86-100dpi-fonts-4.1.0-86.EL.i386, XFree86-4.1.0-86.EL, XFree86-4.1.0-86.EL.i386 +18
- Red Hat Enterprise Linux ES version 3 XFree86-100dpi-fonts-4.3.0-126.EL, XFree86-100dpi-fonts-4.3.0-126.EL.i386, XFree86-100dpi-fonts-4.3.0-126.EL.ia64 +47
- Red Hat Enterprise Linux WS version 2.1 XFree86-100dpi-fonts-4.1.0-86.EL.i386, XFree86-4.1.0-86.EL, XFree86-4.1.0-86.EL.i386 +18
- Red Hat Enterprise Linux WS version 3 XFree86-100dpi-fonts-4.3.0-126.EL, XFree86-100dpi-fonts-4.3.0-126.EL.i386, XFree86-100dpi-fonts-4.3.0-126.EL.ia64 +47
- Red Hat Linux Advanced Workstation 2.1 XFree86-100dpi-fonts-4.1.0-86.EL.ia64, XFree86-4.1.0-86.EL, XFree86-4.1.0-86.EL.ia64 +17
- RHSA-2008:0030 Released 2008-01-17 · Red Hat rating Importantxorg-x11 security update
- Red Hat Enterprise Linux AS version 4 xorg-x11-6.8.2-1.EL.33.0.2, xorg-x11-6.8.2-1.EL.33.0.2.i386, xorg-x11-6.8.2-1.EL.33.0.2.ia64 +47
- Red Hat Enterprise Linux Desktop version 4 xorg-x11-6.8.2-1.EL.33.0.2, xorg-x11-6.8.2-1.EL.33.0.2.i386, xorg-x11-Mesa-libGL-6.8.2-1.EL.33.0.2 +33
- Red Hat Enterprise Linux ES version 4 xorg-x11-6.8.2-1.EL.33.0.2, xorg-x11-6.8.2-1.EL.33.0.2.i386, xorg-x11-6.8.2-1.EL.33.0.2.ia64 +47
- Red Hat Enterprise Linux WS version 4 xorg-x11-6.8.2-1.EL.33.0.2, xorg-x11-6.8.2-1.EL.33.0.2.i386, xorg-x11-6.8.2-1.EL.33.0.2.ia64 +47
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Desktop version 3 | Fixed | RHSA-2008:0029 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2008:0029 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2008:0029 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2008:0030 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2008:0030 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2008:0029 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2008:0029 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2008:0030 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2008:0029 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2008:0029 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2008:0030 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2008:0029 |
Timeline
- 2026-10-02 Threatist record created from CVE-2007-4990
- 2026-10-03 Alias added: GHSA-c5xh-656p-g98m
References
Advisory 11
Other 11
- http://bugs.freedesktop.org/show_bug.cgi?id=12299
- ADV-2008-0924
- [xorg-announce] 20071002 [ANNOUNCE] X.Org security advisory: multiple vulnerabilities in X font server
- https://issues.rpath.com/browse/RPL-1756
- ADV-2007-3467
- ADV-2008-0149
- http://bugs.gentoo.org/show_bug.cgi?id=194606
- ADV-2007-3338
- oval:org.mitre.oval:def:11599
- http://docs.info.apple.com/article.html?artnum=307562
- ADV-2007-3337
More x.org X Font Server vulnerabilities
- TI-2007-04422 Integer overflow in the build_range function in X.Org X Font Server (xfs) before 1.0.5… CVSS 2.0MEDIUM 6.8
Sources
- CVE-2007-4990 · CVE Program
- CVE-2007-4990 · NVD
- FIRST EPSS
- GHSA-c5xh-656p-g98m · GitHub Advisory Database · CC BY 4.0
- CVE-2007-4990 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences