cve.bz

CVE-2022-4883 x.org libxpm: Untrusted Search Path

8.8 highEPSS 1.2%Fix available

High (8.8) in x.org libxpm. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-03-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-426 Untrusted Search Path
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-4883 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-4883?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-4883?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-4883 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
x.org:libxpmbefore 3.5.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libxpm1:3.5.12-1+deb10u1DLA-3459-1
Debian12, 13, 14libxpm1:3.5.12-1.1DEBIAN-CVE-2022-4883
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 6 moremotifno fix listedUBUNTU-CVE-2022-4883
Ubuntu18.04:LTSlibxpm1:3.5.12-1ubuntu0.18.04.2UBUNTU-CVE-2022-4883 USN-5807-1
Ubuntu20.04:LTSlibxpm1:3.5.12-1ubuntu0.20.04.1UBUNTU-CVE-2022-4883 USN-5807-1
Ubuntu22.04:LTSlibxpm1:3.5.12-1ubuntu0.22.04.1UBUNTU-CVE-2022-4883 USN-5807-1
UbuntuPro:14.04:LTSlibxpmno fix listedUBUNTU-CVE-2022-4883
UbuntuPro:16.04:LTSlibxpm1:3.5.11-1ubuntu0.16.04.1+esm1UBUNTU-CVE-2022-4883 USN-5807-2
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationlibXpm, libXpm-devel, libXpm-debuginfo0:3.5.12-2.el7_9RHSA-2023:0377
Red Hatenterprise_linux:7::computenodelibXpm-devel, libXpm-debuginfo0:3.5.12-2.el7_9RHSA-2023:0377
Red Hatenterprise_linux:8::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.12-9.el8_7RHSA-2023:0379
Red Hatenterprise_linux:9::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.13-8.el9_1RHSA-2023:0383
Red Hatrhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.12-9.el8_2RHSA-2023:0380
Red Hatrhel_e4s:8.1::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.12-9.el8_1RHSA-2023:0384
Red Hatrhel_eus:8.4::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.12-9.el8_4RHSA-2023:0382
Red Hatrhel_eus:8.6::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.12-9.el8_6RHSA-2023:0378
Red Hatrhel_eus:9.0::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.13-8.el9_0RHSA-2023:0381
SUSEEnterprise Storage 6, Enterprise Storage 7, Enterprise Storage 7.1 and 17 morelibXpm3.5.12-150000.3.7.2SUSE-SU-2023:0171-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5 and 5 morelibXpm3.5.11-6.7.1SUSE-SU-2023:0165-1
openSUSELeap 15.4libXpm3.5.12-150000.3.7.2SUSE-SU-2023:0171-1
AlmaLinux8libXpm, libXpm-devel3.5.12-9.el8_7ALSA-2023:0379
AlmaLinux9libXpm, libXpm-devel3.5.13-8.el9_1ALSA-2023:0383
Rocky Linux8libXpm0:3.5.12-9.el8_7RLSA-2023:0379
Rocky Linux9libXpm0:3.5.13-8.el9_1RLSA-2023:0383
Alpinev3.14, v3.15, v3.16 and 8 morelibxpm3.5.15-r0ALPINE-CVE-2022-4883
Azure Linux2libXpm3.5.17-1AZL-13248

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Enterprise Linux 6 is affected but out of support scope because libXpm is not listed in Red Hat Enterprise Linux 6 ELS Inclusion List[1].

[1]. https://access.redhat.com/articles/4997301

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libXpm-0:3.5.12-2.el7_9Fixed 2023-01-23RHSA-2023:0377
Red Hat Enterprise Linux 8libXpm-0:3.5.12-9.el8_7Fixed 2023-01-23RHSA-2023:0379
Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionslibXpm-0:3.5.12-9.el8_1Fixed 2023-01-23RHSA-2023:0384
Red Hat Enterprise Linux 8.2 Advanced Update SupportlibXpm-0:3.5.12-9.el8_2Fixed 2023-01-23RHSA-2023:0380
Red Hat Enterprise Linux 8.2 Telecommunications Update ServicelibXpm-0:3.5.12-9.el8_2Fixed 2023-01-23RHSA-2023:0380
Red Hat Enterprise Linux 8.2 Update Services for SAP SolutionslibXpm-0:3.5.12-9.el8_2Fixed 2023-01-23RHSA-2023:0380
Red Hat Enterprise Linux 8.4 Extended Update SupportlibXpm-0:3.5.12-9.el8_4Fixed 2023-01-23RHSA-2023:0382
Red Hat Enterprise Linux 8.6 Extended Update SupportlibXpm-0:3.5.12-9.el8_6Fixed 2023-01-23RHSA-2023:0378
Red Hat Enterprise Linux 9libXpm-0:3.5.13-8.el9_1Fixed 2023-01-23RHSA-2023:0383
Red Hat Enterprise Linux 9.0 Extended Update SupportlibXpm-0:3.5.13-8.el9_0Fixed 2023-01-23RHSA-2023:0381
Red Hat Enterprise Linux 6libXpmOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-4883.

Attack patterns (CAPEC)

  • CAPEC-38 Leveraging/Manipulating Configuration File Search Paths Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON