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…
EPSS 0.2%top 95%

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

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

GitHub Actionsmore threats →ai
openprinting/cups
pkg:github/openprinting/cups
Affected versions
<=2.4.16

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 15:09:42 UTC

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.

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: 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 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