CVE-2023-4504: debian debian_linux Heap-based Buffer Overflow
Vulnerability summary
CVE-2023-4504 is a high (CVSS 7.0) Heap-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 50.7% of scored vulnerabilities. 3 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 7 · Related 7Timeline
- 21-09-2023PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.0HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.66%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
0.00 pp
From 0.66% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
3 foundLibppd
Maturity: poc
Cups
Maturity: poc
Exploit Reference (takeonme.org)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Debian2 products
- cups< 2.4.2-3+deb12u2 | < 2.4.2-6
- debian_linuxEOL10.0
Ubuntu2 products
- cups< 2.3.1-9ubuntu1.6 | < 2.4.1op1-1ubuntu4.7 | < 2.1.3-4ubuntu0.11+esm4 | < 2.2.7-1ubuntu2.10+esm2
- libppdAll versions (No fix recorded)
Alpine1 product
- cups< 2.4.7-r0
Chainguard1 product
- cups< 2.4.7-r0
Fedoraproject1 product
- fedoraEOL37 | 38 | 39
Wolfi1 product
- cups< 2.4.7-r0
7 vendors · 10 products
References
20 links- github.com/OpenPrinting/libppd/security/advisories/GHSA-4f65-6ph5-qwh6Vendor AdvisoryAdvisoryExploit