Vulnerability · Published Oct 10, 2023 · Assigned by redhat
CVE-2023-43788Libxpm: out of bounds read in xpmcreatexpmimagefrombuffer()
Medium 5.5
In plain English
A medium-severity out-of-bounds read in libXpm. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.4%top 67.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
A vulnerability was found in libXpm due to a boundary condition within the XpmCreateXpmImageFromBuffer() function. This flaw allows a local attacker to trigger an out-of-bounds read error and read the contents of memory on the system.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libXpm | 3.5.12-11.el8 | ALSA-2024:2974 |
| AlmaLinux:9 | libXpm | 3.5.13-10.el9 | ALSA-2024:2146 |
| AlmaLinux:8 | libXpm-devel | 3.5.12-11.el8 | ALSA-2024:2974 |
| AlmaLinux:9 | libXpm-devel | 3.5.13-10.el9 | ALSA-2024:2146 |
| AlmaLinux:8 | motif | 2.3.4-20.el8 | ALSA-2024:3022 |
| AlmaLinux:9 | motif | 2.3.4-28.el9 | ALSA-2024:2217 |
| AlmaLinux:8 | motif-devel | 2.3.4-20.el8 | ALSA-2024:3022 |
| AlmaLinux:9 | motif-devel | 2.3.4-28.el9 | ALSA-2024:2217 |
| AlmaLinux:8 | motif-static | 2.3.4-20.el8 | ALSA-2024:3022 |
| Alpine:v3.20 | libxpm | 3.5.17-r0 | ALPINE-CVE-2023-43788 |
| Alpine:v3.21 | libxpm | 3.5.17-r0 | ALPINE-CVE-2023-43788 |
| Alpine:v3.22 | libxpm | 3.5.17-r0 | ALPINE-CVE-2023-43788 |
| Alpine:v3.23 | libxpm | 3.5.17-r0 | ALPINE-CVE-2023-43788 |
| Alpine:v3.24 | libxpm | 3.5.17-r0 | ALPINE-CVE-2023-43788 |
| Debian:12 | libxpm | 1:3.5.12-1.1+deb12u1 | DSA-5516-1 |
| Debian:12 | libxpm | 1:3.5.12-1.1+deb12u1 | DEBIAN-CVE-2023-43788 |
| Debian:13 | libxpm | 1:3.5.17-1 | DEBIAN-CVE-2023-43788 |
| Debian:14 | libxpm | 1:3.5.17-1 | DEBIAN-CVE-2023-43788 |
| Rocky Linux:8 | libXpm | 0:3.5.12-11.el8 | RLSA-2024:2974 |
| Rocky Linux:9 | libXpm | 0:3.5.13-10.el9 | RLSA-2024:2146 |
| Rocky Linux:8 | motif | 0:2.3.4-20.el8 | RLSA-2024:3022 |
| Rocky Linux:9 | motif | 0:2.3.4-28.el9 | RLSA-2024:2217 |
| Ubuntu:22.04:LTS | libxpm | 1:3.5.12-1ubuntu0.22.04.2 | USN-6408-1 |
| Ubuntu:22.04:LTS | libxpm | 1:3.5.12-1ubuntu0.22.04.2 | UBUNTU-CVE-2023-43788 |
| Ubuntu:24.04:LTS | libxpm | 1:3.5.12-1.1ubuntu1 | UBUNTU-CVE-2023-43788 |
| Ubuntu:22.04:LTS | motif | no fix listed | UBUNTU-CVE-2023-43788 |
| Ubuntu:24.04:LTS | motif | no fix listed | UBUNTU-CVE-2023-43788 |
| Ubuntu:25.10 | motif | no fix listed | UBUNTU-CVE-2023-43788 |
| Ubuntu:26.04:LTS | motif | no fix listed | UBUNTU-CVE-2023-43788 |
| Ubuntu:26.10 | motif | no fix listed | UBUNTU-CVE-2023-43788 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| libXpm | 0 – before 3.5.17 | |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
References
- RHSA-2024:2146 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2217 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2974 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3022 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-43788 vdb-entry, x_refsource_REDHAT
- RHBZ#2242248 issue-tracking, x_refsource_REDHAT
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/63IBRFLQVZSMOAZBZOBKFWJP26ILRAGQ/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3KFUQT42R7TB4D7RISNSBQFJGLTQGUL/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFAJTBNO3PAIA6EGZR4PN62H6RLKNDTE/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V6FARGWN7VWXXWPXYNEEDJLRR3EWFZ3T/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZECBCLDYUGLDSVV75ECPIBW7JXOB3747/ x_transferred
- https://lists.debian.org/debian-lts-announce/2023/10/msg00005.html