CVE-2022-4883 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 thes...
HighCVSS 8.8
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libxpm(Debian:12) | < 1:3.5.12-1.1 | 1:3.5.12-1.1 |
| debian/libxpm(Debian:13) | < 1:3.5.12-1.1 | 1:3.5.12-1.1 |
| debian/libxpm(Debian:14) | < 1:3.5.12-1.1 | 1:3.5.12-1.1 |
| ubuntu/libxpm(Ubuntu:22.04) | < 1:3.5.12-1ubuntu0.22.04.1 | 1:3.5.12-1ubuntu0.22.04.1 |
| ubuntu/motif(Ubuntu:22.04) | All versions | No fix listed |
| x.org libXpm | < 3.5.15 | 3.5.15 |
| ubuntu/motif(Ubuntu:24.04) | All versions | No fix listed |
| alpine/libxpm(Alpine:v3.14) | < 3.5.15-r0 | 3.5.15-r0 |
| alpine/libxpm(Alpine:v3.15) | < 3.5.15-r0 | 3.5.15-r0 |
| alpine/libxpm(Alpine:v3.16) | < 3.5.15-r0 | 3.5.15-r0 |
| alpine/libxpm(Alpine:v3.17) | < 3.5.15-r0 | 3.5.15-r0 |
| alpine/libxpm(Alpine:v3.18) | < 3.5.15-r0 | 3.5.15-r0 |
| alpine/libxpm(Alpine:v3.19) | < 3.5.15-r0 | 3.5.15-r0 |
| alpine/libxpm(Alpine:v3.20) | < 3.5.15-r0 | 3.5.15-r0 |
| alpine/libxpm(Alpine:v3.21) | < 3.5.15-r0 | 3.5.15-r0 |
| alpine/libxpm(Alpine:v3.22) | < 3.5.15-r0 | 3.5.15-r0 |
| alpine/libxpm(Alpine:v3.23) | < 3.5.15-r0 | 3.5.15-r0 |
| alpine/libxpm(Alpine:v3.24) | < 3.5.15-r0 | 3.5.15-r0 |
| ubuntu/motif(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/motif(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2022-4883 vendor-advisory
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- gitlab.freedesktop.org
- lists.x.org
- gitlab.freedesktop.org
- [debian-lts-announce] 20230620 [SECURITY] [DLA 3459-1] libxpm security update mailing-list
- Ubuntu CVE tracker vendor-advisory
- USN-5807-1 vendor-advisory
- USN-5807-2 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory