All reports
Medium

libX11: Crash on invalid reply in XListExtensions in ListExt.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2018-14598

Probability of exploitation in the next 30 days: 4.18%

FIRST EPSS · 2026-11-23

Description

An issue was discovered in XListExtensions in ListExt.c in libX11 through 1.6.5. A malicious server can send a reply in which the first string overflows, causing a variable to be set to NULL that will be freed later on, leading to DoS (segmentation fault).

It was discovered that libX11 does not properly validate input coming from the server, causing XListExtensions() and XGetFontPath() functions to produce an invalid list of elements that in turn make XFreeExtensionsList() and XFreeFontPath() access invalid memory. An attacker who can either configure a malicious X server or modify the data coming from one, could use this flaw to crash the application using libX11, resulting in a denial of service.