Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-39314: CWE-191: Integer Underflow (Wrap or Wraparound) in OpenPrinting cups

0
Medium
VulnerabilityCVE-2026-39314cvecve-2026-39314cwe-191
Published: Tue Apr 07 2026 (04/07/2026, 16:59:23 UTC)
Source: CVE Database V5
Vendor/Project: OpenPrinting
Product: 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

AILast updated: 04/07/2026, 17:32:07 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses