All reports
Low

xfs heap overflow in the swap_char2b function

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2007-4990

Probability of exploitation in the next 30 days: 10.74%

FIRST EPSS · 2026-11-23

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.