Infinite loop in libXpm - CVE-2022-46285

 

Infinite loop in libXpm - CVE-2022-46285

Published: January 17, 2023 / Updated: January 20, 2023


Vulnerability identifier: #VU71234
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2022-46285
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: xorg.freedesktop.org
Affected software:
libXpm

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop when handling unclosed comments in XPM images within the ParseComment() function. A remote attacker can trick the victim to open a specially crafted image and cause denial of service conditions.


How to mitigate CVE-2022-46285

Install updates from vendor's website.

Sources