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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.4 | libXpm | 3.5.12-150000.3.7.2 | SUSE-SU-2023:0171-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | libXpm | 3.5.17-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- ALSA-2023:0383 Important: libXpm security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:0379 Important: libXpm security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2023-2031 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- RHSA-2023:0384 Red Hat Security Advisory: libXpm security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2023:0383 Red Hat Security Advisory: libXpm security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2023:0382 Red Hat Security Advisory: libXpm security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2023:0380 Red Hat Security Advisory: libXpm security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2023:0381 Red Hat Security Advisory: libXpm security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2023:0379 Red Hat Security Advisory: libXpm security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2023:0378 Red Hat Security Advisory: libXpm security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2023:0377 Red Hat Security Advisory: libXpm security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-5807-2 libxpm vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-5807-1 libxpm vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-3459-1 libxpm - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2023:0383 Important: libXpm security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2023:0379 Important: libXpm security update Rocky Linux Security Advisories · Feb 5, 2026
- SUSE-SU-2023:0171-1 Security update for libXpm SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0165-1 Security update for libXpm SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0113 X.Org X11: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 6, 2024
- WID-SEC-2023-0809 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 19, 2024
- ALAS2023-2023-107 Important: libXpm security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 22, 2023
- ALAS2-2023-1962 Important: libXpm security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 22, 2023
- ELSA-2023-0379 Important: libXpm security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jan 24, 2023
- ELSA-2023-0383 Important: libXpm security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jan 24, 2023
- ELSA-2023-0377 Important: libXpm security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jan 23, 2023
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2160213
- https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/9
- https://lists.x.org/archives/xorg-announce/2023-January/003312.html
- https://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/515294bb8023a45ff91669
- [debian-lts-announce] 20230620 [SECURITY] [DLA 3459-1] libxpm security update mailing-list