CVE-2026-39314 Details
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.
An integer underflow vulnerability has been identified in OpenPrinting CUPS versions through 2.4.16. The issue arises in the `_ppdCreateFromIPP()` function within `cups/ppd-cache.c`, where the bounds check for the `job-password-supported` IPP attribute only limits the upper value. This flaw allows an unprivileged local user to send a negative integer, which is then improperly validated, cast to a size type, and used to overwrite memory beyond the bounds of a 33-byte stack buffer. The resulting segmentation fault crashes the `cupsd` process, which runs as root. With systemd's `Restart=on-failure` option, this crash can be exploited repeatedly, causing a sustained denial-of-service condition.
It is recommended to add a lower-bound check for the `maxlen` variable in the `_ppdCreateFromIPP()` function to prevent negative values from being accepted. Alternatively, the variable can be managed as an unsigned type to naturally avoid negative values.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/OpenPrinting/cups/security/advisories/GHSA-pp8w-2g52-7vj7 | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-191 | Integer Underflow (Wrap or Wraparound) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openprinting cups | <= 2.4.16 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 16, 2026 | Initial Analysis | [email protected] |
| Apr 7, 2026 | New CVE Received | [email protected] |