CVE-2026-39314: CWE-191: Integer Underflow (Wrap or Wraparound) in OpenPrinting cups
CVE-2026-39314 is an integer underflow vulnerability in OpenPrinting CUPS versions 2. 4. 16 and earlier. It occurs in the _ppdCreateFromIPP() function when processing a negative job-password-supported IPP attribute, leading to a wraparound in a size_t cast. This causes a large memset() operation on a small stack buffer, resulting in a crash of the cupsd root process. The crash can be repeatedly triggered, causing a denial of service due to systemd's Restart=on-failure behavior. No confidentiality or integrity impact is reported.
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
CVE-2026-39314 is an integer underflow vulnerability in OpenPrinting CUPS versions 2. 4. 16 and earlier. It occurs in the _ppdCreateFromIPP() function when processing a negative job-password-supported IPP attribute, leading to a wraparound in a size_t cast. This causes a large memset() operation on a small stack buffer, resulting in a crash of the cupsd root process. The crash can be repeatedly triggered, causing a denial of service due to systemd's Restart=on-failure behavior. No confidentiality or integrity impact is reported.
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: 4/7/2026, 6:32:31 PM
Views: 5
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.