Vulnerabilities · 2022 · X.org
CVE-2022-46285
X.org Libxpm vulnerability
A flaw was found in libXpm. This issue occurs when parsing a file with a comment not closed; the end-of-file condition will not be detected, leading to an infinite loop and resulting in a Denial of Service in the application linked to the library.
Affected products
Libxpm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether X.org Libxpm runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.redhat.com/show_bug.cgi?id=2160092 · Patch
- www.openwall.com/lists/oss-security/2023/10/03/1
- www.openwall.com/lists/oss-security/2023/10/03/10
- gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/a3a7c6dcc3b629d7650148
- gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/9
- lists.debian.org/debian-lts-announce/2023/06/msg00021.html
- lists.x.org/archives/xorg-announce/2023-January/003312.html
- nvd.nist.gov/vuln/detail/CVE-2022-46285
- cve.org/CVERecord?id=CVE-2022-46285
More vulnerabilities in X.org products
CVE-2025-26601CVE-2025-26600CVE-2025-26599CVE-2025-26598CVE-2025-26597CVE-2025-26596CVE-2025-26595CVE-2025-26594All 152
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.