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

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.23%, higher than 69% of CVEs (2026-12-01)
- Published: 2023-02-07T00:00:00.000Z
- Modified: 2026-06-17T05:22:06.550Z
- Weaknesses: CWE-426
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

A flaw was found in libXpm. When processing files with .Z or .gz extensions, the library calls external programs to compress and uncompress files, relying on the PATH environment variable to find these programs, which could allow a malicious user to execute other programs by manipulating the PATH environment variable.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2160213> (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/515294bb8023a45ff91669>
- <https://lists.debian.org/debian-lts-announce/2023/06/msg00021.html> (mailing-list)

## Sources

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

---

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