Heap over-read via unterminated PostScript escape
Published Sep 21, 2023 · Updated Nov 4, 2025
Heap-based buffer over-read in OpenPrinting CUPS and libppd allows attackers to access adjacent heap memory via a malformed PPD file. The scan_ps and ppd_scan_ps routines advance past a terminal backslash without checking for the string terminator, causing a one-byte read beyond the heap allocation. Reachability requires local processing of the crafted PPD; published testing did not produce a crash, so code execution remains undemonstrated.
Summary
What happened
Heap-based buffer over-read in OpenPrinting CUPS and libppd allows attackers to access adjacent heap memory via a malformed PPD file. The scan_ps and ppd_scan_ps routines advance past a terminal backslash without checking for the string terminator, causing a one-byte read beyond the heap allocation. Reachability requires local processing of the crafted PPD; published testing did not produce a crash, so code execution remains undemonstrated.
The record
- CVE
- CVE-2023-4504
- Published
- Sep 21, 2023
- Updated
- Nov 4, 2025
- Vendor
- OpenPrinting
- Product
- libppd
- Classifications
- CWE-122, T1203
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Sep 21, 2023CVE publishedPublication date reported by the CVE source.
- Nov 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <d09348b
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Malformed PPD PostScript triggerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo