CVSS 3.1
7.0 highCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (7.0). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2023-4504 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-4504?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-4504?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-4504 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| OpenPrinting CUPS | before 2.4.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | cups | 2.2.10-6+deb10u9 | DLA-3594-1 |
| Debian | 12 | cups | 2.4.2-3+deb12u2 | DEBIAN-CVE-2023-4504 |
| Debian | 13, 14 | cups | 2.4.2-6 | DEBIAN-CVE-2023-4504 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 1 more | libppd | no fix listed | UBUNTU-CVE-2023-4504 |
| Ubuntu | 20.04:LTS | cups | 2.3.1-9ubuntu1.6 | UBUNTU-CVE-2023-4504 USN-6391-1 |
| Ubuntu | 22.04:LTS | cups | 2.4.1op1-1ubuntu4.7 | UBUNTU-CVE-2023-4504 USN-6391-1 |
| Ubuntu | Pro:16.04:LTS | cups | 2.1.3-4ubuntu0.11+esm4 | UBUNTU-CVE-2023-4504 USN-6391-2 |
| Ubuntu | Pro:18.04:LTS | cups | 2.2.7-1ubuntu2.10+esm2 | UBUNTU-CVE-2023-4504 USN-6391-2 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 18 more | cups | 2.2.7-150000.3.51.2 | SUSE-SU-2023:3707-1 |
| SUSE | Linux Enterprise Micro 5.5 | cups | 2.2.7-150000.3.51.2 | SUSE-SU-2023:3707-2 |
| SUSE | Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS and 6 more | cups | 1.7.5-20.46.1 | SUSE-SU-2023:3706-1 |
| SUSE | Linux Micro 6.0 | cups | 2.4.11-1.1 | SUSE-SU-2025:20090-1 |
| openSUSE | Leap 15.4, Leap 15.5 | cups | 2.2.7-150000.3.51.2 | SUSE-SU-2023:3707-1 |
| openSUSE | Tumbleweed | cups | 2.4.2-7.1 | openSUSE-SU-2024:13250-1 |
| Alpine | v3.17, v3.18, v3.19 and 5 more | cups | 2.4.7-r0 | ALPINE-CVE-2023-4504 |
| Azure Linux | 2 | cups | 2.3.3op2-7 | AZL-37075 |
| Azure Linux | 3 | cups | 2.4.10-1 | AZL-37100 |
| Alpaquita | 23 | cups | 2.4.2-r5 | BELL-CVE-2023-4504 |
| Alpaquita | stream | cups | 2.4.7-r0 | BELL-CVE-2023-4504 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
This vulnerability is rated as moderate because a heap-based buffer overflow in CUPS and libppd, caused by improper length validation in attacker-crafted PPD PostScript documents, could lead to application crashes or potential code execution, successful exploitation depends on specific conditions, such as the application's processing of untrusted PPD files, limiting the overall impact in most cases.
For a successful attack, the victim had to install a PPD file (driver) that contains the crafted PS sequence, which triggers the issue. It is not recommended to install drivers from unreliable sources.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | cups | Out of support scope | |
| Red Hat Enterprise Linux 7 | cups | Out of support scope | |
| Red Hat Enterprise Linux 8 | cups | Will not fix | |
| Red Hat Enterprise Linux 9 | cups | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-4504.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.