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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-09-21 · Modified: 2025-11-04
- Aliases: ALPINE-CVE-2023-4504, UBUNTU-CVE-2023-4504, USN-6391-1, USN-6391-2, DEBIAN-CVE-2023-4504, CGA-55j2-hgxx-vxfg, CGA-8wgj-7f4g-7rxm
- Record: https://cvemate.com/vulnerability/CVE-2023-4504 · JSON: https://cvemate.com/vulnerability/CVE-2023-4504/json

## Description

```text
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.
```

## Signals

- CVSS: 7 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.637%, percentile 51.981%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (github, reference)

## Affected

- alpine cups (Alpine Linux): \< 2.4.7-r0
- chainguard cups (Chainguard): \< 2.4.7-r0
- wolfi cups (Wolfi): \< 2.4.7-r0
- debian cups (Debian): \< 2.4.2-3+deb12u2 \| \< 2.4.2-6
- ubuntu cups (Ubuntu): \< 2.1.3-4ubuntu0.11+esm4 \| \< 2.2.7-1ubuntu2.10+esm2 \| \< 2.3.1-9ubuntu1.6 \| \< 2.4.1op1-1ubuntu4.7
- ubuntu libppd (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 10.0
- fedoraproject fedora: 37 \| 38 \| 39
- openprinting cups: \< 2.4.6 \| \< 2.4.7
- openprinting libppd: \< d09348b \| 2.0:rc2

## References

- <https://takeonme.org/cves/CVE-2023-4504.html>
- <https://github.com/OpenPrinting/libppd/security/advisories/GHSA-4f65-6ph5-qwh6>
- <https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h>
- <https://github.com/OpenPrinting/cups/releases/tag/v2.4.7>
- <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>
- <https://security.alpinelinux.org/vuln/CVE-2023-4504>
- <https://ubuntu.com/security/CVE-2023-4504>
- <https://ubuntu.com/security/notices/USN-6391-1>
- <https://ubuntu.com/security/notices/USN-6392-1>
- <https://ubuntu.com/security/notices/USN-6391-2>
- <https://www.cve.org/CVERecord?id=CVE-2023-4504>
- <https://security-tracker.debian.org/tracker/CVE-2023-4504>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4504.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-4504>

---

Data as of 2026-12-05T02:50:05.872Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
