CVE-2026-39314: CWE-191: Integer Underflow (Wrap or Wraparound) in OpenPrinting cups
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.
AI Analysis
Technical Summary
OpenPrinting CUPS versions up to 2.4.16 contain an integer underflow vulnerability (CWE-191) in the _ppdCreateFromIPP() function within cups/ppd-cache.c. The vulnerability arises because the code only caps the upper bound of the job-password-supported IPP attribute but does not check for negative values. When a negative value is supplied, it is cast to an unsigned size_t, resulting in a very large value due to wraparound. This large value is then used as the length argument in a memset() call on a 33-byte stack buffer, causing an immediate segmentation fault (SIGSEGV) and crashing the cupsd root process. Because systemd is configured with Restart=on-failure, the service restarts automatically, allowing an attacker to repeatedly crash the service and cause sustained denial of service. The vulnerability requires local unprivileged user access and does not impact confidentiality or integrity.
Potential Impact
An unprivileged local user can cause the cupsd root process to crash repeatedly, resulting in a denial of service. There is no impact on confidentiality or integrity. The vulnerability exploits an integer underflow leading to a large memory operation on a small buffer, causing a segmentation fault. The automatic restart of the service by systemd allows sustained denial of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch or official fix is available, restrict unprivileged local user access to the printing service or disable the service if not needed to mitigate the risk of denial of service. Monitor vendor channels for updates regarding an official fix.
CVE-2026-39314: CWE-191: Integer Underflow (Wrap or Wraparound) in OpenPrinting cups
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.
CVSS v3.1
Score 4.0medium
Affected software
pkg:github/openprinting/cupsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenPrinting CUPS versions up to 2.4.16 contain an integer underflow vulnerability (CWE-191) in the _ppdCreateFromIPP() function within cups/ppd-cache.c. The vulnerability arises because the code only caps the upper bound of the job-password-supported IPP attribute but does not check for negative values. When a negative value is supplied, it is cast to an unsigned size_t, resulting in a very large value due to wraparound. This large value is then used as the length argument in a memset() call on a 33-byte stack buffer, causing an immediate segmentation fault (SIGSEGV) and crashing the cupsd root process. Because systemd is configured with Restart=on-failure, the service restarts automatically, allowing an attacker to repeatedly crash the service and cause sustained denial of service. The vulnerability requires local unprivileged user access and does not impact confidentiality or integrity.
Potential Impact
An unprivileged local user can cause the cupsd root process to crash repeatedly, resulting in a denial of service. There is no impact on confidentiality or integrity. The vulnerability exploits an integer underflow leading to a large memory operation on a small buffer, causing a segmentation fault. The automatic restart of the service by systemd allows sustained denial of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch or official fix is available, restrict unprivileged local user access to the printing service or disable the service if not needed to mitigate the risk of denial of service. Monitor vendor channels for updates regarding an official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-06T19:31:07.266Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d53bddaaed68159a38be09
Added to database: 04/07/2026, 17:16:13 UTC
Last enriched: 06/24/2026, 15:09:42 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 125
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.