CVE-2022-4883: High severity suse libxpm vulnerability

Published Jan 11, 2023
·
Updated

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.

Other sources

By default, on all platforms except MinGW, libXpm will detect if a filename ends in .Z or .gz, and will when reading such a file fork off an uncompress or gunzip command to read from via a pipe, and when writing such a file will fork off a compress or gzip command to write to via a pipe.

In libXpm 3.5.14 or older these are run via execlp(), relying on $PATH to find the commands. If libXpm is called from a program running with raised privileges, such as via setuid, then a malicious user could set $PATH to include programs of their choosing to be run with those privileges.

Red Hat

Affected Software

3 affected componentsFixes available
redhat/libXpm<3.5.15
3.5.15
debian/libxpm
1:3.5.12-1.1+deb11u11:3.5.12-1.1+deb12u11:3.5.17-1
X.Org Libxpm<3.5.15

Event History

Feb 7, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:13 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·03:45 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2022-4883?

CVE-2022-4883 is a vulnerability found in libXpm that allows a malicious user to execute other programs by manipulating the PATH environment variable.

2

What is the severity of CVE-2022-4883?

The severity of CVE-2022-4883 is high with a CVSS score of 8.8.

3

How does CVE-2022-4883 affect the libXpm software?

CVE-2022-4883 affects the libXpm software by allowing a malicious user to execute other programs through manipulated file extensions.

4

What is the remedy for CVE-2022-4883?

The recommended remedy for CVE-2022-4883 is to update libXpm to version 3.5.15 or apply the appropriate patch provided by the vendor.

5

Where can I find more information about CVE-2022-4883?

You can find more information about CVE-2022-4883 in the references provided: [link1], [link2], [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203