Vulnerability · Published Feb 7, 2023 · Assigned by redhat
CVE-2022-4883
High 8.8
In plain English
A high-severity security flaw in libXpm. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.2%top 31.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libXpm | 3.5.12-9.el8_7 | ALSA-2023:0379 |
| AlmaLinux:9 | libXpm | 3.5.13-8.el9_1 | ALSA-2023:0383 |
| AlmaLinux:8 | libXpm-devel | 3.5.12-9.el8_7 | ALSA-2023:0379 |
| AlmaLinux:9 | libXpm-devel | 3.5.13-8.el9_1 | ALSA-2023:0383 |
| Alpine:v3.20 | libxpm | 3.5.15-r0 | ALPINE-CVE-2022-4883 |
| Alpine:v3.21 | libxpm | 3.5.15-r0 | ALPINE-CVE-2022-4883 |
| Alpine:v3.22 | libxpm | 3.5.15-r0 | ALPINE-CVE-2022-4883 |
| Alpine:v3.23 | libxpm | 3.5.15-r0 | ALPINE-CVE-2022-4883 |
| Alpine:v3.24 | libxpm | 3.5.15-r0 | ALPINE-CVE-2022-4883 |
| Debian:12 | libxpm | 1:3.5.12-1.1 | DEBIAN-CVE-2022-4883 |
| Debian:13 | libxpm | 1:3.5.12-1.1 | DEBIAN-CVE-2022-4883 |
| Debian:14 | libxpm | 1:3.5.12-1.1 | DEBIAN-CVE-2022-4883 |
| Rocky Linux:8 | libXpm | 0:3.5.12-9.el8_7 | RLSA-2023:0379 |
| Rocky Linux:9 | libXpm | 0:3.5.13-8.el9_1 | RLSA-2023:0383 |
| Ubuntu:22.04:LTS | libxpm | 1:3.5.12-1ubuntu0.22.04.1 | USN-5807-1 |
| Ubuntu:22.04:LTS | libxpm | 1:3.5.12-1ubuntu0.22.04.1 | UBUNTU-CVE-2022-4883 |
| Ubuntu:22.04:LTS | motif | no fix listed | UBUNTU-CVE-2022-4883 |
| Ubuntu:24.04:LTS | motif | no fix listed | UBUNTU-CVE-2022-4883 |
| Ubuntu:25.10 | motif | no fix listed | UBUNTU-CVE-2022-4883 |
| Ubuntu:26.04:LTS | motif | no fix listed | UBUNTU-CVE-2022-4883 |
| Ubuntu:26.10 | motif | no fix listed | UBUNTU-CVE-2022-4883 |
Affected products (as reported)
Weakness: CWE-426 · Vector: 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
- 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
- [debian-lts-announce] 20230620 [SECURITY] [DLA 3459-1] libxpm security update mailing-list