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

EcosystemPackageFixed inAdvisory
AlmaLinux:8libXpm3.5.12-9.el8_7ALSA-2023:0379
AlmaLinux:9libXpm3.5.13-8.el9_1ALSA-2023:0383
AlmaLinux:8libXpm-devel3.5.12-9.el8_7ALSA-2023:0379
AlmaLinux:9libXpm-devel3.5.13-8.el9_1ALSA-2023:0383
Alpine:v3.20libxpm3.5.15-r0ALPINE-CVE-2022-4883
Alpine:v3.21libxpm3.5.15-r0ALPINE-CVE-2022-4883
Alpine:v3.22libxpm3.5.15-r0ALPINE-CVE-2022-4883
Alpine:v3.23libxpm3.5.15-r0ALPINE-CVE-2022-4883
Alpine:v3.24libxpm3.5.15-r0ALPINE-CVE-2022-4883
Debian:12libxpm1:3.5.12-1.1DEBIAN-CVE-2022-4883
Debian:13libxpm1:3.5.12-1.1DEBIAN-CVE-2022-4883
Debian:14libxpm1:3.5.12-1.1DEBIAN-CVE-2022-4883
Rocky Linux:8libXpm0:3.5.12-9.el8_7RLSA-2023:0379
Rocky Linux:9libXpm0:3.5.13-8.el9_1RLSA-2023:0383
Ubuntu:22.04:LTSlibxpm1:3.5.12-1ubuntu0.22.04.1USN-5807-1
Ubuntu:22.04:LTSlibxpm1:3.5.12-1ubuntu0.22.04.1UBUNTU-CVE-2022-4883
Ubuntu:22.04:LTSmotifno fix listedUBUNTU-CVE-2022-4883
Ubuntu:24.04:LTSmotifno fix listedUBUNTU-CVE-2022-4883
Ubuntu:25.10motifno fix listedUBUNTU-CVE-2022-4883
Ubuntu:26.04:LTSmotifno fix listedUBUNTU-CVE-2022-4883
Ubuntu:26.10motifno fix listedUBUNTU-CVE-2022-4883

Affected products (as reported)

VendorProductVersions
n/a libXpm 3.5.15

Weakness: CWE-426 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References