Vulnerability · Published Apr 7, 2026 · Assigned by GitHub_M
CVE-2026-39314CUPS has an integer underflow in `_ppdCreateFromIPP` causes root cupsd crash via negative `job-password-supported`
Medium 4.0
In plain English
A medium-severity security flaw in cups from OpenPrinting. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | cups | 2.4.18-r0 | ALPINE-CVE-2026-39314 |
| Alpine:v3.21 | cups | 2.4.18-r0 | ALPINE-CVE-2026-39314 |
| Alpine:v3.22 | cups | 2.4.18-r0 | ALPINE-CVE-2026-39314 |
| Alpine:v3.23 | cups | 2.4.18-r0 | ALPINE-CVE-2026-39314 |
| Alpine:v3.24 | cups | 2.4.18-r0 | ALPINE-CVE-2026-39314 |
| Debian:12 | cups | no fix listed | DEBIAN-CVE-2026-39314 |
| Debian:13 | cups | no fix listed | DEBIAN-CVE-2026-39314 |
| Debian:14 | cups | 2.4.17-1 | DEBIAN-CVE-2026-39314 |
| Ubuntu:22.04:LTS | cups | 2.4.1op1-1ubuntu4.20 | USN-8405-1 |
| Ubuntu:22.04:LTS | cups | 2.4.1op1-1ubuntu4.20 | UBUNTU-CVE-2026-39314 |
| Ubuntu:24.04:LTS | cups | 2.4.7-1.2ubuntu7.13 | USN-8405-1 |
| Ubuntu:24.04:LTS | cups | 2.4.7-1.2ubuntu7.13 | UBUNTU-CVE-2026-39314 |
| Ubuntu:25.10 | cups | 2.4.12-0ubuntu3.9 | USN-8405-1 |
| Ubuntu:25.10 | cups | 2.4.12-0ubuntu3.9 | UBUNTU-CVE-2026-39314 |
| Ubuntu:26.04:LTS | cups | 2.4.16-1ubuntu1.2 | UBUNTU-CVE-2026-39314 |
| Ubuntu:26.04:LTS | cups | 2.4.16-1ubuntu1.2 | USN-8405-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OpenPrinting | cups | <= 2.4.16 |
Weakness: CWE-191 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-pp8w-2g52-7vj7 x_refsource_CONFIRM