# CVE-2022-46285: A flaw was found in libXpm.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-02)
- Published: 2023-02-07T00:00:00.000Z
- Modified: 2026-06-17T05:11:25.577Z
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libXpm: 3.5.15
- x.org libxpm: before 3.5.15

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2160092> (issue-tracking, patch, third-party-advisory)
- <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> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2023/10/03/1> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2023/10/03/10> (mailing-list)

## Sources

- CVE List: [CVE-2022-46285](https://www.cve.org/CVERecord?id=CVE-2022-46285), CVE Terms of Use, modified 2025-03-25
- NVD: [CVE-2022-46285](https://nvd.nist.gov/vuln/detail/CVE-2022-46285), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-46285 · Whole record: https://cve.day/CVE-2022-46285.json · Rebuilt by cve.day 2026-11-25T22:58:18.532Z
