
CVE catalog
CVE-2023-4504
cups: CVE-2023-4504
- Severity
- High · CVSS 8.8
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.64% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cups | sid | 2.4.20-1 | fixed |
| Debian | cups | forky | 2.4.18-1 | fixed |
| Debian | cups | trixie | 2.4.10-3+deb13u2 | fixed |
| Debian | cups | trixie-security | 2.4.10-3+deb13u1 | fixed |
| Debian | cups | bookworm | 2.4.2-3+deb12u9 | fixed |
| Debian | cups | bookworm-security | 2.4.2-3+deb12u9 | fixed |
| Debian | libppd | bookworm | 2:0.10-9 | not affected |
| Alpine | cups | 3.17 | 2.4.7-r0 | fixed |
| Alpine | cups | 3.18 | 2.4.7-r0 | fixed |
| Alpine | cups | 3.19 | 2.4.7-r0 | fixed |
| Alpine | cups | 3.20 | 2.4.7-r0 | fixed |
| Alpine | cups | 3.21 | 2.4.7-r0 | fixed |
| Alpine | cups | 3.22 | 2.4.7-r0 | fixed |
| Alpine | cups | 3.23 | 2.4.7-r0 | fixed |
| Alpine | cups | 3.24 | 2.4.7-r0 | fixed |
| Ubuntu | cups | pro | 2.2.4-7ubuntu2 | vulnerable |
| Ubuntu | cups | pro | 2.2.5-2 | vulnerable |
| Ubuntu | cups | pro | 2.2.6-2 | vulnerable |
| Ubuntu | cups | pro | 2.2.6-3 | vulnerable |
| Ubuntu | cups | pro | 2.2.6-4 | vulnerable |
| Ubuntu | cups | pro | 2.2.6-5 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu1 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.1 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.2 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.3 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.4 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.5 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.6 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.7 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.8 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.9 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.10 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.10+esm1 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.10+esm2 | fixed |
| Ubuntu | cups | 20.04 | 2.2.12-2ubuntu1 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.0-6 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.0-7 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.0-7ubuntu1 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-1ubuntu1 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-2 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-4 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-7 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1.1 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1.2 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1.3 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1.4 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1.5 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1.6 | fixed |
| Ubuntu | cups | 22.04 | 2.3.3op2-7ubuntu2 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu1 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu2 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu3 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu4 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu4.1 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu4.2 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu4.4 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu4.6 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu4.7 | fixed |
| Ubuntu | cups | pro | 2.2.4-7ubuntu2 | vulnerable |
| Ubuntu | cups | pro | 2.2.5-2 | vulnerable |
| Ubuntu | cups | pro | 2.2.6-2 | vulnerable |
| Ubuntu | cups | pro | 2.2.6-3 | vulnerable |
| Ubuntu | cups | pro | 2.2.6-4 | vulnerable |
| Ubuntu | cups | pro | 2.2.6-5 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu1 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.1 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.2 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.3 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.4 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.5 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.6 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.7 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.8 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.9 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.10 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.10+esm1 | vulnerable |
| Ubuntu | cups | pro | 2.2.7-1ubuntu2.10+esm2 | fixed |
| Ubuntu | libppd | 16.04 | 2:0.10-7.2 | vulnerable |
| Ubuntu | libppd | 18.04 | 2:0.10-7.3 | vulnerable |
| Ubuntu | cups | 20.04 | 2.2.12-2ubuntu1 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.0-6 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.0-7 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.0-7ubuntu1 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-1ubuntu1 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-2 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-4 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-7 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1.1 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1.2 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1.3 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1.4 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1.5 | vulnerable |
| Ubuntu | cups | 20.04 | 2.3.1-9ubuntu1.6 | fixed |
| Ubuntu | libppd | 20.04 | 2:0.10-7.3 | vulnerable |
| Ubuntu | cups | 22.04 | 2.3.3op2-7ubuntu2 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu1 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu2 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu3 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu4 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu4.1 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu4.2 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu4.4 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu4.6 | vulnerable |
| Ubuntu | cups | 22.04 | 2.4.1op1-1ubuntu4.7 | fixed |
| Ubuntu | libppd | 22.04 | 2:0.10-7.3 | vulnerable |
| Ubuntu | libppd | 22.04 | 2:0.10-8 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cups | source | sid | 2.4.2-6 | not yet assigned | Not reported | Not reported |
| Debian | cups | source | forky | 2.4.2-6 | not yet assigned | Not reported | Not reported |
| Debian | cups | source | trixie | 2.4.2-6 | not yet assigned | Not reported | Not reported |
| Debian | cups | source | bookworm | 2.4.2-3+deb12u2 | not yet assigned | Not reported | Not reported |
| Debian | libppd | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Alpine | cups | apk | 3.17 | 2.4.7-r0 | Not reported | ALPINE-CVE-2023-4504 | Not reported |
| Alpine | cups | apk | 3.18 | 2.4.7-r0 | Not reported | ALPINE-CVE-2023-4504 | Not reported |
| Alpine | cups | apk | 3.19 | 2.4.7-r0 | Not reported | ALPINE-CVE-2023-4504 | Not reported |
| Alpine | cups | apk | 3.20 | 2.4.7-r0 | Not reported | ALPINE-CVE-2023-4504 | Not reported |
| Alpine | cups | apk | 3.21 | 2.4.7-r0 | Not reported | ALPINE-CVE-2023-4504 | Not reported |
| Alpine | cups | apk | 3.22 | 2.4.7-r0 | Not reported | ALPINE-CVE-2023-4504 | Not reported |
| Alpine | cups | apk | 3.23 | 2.4.7-r0 | Not reported | ALPINE-CVE-2023-4504 | Not reported |
| Alpine | cups | apk | 3.24 | 2.4.7-r0 | Not reported | ALPINE-CVE-2023-4504 | Not reported |
| Ubuntu | cups | deb | pro | 2.2.7-1ubuntu2.10+esm2 | Not reported | USN-6391-2 | Not reported |
| Ubuntu | cups | deb | 20.04 | 2.3.1-9ubuntu1.6 | Not reported | USN-6391-1 | Not reported |
| Ubuntu | cups | deb | 22.04 | 2.4.1op1-1ubuntu4.7 | Not reported | USN-6391-1 | Not reported |
| Ubuntu | cups | deb | pro | 2.2.7-1ubuntu2.10+esm2 | Not reported | UBUNTU-CVE-2023-4504 | Not reported |
| Ubuntu | cups | deb | 20.04 | 2.3.1-9ubuntu1.6 | Not reported | UBUNTU-CVE-2023-4504 | Not reported |
| Ubuntu | cups | deb | 22.04 | 2.4.1op1-1ubuntu4.7 | Not reported | UBUNTU-CVE-2023-4504 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2023_3706-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2023-4504]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-4504]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-4504]
- [https://osv.dev/vulnerability/USN-6391-1]
- [https://osv.dev/vulnerability/USN-6391-2]
- [https://security-tracker.debian.org/tracker/CVE-2023-4504]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2917.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]