CVEfocus › CVE database › CVE-2023-43788

CVE-2023-43788Libxpm: out of bounds read in xpmcreatexpmimagefrombuffer()

CVSS 5.5 MediumEPSS 0.4% (higher than 23% of CVEs)Published 2023-10-10Updated 2026-11-07Assigner: redhat

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.

CWE-125

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

34Fixed
3Fix pending
3Under investigation
13Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10motifFix pendingUBUNTU-CVE-2023-43788
Ubuntu 26.04motifUnder investigationUBUNTU-CVE-2023-43788
Ubuntu 25.10motifWill not fix
motif contains a vendored copy of libxpm under lib/Xm/ with files prefixed by Xpm eg. the file src/parse.c in libxpm is lib/Xm/Xpmparse.c
UBUNTU-CVE-2023-43788
Ubuntu 24.04libxpmFixed1:3.5.12-1.1ubuntu1UBUNTU-CVE-2023-43788
Ubuntu 24.04motifUnder investigationUBUNTU-CVE-2023-43788
Ubuntu 22.04libxpmFixed1:3.5.12-1ubuntu0.22.04.2UBUNTU-CVE-2023-43788
Ubuntu 22.04motifUnder investigationUBUNTU-CVE-2023-43788
Ubuntu 20.04libxpmFixed1:3.5.12-1ubuntu0.20.04.2UBUNTU-CVE-2023-43788
Ubuntu 20.04motifWill not fix
motif contains a vendored copy of libxpm under lib/Xm/ with files prefixed by Xpm eg. the file src/parse.c in libxpm is lib/Xm/Xpmparse.c
UBUNTU-CVE-2023-43788
Ubuntu 18.04libxpmFix pending1:3.5.12-1ubuntu0.18.04.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-43788
Ubuntu 18.04motifWill not fix
motif contains a vendored copy of libxpm under lib/Xm/ with files prefixed by Xpm eg. the file src/parse.c in libxpm is lib/Xm/Xpmparse.c
UBUNTU-CVE-2023-43788
Ubuntu 16.04libxpmWill not fix
motif contains a vendored copy of libxpm under lib/Xm/ with files prefixed by Xpm eg. the file src/parse.c in libxpm is lib/Xm/Xpmparse.c
1:3.5.11-1ubuntu0.16.04.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2023-43788
Ubuntu 16.04motifWill not fix
motif contains a vendored copy of libxpm under lib/Xm/ with files prefixed by Xpm eg. the file src/parse.c in libxpm is lib/Xm/Xpmparse.c
UBUNTU-CVE-2023-43788
Ubuntu 14.04libxpmFix pending1:3.5.10-1ubuntu0.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2023-43788
Ubuntu 14.04motifWill not fix
motif contains a vendored copy of libxpm under lib/Xm/ with files prefixed by Xpm eg. the file src/parse.c in libxpm is lib/Xm/Xpmparse.c
UBUNTU-CVE-2023-43788
Debian 14libxpmFixed1:3.5.17-1DEBIAN-CVE-2023-43788
Debian 13libxpmFixed1:3.5.17-1DEBIAN-CVE-2023-43788
Debian 12libxpmFixed1:3.5.12-1.1+deb12u1DEBIAN-CVE-2023-43788
Red Hat Enterprise Linux 9libXpmFixed0:3.5.13-10.el9RHSA-2024:2146
Red Hat Enterprise Linux 9libXpm-develFixed0:3.5.13-10.el9RHSA-2024:2146
Red Hat Enterprise Linux 9motifFixed0:2.3.4-28.el9RHSA-2024:2217
Red Hat Enterprise Linux 9motif-develFixed0:2.3.4-28.el9RHSA-2024:2217
Red Hat Enterprise Linux 8libXpmFixed0:3.5.12-11.el8RHSA-2024:2974
Red Hat Enterprise Linux 8libXpm-develFixed0:3.5.12-11.el8RHSA-2024:2974
Red Hat Enterprise Linux 8motifFixed0:2.3.4-20.el8RHSA-2024:3022
Red Hat Enterprise Linux 8motif-develFixed0:2.3.4-20.el8RHSA-2024:3022
Red Hat Enterprise Linux 8motif-staticFixed0:2.3.4-20.el8RHSA-2024:3022
Red Hat Enterprise Linux 7libXpmWill not fix
Out of support scope
Red Hat Enterprise Linux 7libXpm-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7motifWill not fix
Out of support scope
Red Hat Enterprise Linux 7motif-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7motif-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 6libXpmWill not fix
Out of support scope
Red Hat Enterprise Linux 6libXpm-develWill not fix
Out of support scope
AlmaLinux 9libXpmFixed3.5.13-10.el9ALSA-2024:2146
AlmaLinux 9libXpm-develFixed3.5.13-10.el9ALSA-2024:2146
AlmaLinux 9motifFixed2.3.4-28.el9ALSA-2024:2217
AlmaLinux 9motif-develFixed2.3.4-28.el9ALSA-2024:2217
AlmaLinux 8libXpmFixed3.5.12-11.el8ALSA-2024:2974
AlmaLinux 8libXpm-develFixed3.5.12-11.el8ALSA-2024:2974
AlmaLinux 8motifFixed2.3.4-20.el8ALSA-2024:3022
AlmaLinux 8motif-develFixed2.3.4-20.el8ALSA-2024:3022
AlmaLinux 8motif-staticFixed2.3.4-20.el8ALSA-2024:3022
Rocky Linux 9libXpmFixed0:3.5.13-10.el9RLSA-2024:2146
Rocky Linux 9motifFixed0:2.3.4-28.el9RLSA-2024:2217
Rocky Linux 8libXpmFixed0:3.5.12-11.el8RLSA-2024:2974
Rocky Linux 8motifFixed0:2.3.4-20.el8RLSA-2024:3022
Alpine Linux 3.24libxpmFixed3.5.17-r0ALPINE-CVE-2023-43788
Alpine Linux 3.23libxpmFixed3.5.17-r0ALPINE-CVE-2023-43788
Alpine Linux 3.22libxpmFixed3.5.17-r0ALPINE-CVE-2023-43788
Alpine Linux 3.21libxpmFixed3.5.17-r0ALPINE-CVE-2023-43788
Alpine Linux 3.20libxpmFixed3.5.17-r0ALPINE-CVE-2023-43788
Alpine Linux 3.19libxpmFixed3.5.17-r0ALPINE-CVE-2023-43788

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.