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 (<= 2.4.16) contains an integer underflow vulnerability (CWE-191) in the _ppdCreateFromIPP() function within cups/ppd-cache.c. The vulnerability arises because the bounds check only limits the upper bound of the job-password-supported IPP attribute, allowing negative values to pass. When a negative value is cast to size_t, it wraps to a very large unsigned integer, which is then used as the length parameter in memset() on a 33-byte stack buffer. This causes an immediate segmentation fault (SIGSEGV) in the cupsd process running as root. Due to systemd's Restart=on-failure setting, an attacker can repeatedly crash and restart the service, resulting in 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, leading to a denial of service condition. There is no impact on confidentiality or integrity. The vulnerability exploits an integer underflow that causes a buffer overwrite attempt triggering a segmentation fault.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, restrict local user access to the CUPS service or disable the service if not required to prevent exploitation. Monitor for updates from the OpenPrinting project 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenPrinting CUPS (<= 2.4.16) contains an integer underflow vulnerability (CWE-191) in the _ppdCreateFromIPP() function within cups/ppd-cache.c. The vulnerability arises because the bounds check only limits the upper bound of the job-password-supported IPP attribute, allowing negative values to pass. When a negative value is cast to size_t, it wraps to a very large unsigned integer, which is then used as the length parameter in memset() on a 33-byte stack buffer. This causes an immediate segmentation fault (SIGSEGV) in the cupsd process running as root. Due to systemd's Restart=on-failure setting, an attacker can repeatedly crash and restart the service, resulting in 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, leading to a denial of service condition. There is no impact on confidentiality or integrity. The vulnerability exploits an integer underflow that causes a buffer overwrite attempt triggering a segmentation fault.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, restrict local user access to the CUPS service or disable the service if not required to prevent exploitation. Monitor for updates from the OpenPrinting project 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: 4/7/2026, 5:16:13 PM
Last enriched: 4/7/2026, 5:32:07 PM
Last updated: 5/21/2026, 10:00:01 PM
Views: 56
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.