Improper input validation in cups - CVE-2026-34990

 

Improper input validation in cups - CVE-2026-34990

Published: April 2, 2026 / Updated: April 17, 2026


Vulnerability identifier: #VU124811
CSH Severity: Low
CVSS v4: 7.3 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-34990
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code with root privileges.

The vulnerability exists due to improper access control in CUPS when processing IPP requests for creating local printers. A local user can send a specially crafted IPP request to create a temporary printer with a file:// URI and then promote it to a shared printer, bypassing device restrictions and causing the system to write arbitrary files as root. This can lead to arbitrary code execution with root privileges.

The attacker must have the ability to send requests to localhost:631 and bind to a local port. The attack involves a race condition during printer validation, which may require multiple attempts to succeed.


Affected software

cups
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Enterprise Micro
SUSE Linux Micro
Desktop Applications Module
Basesystem Module
Development Tools Module
openEuler
Ubuntu
Fedora
cups-client
cups
cups-client-debuginfo
cups-libs-debuginfo
cups-devel
cups-libs
cups-debuginfo
cups-debugsource
cups-libs-debuginfo-32bit
cups-libs-32bit
libcups2
libcups2-debuginfo
cups-ddk-debuginfo
cups-ddk
libcups2-32bit-debuginfo
libcups2-32bit
libcupscgi1-debuginfo
libcupscgi1
libcupsppdc1-debuginfo
libcupsppdc1
libcupsmime1
cups-config
libcupsimage2
libcupsimage2-debuginfo
libcupsmime1-debuginfo
cups-ipptool
cups-lpd
cups-printerapp
cups-filesystem
cups-help
cups (Ubuntu package)

How to mitigate CVE-2026-34990

Install security update from vendor's website.

cups - update to 2.4.17
cups-client - addressed in versions 1.7.5-20.62.1, 2.2.7-150000.3.86.1
cups - addressed in versions 1.7.5-20.62.1, 2.2.7-150000.3.86.1
cups-client-debuginfo - addressed in versions 1.7.5-20.62.1, 2.2.7-150000.3.86.1
cups-libs-debuginfo - update to 1.7.5-20.62.1
cups-devel - addressed in versions 1.7.5-20.62.1, 2.2.7-150000.3.86.1
cups-libs - update to 1.7.5-20.62.1
cups-debuginfo - addressed in versions 1.7.5-20.62.1, 2.2.7-150000.3.86.1
cups-debugsource - addressed in versions 1.7.5-20.62.1, 2.2.7-150000.3.86.1, 2.4.19-1.1
cups-libs-debuginfo-32bit - update to 1.7.5-20.62.1
cups-libs-32bit - update to 1.7.5-20.62.1
libcups2 - addressed in versions 2.2.7-150000.3.86.1, 2.4.19-1.1
libcups2-debuginfo - addressed in versions 2.2.7-150000.3.86.1, 2.4.19-1.1
cups-ddk-debuginfo - update to 2.2.7-150000.3.86.1
cups-ddk - update to 2.2.7-150000.3.86.1
libcups2-32bit-debuginfo - update to 2.2.7-150000.3.86.1
libcups2-32bit - update to 2.2.7-150000.3.86.1
libcupscgi1-debuginfo - update to 2.2.7-150000.3.86.1
libcupscgi1 - update to 2.2.7-150000.3.86.1
libcupsppdc1-debuginfo - update to 2.2.7-150000.3.86.1
libcupsppdc1 - update to 2.2.7-150000.3.86.1
libcupsmime1 - update to 2.2.7-150000.3.86.1
cups-config - addressed in versions 2.2.7-150000.3.86.1, 2.4.19-1.1
libcupsimage2 - update to 2.2.7-150000.3.86.1
libcupsimage2-debuginfo - update to 2.2.7-150000.3.86.1
libcupsmime1-debuginfo - update to 2.2.7-150000.3.86.1
cups-debugsource - addressed in versions 2.4.0-19, 2.4.7-13, 2.4.7-14
cups - addressed in versions 2.4.0-19, 2.4.7-13, 2.4.7-14
cups-client - addressed in versions 2.4.0-19, 2.4.7-13, 2.4.7-14
cups-debuginfo - addressed in versions 2.4.0-19, 2.4.7-13, 2.4.7-14
cups-devel - addressed in versions 2.4.0-19, 2.4.7-13, 2.4.7-14
cups-ipptool - addressed in versions 2.4.0-19, 2.4.7-13, 2.4.7-14
cups-libs - addressed in versions 2.4.0-19, 2.4.7-13, 2.4.7-14
cups-lpd - addressed in versions 2.4.0-19, 2.4.7-13, 2.4.7-14
cups-printerapp - addressed in versions 2.4.0-19, 2.4.7-13, 2.4.7-14
cups-filesystem - addressed in versions 2.4.0-19, 2.4.7-13, 2.4.7-14
cups-help - addressed in versions 2.4.0-19, 2.4.7-13, 2.4.7-14
cups (Ubuntu package) - addressed in versions 2.4.1op1-1ubuntu4.20, 2.4.1op1-1ubuntu4.21, 2.4.7-1.2ubuntu7.13, 2.4.7-1.2ubuntu7.14, 2.4.12-0ubuntu3.9, 2.4.12-0ubuntu3.10, 2.4.16-1ubuntu1.2, 2.4.16-1ubuntu1.3
cups - addressed in versions 2.4.17-1.fc42, 2.4.17-1.fc43, 2.4.17-1.fc44, 2.4.17-1.fc45

External References

Related Security Bulletins