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

- Severity: High 7.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2023-09-21T22:47:41.879Z
- Modified: 2026-06-17T06:37:58.590Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: AHA

## 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.

(As written by CVE List.)

## Affected

- OpenPrinting CUPS: before 2.4.6; before 2.4.7
- OpenPrinting libppd: before d09348b; 2.0
- fedoraproject fedora: 37; 38; 39
- debian debian_linux: 10.0

## Every score

- CISA-ADP: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://takeonme.org/cves/CVE-2023-4504.html> (exploit, technical-description, third-party-advisory)
- <https://github.com/OpenPrinting/libppd/security/advisories/GHSA-4f65-6ph5-qwh6> (exploit, vendor-advisory)
- <https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h> (exploit, vendor-advisory)
- <https://github.com/OpenPrinting/cups/releases/tag/v2.4.7> (release-notes)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AMYDKIE4PSJDEMC5OWNFCDMHFGLJ57XG/> (mailing-list, release-notes)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WVS4I7JG3LISFPKTM6ADKJXXEPEEWBQ/> (mailing-list, release-notes)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WHEJIYMMAIXU2EC35MGTB5LGGO2FFJE/> (mailing-list, release-notes)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2GSPQAFK2Z6L57TRXEKZDF42K2EVBH7/> (mailing-list, release-notes)
- <https://lists.debian.org/debian-lts-announce/2023/09/msg00041.html> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXPVADB56NMLJWG4IZ3OZBNJ2ZOLPQJ6/> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2024/Sep/33>

## Sources

- CVE List: [CVE-2023-4504](https://www.cve.org/CVERecord?id=CVE-2023-4504), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2023-4504](https://nvd.nist.gov/vuln/detail/CVE-2023-4504), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-4504 · Whole record: https://cve.day/CVE-2023-4504.json · Rebuilt by cve.day 2026-11-25T22:58:28.066Z
