Skip to content
OpenAdvisories
High · 7.0 Public exploit CVE-2023-4504 EUVD-2023-54359

OpenPrinting CUPS/libppd Postscript Parsing Heap Overflow

Published Sep 21, 2023 · Updated Nov 4, 2025 · 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.

Affected products

VendorProductAffectedFixed
OpenPrinting CUPS < 2.4.6 2.4.6
OpenPrinting libppd — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cups 2.4.2-6 —
Debian 13 cups 2.4.2-6 —
Debian 12 cups 2.4.2-3+deb12u2 —
Debian 10 cups 2.2.10-6+deb10u9 DLA-3594-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS cups 2.4.1op1-1ubuntu4.7 USN-6391-1
Ubuntu 22.04 LTS libppd No fix yet —
Ubuntu 20.04 LTS cups 2.3.1-9ubuntu1.6 USN-6391-1
Ubuntu 20.04 LTS libppd No fix yet —
Ubuntu 18.04 LTS libppd No fix yet —
Ubuntu 16.04 LTS libppd No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS cups 2.2.7-1ubuntu2.10+esm2 USN-6391-2
Ubuntu Pro 16.04 LTS cups 2.1.3-4ubuntu0.11+esm4 USN-6391-2
ReleasePackageFixed inAdvisory
SLES 15 SP5 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SLES 15 SP4 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SLES 15 SP3 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SLES 15 SP2 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SLES 15 SP1 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
Show 21 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 cups 1.7.5-20.46.1 SUSE-SU-2023:3706-1
SLES 12 SP4 cups 1.7.5-20.46.1 SUSE-SU-2023:3706-1
SLES 12 SP2 cups 1.7.5-20.46.1 SUSE-SU-2023:3706-1
SLES for SAP 15 SP3 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SLES for SAP 15 SP2 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SLES for SAP 15 SP1 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SLES for SAP 12 SP5 cups 1.7.5-20.46.1 SUSE-SU-2023:3706-1
SLES for SAP 12 SP4 cups 1.7.5-20.46.1 SUSE-SU-2023:3706-1
SLE Micro 6.0 cups 2.4.11-1.1 SUSE-SU-2025:20090-1
SLE Micro 5.5 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-2
SLE Micro 5.4 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SLE Micro 5.3 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SLE Micro 5.2 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SLE HPC 15 SP3 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SLE HPC 15 SP2 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SLE HPC 15 SP1 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SUSE OpenStack Cloud Crowbar 9 cups 1.7.5-20.46.1 SUSE-SU-2023:3706-1
SUSE OpenStack Cloud 9 cups 1.7.5-20.46.1 SUSE-SU-2023:3706-1
SUSE Manager Server 4.2 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SUSE Manager Proxy 4.2 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
SUSE Enterprise Storage 7.1 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cups 2.4.2-7.1 openSUSE-SU-2024:13250-1
openSUSE Leap 15.5 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
openSUSE Leap 15.4 cups 2.2.7-150000.3.51.2 SUSE-SU-2023:3707-1
ReleasePackageFixed inAdvisory
Alpine v3.24 cups 2.4.7-r0 —
Alpine v3.23 cups 2.4.7-r0 —
Alpine v3.22 cups 2.4.7-r0 —
Alpine v3.21 cups 2.4.7-r0 —
Alpine v3.20 cups 2.4.7-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 cups 2.4.7-r0 —
Alpine v3.18 cups 2.4.7-r0 —
Alpine v3.17 cups 2.4.7-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 cups +7 1:2.3.3op2-18.amzn2023.0.7 ALAS2023-2023-361
Amazon Linux 2 cups +6 1:1.6.3-51.amzn2.0.4 ALAS2-2023-2293

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cups 2.4.10-1 —
Azure Linux 2 (CBL-Mariner) cups 2.3.3op2-7 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling cups 2.4.7-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 14

References