CVE-2007-4990

Summary

CVECVE-2007-4990
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-10-05 21:17:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-189 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application X.org X Font Server All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
Support / Security / Advisories / / MDKSA-2007:210 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Sun Solaris X Font Server Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
SUSE update for XOrg - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
issues.rpath.com/browse/RPL-1756 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
Mac OS X Security Update Fixes Multiple Vulnerabilities - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
sunsolve.sun.com/search/document.do af854a3a-2127-422b-91ae-364da2661108 sunsolve.sun.com
About Security Update 2008-002 af854a3a-2127-422b-91ae-364da2661108 docs.info.apple.com
[SECURITY] Fedora 7 Update: xorg-x11-xfs-1.0.5-1.fc7 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Gentoo update for xfs - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Fedora update for xorg-x11-xfs - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Mandriva update for xfs - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
X Font Server Overflows in QueryXBitmaps and QueryXExtents Requests Let Remote Users Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
HP-UX update for xfs - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
HPSBUX02303 SSRT071468 rev.1 - HP-UX Running X Font Server (xfs) Software, Remote Execution of Arbitrary Code - c01323725 - HP Business Support Center af854a3a-2127-422b-91ae-364da2661108 h20000.www2.hp.com
Red Hat update for XFree86 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
XFree86 X Font Server Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Red Hat update for xorg-x11 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
rPath update for xorg-x11 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
X.Org X11 X Font Server Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
APPLE-SA-2008-03-18 Security Update 2008-002 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
labs.idefense.com/intelligence/vulnerabilities/display.php af854a3a-2127-422b-91ae-364da2661108 labs.idefense.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
X Font Server: Multiple Vulnerabilities — Gentoo Linux Documentation af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
194606 – x11-apps/xfs <1.0.5 Multiple Vulnerabilities (CVE-2007-{4568,4990}) af854a3a-2127-422b-91ae-364da2661108 bugs.gentoo.org
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
#103114: Multiple Security Issues Within The X Font Server (xfs(1)) QueryXBitmaps and QueryXExtents Protocol Handlers af854a3a-2127-422b-91ae-364da2661108 sunsolve.sun.com
Bug 12299 – swap_char2b() Heap Overflow Vulnerability [CVE-2007-4990] af854a3a-2127-422b-91ae-364da2661108 bugs.freedesktop.org
[ANNOUNCE] X.Org security advisory: multiple vulnerabilities in X font server af854a3a-2127-422b-91ae-364da2661108 lists.freedesktop.org
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
X.Org X Font Server Multiple Memory Corruption Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-10-08Mark J CoxRed Hat is aware of this issue and is tracking it via the following bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=CVE-2007-4990 The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report