CVE-2022-4883

libXpm: compression commands depend on $PATH

Published Feb 7, 2023 CVSS 3.1 · 8.8 High EPSS 1.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3459-1 libxpm security update
EUVD EUVD EUVD-2022-52143 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.
Ubuntu USN Ubuntu USN USN-5807-1 libXpm vulnerabilities
Ubuntu USN Ubuntu USN USN-5807-2 libXpm vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Mar 20, 2025, 7:45 PM
Reserved
Jan 9, 2023, 12:00 AM
Status
Modified
Published
Feb 7, 2023, 7:15 PM
Modified
Jun 17, 2026, 5:22 AM
Severity
Important
Public date
Jan 17, 2023, 12:00 AM