CVE-2023-4504
OpenPrinting CUPS/libppd Postscript Parsing Heap Overflow
- State
- Published
- Severity
- 7.0 High
- Published
- Sep 21, 2023
- Updated
- Nov 4, 2025
- Reserved
- Aug 23, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.0 High | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-122 Heap-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
CUPSOpenPrinting |
|
libppdOpenPrinting |
|
References
- https://takeonme.org/cves/CVE-2023-4504.htmltechnical-descriptionthird-party-advisory
- https://github.com/OpenPrinting/libppd/security/advisories/GHSA-4f65-6ph5-qwh6vendor-advisory
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678hvendor-advisory
- https://github.com/OpenPrinting/cups/releases/tag/v2.4.7release-notes
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AMYDKIE4PSJDEMC5OWNFCDMHFGLJ57XG/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WVS4I7JG3LISFPKTM6ADKJXXEPEEWBQ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WHEJIYMMAIXU2EC35MGTB5LGGO2FFJE/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2GSPQAFK2Z6L57TRXEKZDF42K2EVBH7/
- https://lists.debian.org/debian-lts-announce/2023/09/msg00041.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXPVADB56NMLJWG4IZ3OZBNJ2ZOLPQJ6/
- http://seclists.org/fulldisclosure/2024/Sep/33
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.