Skip to content
OpenAdvisories
High · 8.8 CVE-2022-4883 EUVD-2022-52143GHSA-75px-q76w-83rc

A flaw was found in libXpm. When processing files with .Z or .gz extensions, the library calls external programs to compress and uncompress…

Published Feb 7, 2023 · Updated Mar 20, 2025 · Assigned by redhat

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 products

VendorProductAffectedFixed
— libXpm 3.5.15 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxpm 1:3.5.12-1.1 —
Debian 13 libxpm 1:3.5.12-1.1 —
Debian 12 libxpm 1:3.5.12-1.1 —
Debian 10 libxpm 1:3.5.12-1+deb10u1 DLA-3459-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 motif No fix yet —
Ubuntu 26.04 LTS motif No fix yet —
Ubuntu 25.10 motif No fix yet —
Ubuntu 24.04 LTS motif No fix yet —
Ubuntu 22.04 LTS libxpm 1:3.5.12-1ubuntu0.22.04.1 USN-5807-1
Ubuntu 22.04 LTS motif No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libxpm 1:3.5.12-1ubuntu0.20.04.1 USN-5807-1
Ubuntu 20.04 LTS motif No fix yet —
Ubuntu 18.04 LTS libxpm 1:3.5.12-1ubuntu0.18.04.2 USN-5807-1
Ubuntu 18.04 LTS motif No fix yet —
Ubuntu 16.04 LTS motif No fix yet —
Ubuntu 14.04 LTS motif No fix yet —
Ubuntu Pro 16.04 LTS libxpm 1:3.5.11-1ubuntu0.16.04.1+esm1 USN-5807-2
Ubuntu Pro 14.04 LTS libxpm No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 libXpm +1 3.5.13-8.el9_1 RHSA-2023:0383
RHEL 8 libXpm +1 3.5.12-9.el8_7 RHSA-2023:0379
RHEL 7 libXpm +1 3.5.12-2.el7_9 RHSA-2023:0377
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.0 EUS libXpm +1 3.5.13-8.el9_0 RHSA-2023:0381
RHEL 8.6 EUS libXpm +1 3.5.12-9.el8_6 RHSA-2023:0378
RHEL 8.4 EUS libXpm +1 3.5.12-9.el8_4 RHSA-2023:0382
RHEL 8.2 TUS libXpm +1 3.5.12-9.el8_2 RHSA-2023:0380
RHEL 8.2 E4S libXpm +1 3.5.12-9.el8_2 RHSA-2023:0380
RHEL 8.2 AUS libXpm +1 3.5.12-9.el8_2 RHSA-2023:0380
RHEL 8.1 E4S libXpm +1 3.5.12-9.el8_1 RHSA-2023:0384

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libXpm +1 3.5.13-8.el9_1 ALSA-2023:0383
AlmaLinux 8 libXpm +1 3.5.12-9.el8_7 ALSA-2023:0379

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libXpm 3.5.13-8.el9_1 RLSA-2023:0383
Rocky Linux 8 libXpm 3.5.12-9.el8_7 RLSA-2023:0379
ReleasePackageFixed inAdvisory
SLES 15 SP4 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SLES 15 SP3 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SLES 15 SP2 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SLES 15 SP1 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SLES 12 SP5 libXpm 3.5.11-6.7.1 SUSE-SU-2023:0165-1
Show 19 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 libXpm 3.5.11-6.7.1 SUSE-SU-2023:0165-1
SLES 12 SP2 libXpm 3.5.11-6.7.1 SUSE-SU-2023:0165-1
SLES for SAP 15 SP3 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SLES for SAP 15 SP2 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SLES for SAP 15 SP1 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SLES for SAP 12 SP5 libXpm 3.5.11-6.7.1 SUSE-SU-2023:0165-1
SLES for SAP 12 SP4 libXpm 3.5.11-6.7.1 SUSE-SU-2023:0165-1
SLE Real Time 15 SP3 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SLE HPC 15 SP3 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SLE HPC 15 SP2 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SLE HPC 15 SP1 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SUSE OpenStack Cloud Crowbar 9 libXpm 3.5.11-6.7.1 SUSE-SU-2023:0165-1
SUSE OpenStack Cloud 9 libXpm 3.5.11-6.7.1 SUSE-SU-2023:0165-1
SUSE Manager Server 4.2 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SUSE Manager Retail Branch Server 4.2 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SUSE Manager Proxy 4.2 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SUSE Enterprise Storage 7.1 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SUSE Enterprise Storage 7 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
SUSE Enterprise Storage 6 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 libXpm 3.5.12-150000.3.7.2 SUSE-SU-2023:0171-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libxpm 3.5.15-r0 —
Alpine v3.23 libxpm 3.5.15-r0 —
Alpine v3.22 libxpm 3.5.15-r0 —
Alpine v3.21 libxpm 3.5.15-r0 —
Alpine v3.20 libxpm 3.5.15-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libxpm 3.5.15-r0 —
Alpine v3.18 libxpm 3.5.15-r0 —
Alpine v3.17 libxpm 3.5.15-r0 —
Alpine v3.16 libxpm 3.5.15-r0 —
Alpine v3.15 libxpm 3.5.15-r0 —
Alpine v3.14 libxpm 3.5.15-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libXpm +1 3.5.15-2.amzn2023.0.1 ALAS2023-2023-107
Amazon Linux 2 libXpm +1 3.5.12-9.amzn2.0.1 ALAS2-2023-1962

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) libXpm 3.5.17-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libXpm +1 3.5.13-8.el9_1 ELSA-2023-0383
Oracle Linux 8 libXpm +1 3.5.12-9.el8_7 ELSA-2023-0379
Oracle Linux 7 libXpm +1 3.5.12-2.el7_9 ELSA-2023-0377

Advisories 25

References