# CVE-2022-46285

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 3.5.15 (CNA); fix release not confirmed
- Status: published
- Published: 2023-02-07 · Modified: 2025-03-25
- Aliases: ALPINE-CVE-2022-46285, UBUNTU-CVE-2022-46285, USN-5807-3, DEBIAN-CVE-2022-46285
- Record: https://cvemate.com/vulnerability/CVE-2022-46285 · JSON: https://cvemate.com/vulnerability/CVE-2022-46285/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.319%, percentile 71.817%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libxpm (Alpine Linux): \< 3.5.15-r0
- debian libxpm (Debian): \< 1:3.5.12-1.1
- ubuntu libxpm (Ubuntu): \< 1:3.5.10-1ubuntu0.1+esm1 \| \< 1:3.5.11-1ubuntu0.16.04.1+esm1 \| \< 1:3.5.12-1ubuntu0.18.04.2 \| \< 1:3.5.12-1ubuntu0.20.04.1 \| \< 1:3.5.12-1ubuntu0.22.04.1
- ubuntu motif (Ubuntu): All versions (No fix recorded)
- x.org libxpm: \< 3.5.15

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2160092>
- <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/9>
- <https://lists.x.org/archives/xorg-announce/2023-January/003312.html>
- <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/a3a7c6dcc3b629d7650148>
- <https://lists.debian.org/debian-lts-announce/2023/06/msg00021.html>
- <http://www.openwall.com/lists/oss-security/2023/10/03/1>
- <http://www.openwall.com/lists/oss-security/2023/10/03/10>
- <https://security.alpinelinux.org/vuln/CVE-2022-46285>
- <https://ubuntu.com/security/CVE-2022-46285>
- <https://ubuntu.com/security/notices/USN-5807-1>
- <https://ubuntu.com/security/notices/USN-5807-2>
- <https://ubuntu.com/security/notices/USN-5807-3>
- <https://www.cve.org/CVERecord?id=CVE-2022-46285>
- <https://security-tracker.debian.org/tracker/CVE-2022-46285>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-46285>

---

Data as of 2026-12-05T04:10:48.581Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
