Skip to content
OpenAdvisories
Medium · 4.0 CVE-2026-39314 EUVD-2026-19805

CUPS has an integer underflow in `_ppdCreateFromIPP` causes root cupsd crash via negative `job-password-supported`

Published Apr 7, 2026 · Updated Jun 23, 2026 · Assigned by GitHub_M

Description

OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, an integer underflow vulnerability in _ppdCreateFromIPP() (cups/ppd-cache.c) allows any unprivileged local user to crash the cupsd root process by supplying a negative job-password-supported IPP attribute. The bounds check only caps the upper bound, so a negative value passes validation, is cast to size_t (wrapping to ~2^64), and is used as the length argument to memset() on a 33-byte stack buffer. This causes an immediate SIGSEGV in the cupsd root process. Combined with systemd's Restart=on-failure, an attacker can repeat the crash for sustained denial of service.

Affected products

VendorProductAffectedFixed
OpenPrinting cups <= 2.4.16 —

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.17-1 —
Debian 13 cups No fix yet —
Debian 12 cups No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS cups 2.4.16-1ubuntu1.2 USN-8405-1
Ubuntu 25.10 cups 2.4.12-0ubuntu3.9 USN-8405-1
Ubuntu 24.04 LTS cups 2.4.7-1.2ubuntu7.13 USN-8405-1
Ubuntu 22.04 LTS cups 2.4.1op1-1ubuntu4.20 USN-8405-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS cups No fix yet —
Ubuntu Pro 18.04 LTS cups No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 cups +7 2.4.17-1.hum1 RHSA-2026:8814
ReleasePackageFixed inAdvisory
SLES 15 SP7 cups 2.2.7-150000.3.93.1 SUSE-SU-2026:2732-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.5 cups 2.2.7-150000.3.93.1 SUSE-SU-2026:2732-1
SLE Micro 5.4 cups 2.2.7-150000.3.93.1 SUSE-SU-2026:2732-1
SLE Micro 5.3 cups 2.2.7-150000.3.93.1 SUSE-SU-2026:2732-1
SLE Micro 5.2 cups 2.2.7-150000.3.93.1 SUSE-SU-2026:2732-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cups 2.4.17-1.1 openSUSE-SU-2026:10589-1
ReleasePackageFixed inAdvisory
Alpine v3.24 cups 2.4.18-r0 —
Alpine v3.23 cups 2.4.18-r0 —
Alpine v3.22 cups 2.4.18-r0 —
Alpine v3.21 cups 2.4.18-r0 —
Alpine v3.20 cups 2.4.18-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 cups +7 1:2.4.16-1.amzn2023.0.3 ALAS2023-2026-1635

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cups 2.4.17-1 —

Advisories 6

References