What’s Vulnerable › Vulnerabilities
CVE-2022-46285
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-07 · updated 2026-06-17
- Weakness: CWE-835
Description
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: before 3.5.15 — fixed in 3.5.15
How to fix
Upgrade to a fixed version: libXpm 3.5.15. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2023/10/03/1
- http://www.openwall.com/lists/oss-security/2023/10/03/10
- https://bugzilla.redhat.com/show_bug.cgi?id=2160092
- https://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/a3a7c6dcc3b629d7650148
- https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/9
- https://lists.debian.org/debian-lts-announce/2023/06/msg00021.html
- https://lists.x.org/archives/xorg-announce/2023-January/003312.html
- http://www.openwall.com/lists/oss-security/2023/10/03/1
- http://www.openwall.com/lists/oss-security/2023/10/03/10
- https://bugzilla.redhat.com/show_bug.cgi?id=2160092
- https://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/a3a7c6dcc3b629d7650148
- https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/9
Get alerted when CVE-2022-46285 or the next vulnerability affects your stack