Skip to content
OpenAdvisories
Unscored CVE-2007-4990 EUVD-2007-4971GHSA-c5xh-656p-g98m

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 Oct 5, 2007 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 4.0 xfs 1.0.1-7 DSA-1385-1
Debian 3.1 xfree86 4.3.0.dfsg.1-14sarge5 DSA-1385-1
ReleasePackageFixed inAdvisory
RHEL 4 xorg-x11 +17 6.8.2-1.EL.33.0.2 RHSA-2008:0030
RHEL 3 XFree86 +29 4.3.0-126.EL RHSA-2008:0029
RHEL 2 XFree86 +19 4.1.0-86.EL RHSA-2008:0029

Advisories 3

References