CVE-2023-4504
A public proof of concept exists; no exploitation attested.
- Published2023-09-21
- WeaknessCWE-122 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2023-09-2123:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 37.x | = 37 | no fix published | NVD |
| 38.x | = 38 | no fix published | NVD |
| 39.x | = 39 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.4 | < 2.4.7 | 2.4.7 | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As AHA, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- OpenPrinting CUPSother versions: not affectedAffected
- < 2.4.6fixed in 2.4.6semver
- OpenPrinting libppdother versions: not affectedAffected
- < d09348bfixed in d09348bgit
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-10-07
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- cupsWolfiall versions · fixed in 2.4.7-r0
- cupsUbuntu:Pro:18.04:LTSall versions · fixed in 2.2.7-1ubuntu2.10+esm2
- cupsUbuntu:Pro:16.04:LTSall versions · fixed in 2.1.3-4ubuntu0.11+esm4
- cupsUbuntu:22.04:LTSall versions · fixed in 2.4.1op1-1ubuntu4.7
- cupsUbuntu:20.04:LTSall versions · fixed in 2.3.1-9ubuntu1.6
- cupsTuxCare:Ubuntu:18.04all versions · fixed in 2.2.7-1ubuntu2.10+tuxcare.els2and 15 other packages
- cupsTuxCare:Ubuntu:16.04all versions · fixed in 2.1.3-4ubuntu0.11+tuxcare.els4and 18 other packages
- cupsTuxCare:OracleLinux:6all versions · fixed in 1:1.4.2-81.el6_10.tuxcare.els1and 4 other packages
70 more package ranges on OSV.dev
Vendor advisories
libppd: Postscript Parsing Heap Overflow
cups as a component of Red Hat Enterprise Linux 6 · cups-devel as a component of Red Hat Enterprise Linux 6 · cups-libs as a component of Red Hat Enterprise Linux 6 · +28 more
Fix
- Workaround from the vendor Red Hat Product Security CVE-2023-4504 · 31 productsFor a successful attack, the victim had to install a PPD file (driver) that contains the crafted PS sequence, which triggers the issue. It is not recommended to install drivers from unreliable sources.
- No fix planned, says the vendor Red Hat Product Security CVE-2023-4504 · 14 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2023-4504 · 17 productsWill not fix
Advisories and patches
- github.comRelease Notes
- github.comVendor Advisory
- github.comVendor Advisory
- lists.fedoraproject.orgRelease Notes
- lists.fedoraproject.orgRelease Notes
- lists.fedoraproject.orgRelease Notes
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-04-23
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01djjohnson565/CUPS-Exploit
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-04-23
- CISA-ADPCVSS 3.172025-04-23
- NVDCVSS 3.17read 2026-10-23
- CNAweakness (CWE)CWE-122known since 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score0.6 %2026-11-16
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
Identifiers
- AZL-37075same flawAzure Linux · MIT
- AZL-37100same flawAzure Linux · MIT
- CGA-55j2-hgxx-vxfgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8wgj-7f4g-7rxmsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2023-54359same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- DLA-3594-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2023-0284advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2023-1703advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1704advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1705advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1734advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1752advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:13250-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2023:3706-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:3707-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:3707-2advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20090-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-6391-1advisory covering several CVEsUbuntu
- USN-6391-2advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2023-09-21
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2023-4504?
Is CVE-2023-4504 actively exploited?
What is the CVSS score for CVE-2023-4504?
Running libppd? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2024-47175same product
- CVE-2024-35235same product
- CVE-2026-34980same productOpenPrinting CUPS: Shared PostScript queue lets anonymous Print-Job requests reach `lp` code execution over the network
- CVE-2023-32324same product
- CVE-2023-34241same product
- CVE-2025-58364same product
- CVE-2020-10001same product
- CVE-2025-58060same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0