CVEfocus › CVE database › CVE-2023-4504

CVE-2023-4504OpenPrinting CUPS/libppd Postscript Parsing Heap Overflow

CVSS 7.0 HighEPSS 0.5% (higher than 39% of CVEs)Published 2023-09-21Updated 2025-11-04Assigner: AHA

Due to failure in validating the length provided by an attacker-crafted PPD PostScript document, CUPS and libppd are susceptible to a heap-based buffer overflow and possibly code execution. This issue has been fixed in CUPS version 2.4.7, released in September of 2023.

CWE-122

What to do

Fixed builds are available from Alpine, Debian, 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

13Fixed
7Fix pending
1Under investigation
27Will 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 22.04cupsFixed2.4.1op1-1ubuntu4.7UBUNTU-CVE-2023-4504
Ubuntu 22.04libppdUnder investigationUBUNTU-CVE-2023-4504
Ubuntu 20.04cupsFixed2.3.1-9ubuntu1.6UBUNTU-CVE-2023-4504
Ubuntu 20.04libppdFix pendingUBUNTU-CVE-2023-4504
Ubuntu 18.04cupsFix pending2.2.7-1ubuntu2.10+esm2 (Ubuntu Pro)UBUNTU-CVE-2023-4504
Ubuntu 18.04libppdFix pendingUBUNTU-CVE-2023-4504
Ubuntu 16.04cupsFix pending2.1.3-4ubuntu0.11+esm4 (Ubuntu Pro)UBUNTU-CVE-2023-4504
Ubuntu 16.04libppdFix pendingUBUNTU-CVE-2023-4504
Ubuntu 14.04cupsFix pending
Ubuntu 14.04libppdFix pending
Debian 14cupsFixed2.4.2-6DEBIAN-CVE-2023-4504
Debian 13cupsFixed2.4.2-6DEBIAN-CVE-2023-4504
Debian 12cupsFixed2.4.2-3+deb12u2DEBIAN-CVE-2023-4504
Red Hat Enterprise Linux 9cupsWill not fix
Will not fix
Red Hat Enterprise Linux 9cups-clientWill not fix
Will not fix
Red Hat Enterprise Linux 9cups-develWill not fix
Will not fix
Red Hat Enterprise Linux 9cups-filesystemWill not fix
Will not fix
Red Hat Enterprise Linux 9cups-ipptoolWill not fix
Will not fix
Red Hat Enterprise Linux 9cups-libsWill not fix
Will not fix
Red Hat Enterprise Linux 9cups-lpdWill not fix
Will not fix
Red Hat Enterprise Linux 9cups-printerappWill not fix
Will not fix
Red Hat Enterprise Linux 8cupsWill not fix
Will not fix
Red Hat Enterprise Linux 8cups-clientWill not fix
Will not fix
Red Hat Enterprise Linux 8cups-develWill not fix
Will not fix
Red Hat Enterprise Linux 8cups-filesystemWill not fix
Will not fix
Red Hat Enterprise Linux 8cups-ipptoolWill not fix
Will not fix
Red Hat Enterprise Linux 8cups-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8cups-lpdWill not fix
Will not fix
Red Hat Enterprise Linux 7cupsWill not fix
Out of support scope
Red Hat Enterprise Linux 7cups-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 7cups-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7cups-filesystemWill not fix
Out of support scope
Red Hat Enterprise Linux 7cups-ipptoolWill not fix
Out of support scope
Red Hat Enterprise Linux 7cups-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7cups-lpdWill not fix
Out of support scope
Red Hat Enterprise Linux 6cupsWill not fix
Out of support scope
Red Hat Enterprise Linux 6cups-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6cups-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6cups-lpdWill not fix
Out of support scope
Red Hat Enterprise Linux 6cups-phpWill not fix
Out of support scope
Alpine Linux 3.24cupsFixed2.4.7-r0ALPINE-CVE-2023-4504
Alpine Linux 3.23cupsFixed2.4.7-r0ALPINE-CVE-2023-4504
Alpine Linux 3.22cupsFixed2.4.7-r0ALPINE-CVE-2023-4504
Alpine Linux 3.21cupsFixed2.4.7-r0ALPINE-CVE-2023-4504
Alpine Linux 3.20cupsFixed2.4.7-r0ALPINE-CVE-2023-4504
Alpine Linux 3.19cupsFixed2.4.7-r0ALPINE-CVE-2023-4504
Alpine Linux 3.18cupsFixed2.4.7-r0ALPINE-CVE-2023-4504
Alpine Linux 3.17cupsFixed2.4.7-r0ALPINE-CVE-2023-4504

What the vendor says

As published in the CVE record by AHA, 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.