Heap-based buffer overflow in cups - CVE-2026-34979
Published: April 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to improper input validation in the CUPS scheduler when processing IPP job attributes. A remote attacker can send a specially crafted IPP request with large URI attributes to trigger a heap-based buffer overflow in the `get_options()` function, leading to memory corruption and a crash of the `cupsd` service.
The vulnerability specifically arises because the size calculation for the options string uses `ipp_length()`, which excludes URI attributes, but the serialization process still writes URI attributes such as `job-uuid` and `job-authorization-uri` without bounds checking.
Affected software
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Enterprise Micro
SUSE Linux Micro
Basesystem Module
Development Tools Module
Desktop Applications Module
openEuler
Ubuntu
Anolis OS
Fedora
cups-client-debuginfo
cups
cups-libs-debuginfo
cups-debuginfo
cups-devel
cups-libs
cups-libs-32bit
cups-client
cups-debugsource
cups-libs-debuginfo-32bit
libcupscgi1-debuginfo
libcupsppdc1
libcupsimage2
libcupscgi1
cups-config
libcups2-debuginfo
cups-ddk
libcupsmime1
libcups2
libcupsmime1-debuginfo
libcups2-32bit
libcupsppdc1-debuginfo
libcupsimage2-debuginfo
cups-ddk-debuginfo
libcups2-32bit-debuginfo
cups-help
cups-filesystem
cups-printerapp
cups-lpd
cups-ipptool
cups (Ubuntu package)
cups-doc
How to mitigate CVE-2026-34979
cups - addressed in versions 1.7.5-20.67.1, 2.2.7-150000.3.93.1
cups-libs-debuginfo - update to 1.7.5-20.67.1
cups-debuginfo - addressed in versions 1.7.5-20.67.1, 2.2.7-150000.3.93.1
cups-devel - addressed in versions 1.7.5-20.67.1, 2.2.7-150000.3.93.1
cups-libs - update to 1.7.5-20.67.1
cups-libs-32bit - update to 1.7.5-20.67.1
cups-client - addressed in versions 1.7.5-20.67.1, 2.2.7-150000.3.93.1
cups-debugsource - addressed in versions 1.7.5-20.67.1, 2.2.7-150000.3.93.1, 2.4.19-1.1
cups-libs-debuginfo-32bit - update to 1.7.5-20.67.1
libcupscgi1-debuginfo - update to 2.2.7-150000.3.93.1
libcupsppdc1 - update to 2.2.7-150000.3.93.1
libcupsimage2 - update to 2.2.7-150000.3.93.1
libcupscgi1 - update to 2.2.7-150000.3.93.1
cups-config - addressed in versions 2.2.7-150000.3.93.1, 2.4.19-1.1
libcups2-debuginfo - addressed in versions 2.2.7-150000.3.93.1, 2.4.19-1.1
cups-ddk - update to 2.2.7-150000.3.93.1
libcupsmime1 - update to 2.2.7-150000.3.93.1
libcups2 - addressed in versions 2.2.7-150000.3.93.1, 2.4.19-1.1
libcupsmime1-debuginfo - update to 2.2.7-150000.3.93.1
libcups2-32bit - update to 2.2.7-150000.3.93.1
libcupsppdc1-debuginfo - update to 2.2.7-150000.3.93.1
libcupsimage2-debuginfo - update to 2.2.7-150000.3.93.1
cups-ddk-debuginfo - update to 2.2.7-150000.3.93.1
libcups2-32bit-debuginfo - update to 2.2.7-150000.3.93.1
cups-client - addressed in versions 2.4.0-19, 2.4.7-13, 2.4.7-14
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-debuginfo - 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-filesystem - 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-lpd - 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-ipptool - 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 (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-doc - update to 2.4.10-8
cups - update to 2.4.10-8
cups-client - update to 2.4.10-8
cups-devel - update to 2.4.10-8
cups-ipptool - update to 2.4.10-8
cups-filesystem - update to 2.4.10-8
cups-libs - update to 2.4.10-8
cups-printerapp - update to 2.4.10-8
cups-lpd - update to 2.4.10-8
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
- Multiple vulnerabilities in OpenPrinting cups
- Fedora 45 update for cups
- Fedora 44 update for cups
- Fedora 43 update for cups
- Fedora 42 update for cups
- openEuler 24.03 LTS SP3 update for cups
- openEuler 24.03 LTS SP2 update for cups
- openEuler 22.03 LTS SP4 update for cups
- Anolis OS update for cups
- SUSE update for cups
- Ubuntu update for cups
- Ubuntu update for cups
- SUSE update for cups
- SUSE update for cups