CVE-2022-4883 json
A flaw was found in libXpm.
published 2023-02-07 3 y ago modified 2026-07-18 3 mo ago also EUVD-2022-52143 , JLSEC-2026-285
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia Xorg_libXpm_jll 3.5.17+0
- x.org libxpm 3.5.15
- libxpm Debian 14, Debian 13, Debian 12 1:3.5.12-1.1
debian advisories DEBIAN-CVE-2022-4883
- libxpm Ubuntu 18.04 LTS 1:3.5.12-1ubuntu0.18.04.2
- libxpm Ubuntu 20.04 LTS 1:3.5.12-1ubuntu0.20.04.1
- libxpm Ubuntu 22.04 LTS 1:3.5.12-1ubuntu0.22.04.1
- libxpm Ubuntu Pro 16.04 LTS 1:3.5.11-1ubuntu0.16.04.1+esm1
ubuntu advisories UBUNTU-CVE-2022-4883
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libXpm RHEL 9 3.5.13-8.el9_1
- libXpm RHEL 8 3.5.12-9.el8_7
- libXpm RHEL 7 3.5.12-2.el7_9
- libXpm RHEL 9.0 EUS 3.5.13-8.el9_0
- libXpm RHEL 8.2 TUS, RHEL 8.2 E4S, RHEL 8.2 AUS 3.5.12-9.el8_2
- libXpm RHEL 8.6 EUS 3.5.12-9.el8_6
- libXpm RHEL 8.1 E4S 3.5.12-9.el8_1
- libXpm RHEL 8.4 EUS 3.5.12-9.el8_4
red hat advisories RHSA-2023:0381RHSA-2023:0380RHSA-2023:0378RHSA-2023:0383RHSA-2023:0384RHSA-2023:0382
- libXpm SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES for SAP 15 SP1 +18 more 3.5.12-150000.3.7.2
- libXpm SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +5 more 3.5.11-6.7.1
suse advisories SUSE-SU-2023:0171-1SUSE-SU-2023:0165-1
- libXpm AlmaLinux 8 3.5.12-9.el8_7
- libXpm AlmaLinux 9 3.5.13-8.el9_1
almalinux advisories ALSA-2023:0379ALSA-2023:0383
- libXpm Rocky Linux 9 3.5.13-8.el9_1
- libXpm Rocky Linux 8 3.5.12-9.el8_7
rocky linux advisories RLSA-2023:0383RLSA-2023:0379
- libxpm Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 3.5.15-r0
alpine advisories ALPINE-CVE-2022-4883
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-4883 updated cvss 8.1
libXpm: compression commands depend on $PATH
-
Red Hat Enterprise Linux 6 libXpmaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) libXpm 3.5.12-9.el8_7fixed: vendor fix RHSA-2023:0379
-
Red Hat Enterprise Linux AppStream (v. 9) libXpm 3.5.13-8.el9_1fixed: vendor fix RHSA-2023:0383
-
Red Hat Enterprise Linux AppStream AUS (v. 8.2) libXpm 3.5.12-9.el8_2fixed: vendor fix RHSA-2023:0380
-
Red Hat Enterprise Linux AppStream E4S (v. 8.1) libXpm 3.5.12-9.el8_1fixed: vendor fix RHSA-2023:0384
-
Red Hat Enterprise Linux AppStream E4S (v. 8.2) libXpm 3.5.12-9.el8_2fixed: vendor fix RHSA-2023:0380
-
Red Hat Enterprise Linux AppStream EUS (v.8.4) libXpm 3.5.12-9.el8_4fixed: vendor fix RHSA-2023:0382
-
Red Hat Enterprise Linux AppStream EUS (v.8.6) libXpm 3.5.12-9.el8_6fixed: vendor fix RHSA-2023:0378
show 3 moreshow fewer
-
Red Hat Enterprise Linux AppStream EUS (v.9.0) libXpm 3.5.13-8.el9_0fixed: vendor fix RHSA-2023:0381
-
Red Hat Enterprise Linux AppStream TUS (v. 8.2) libXpm 3.5.12-9.el8_2fixed: vendor fix RHSA-2023:0380
-
Red Hat Enterprise Linux Client (v. 7) libXpm 3.5.12-2.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) libXpm-devel 3.5.12-2.el7_9, libXpm-debuginfo 3.5.12-2.el7_9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libXpm-devel 3.5.12-2.el7_9, libXpm-debuginfo 3.5.12-2.el7_9 Red Hat Enterprise Linux Server (v. 7) libXpm 3.5.12-2.el7_9 Red Hat Enterprise Linux Workstation (v. 7) libXpm 3.5.12-2.el7_9fixed: vendor fix RHSA-2023:0377
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 19 mo ago
Exploit prediction
1.20% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | Xorg_libXpm_jll | <3.5.17+0 |
3.5.17+0 |
Affected products
- n/a libXpm
Classification
- Weakness
-
- CWE-426 Untrusted Search Path
References
-
gitlab.freedesktop.org
/xorg/lib/libxpm/-/merge_requests/9
web
-
gitlab.freedesktop.org
/xorg/lib/libxpm/-/commit/515294bb8023a45ff91669
web
-
bugzilla.redhat.com
/show_bug.cgi?id=2160213
issue-tracking, patch, third-party-advisory, web
-
lists.x.org
/archives/xorg-announce/2023-January/003312.html
web
-
lists.debian.org
/debian-lts-announce/2023/06/msg00021.html
mailing-list, web
Sources
- CVE List CVE-2022-4883
- NVD CVE-2022-4883
- OSV JLSEC-2026-285
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.