Skip to main content

Cups CVE-2026-39314

| EUVDEUVD-2026-19805 MEDIUM
Integer Underflow (CWE-191)
2026-04-07 security-advisories@github.com
6.2
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Impact

The CVSS score of 4.0 with a low attack complexity and no privilege requirement reflects a bounded denial-of-service impact limited to availability. The CVSS vector (AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) confirms this is a local attack requiring no authentication but also no network attack surface, and the impact is constrained to a single process restart rather than data compromise. However, the real-world risk is elevated by two factors: (1) the vulnerability requires only unprivileged local access-a low bar for compromise in multi-user systems or container environments-and (2) systemd's Restart=on-failure configuration, common in modern deployments, enables trivial sustained denial of service by repeatedly triggering the crash. The lack of any confidentiality or integrity impact keeps this in the low-severity category, but the ease of triggering and predictability of the crash make it an operational nuisance rather than a critical security hole. This is a justified low CVSS with moderate practical impact in specific deployment scenarios.

Exploit ScenarioDerived

An unprivileged local user on a system running CUPS 2.4.16 or earlier crafts a malicious IPP request containing a negative value for the job-password-supported attribute and submits it to the local CUPS daemon. The _ppdCreateFromIPP() function fails to validate the negative bound, casts it to size_t, and passes the wrapped value to memset() on a 33-byte stack buffer, immediately crashing the root-privileged cupsd process with SIGSEGV. If systemd is configured to restart the service on failure, the attacker repeats the request to maintain continuous denial of service without requiring elevated privileges or exploiting any authentication mechanism. No exploit code is required beyond standard IPP client tools.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 07, 2026

Denial of service in OpenPrinting CUPS 2.4.16 and prior allows unprivileged local users to crash the cupsd root process via integer underflow in _ppdCreateFromIPP() by supplying a negative job-password-supported IPP attribute, which wraps to a large size_t value and triggers a stack buffer overflow in memset(). When combined with systemd's automatic restart mechanism, an attacker can sustain repeated crashes without requiring elevated privileges or user interaction.

RemediationAI

Upgrade OpenPrinting CUPS to a patched version released after 2.4.16. Consult the official OpenPrinting CUPS security advisory at https://github.com/OpenPrinting/cups/security/advisories/GHSA-pp8w-2g52-7vj7 for the specific fixed version number and patch availability. As an interim mitigation on systems where immediate patching is not feasible, restrict local user access to the CUPS daemon or disable systemd's automatic restart of cupsd to prevent sustained crash loops, though neither addresses the underlying flaw. Monitor system logs for repeated cupsd crashes as a detection signal of exploitation attempts.

Affected VersionsENISA

cups ≤ 2.4.16

Affected Packages

euvd cups no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the PPD (PostScript Printer Description) cache creation function within cups/ppd-cache.c. The integer underflow occurs because validation logic checks only the upper bound of the job-password-supported attribute count, permitting negative values to pass validation. When a negative integer is cast to size_t (unsigned), it wraps to approximately 2^64, which is then used as the length parameter for memset() operating on a 33-byte stack-allocated buffer. This triggers an out-of-bounds write that causes an immediate segmentation fault (SIGSEGV) in the root-privileged cupsd daemon. The root cause is classified as CWE-191 (Integer Underflow or Wrap), a classic flaw in bounds checking logic that fails to validate the lower bound of numeric inputs before type conversion.

Know when Cups gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.2 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 4.0 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
Oct 26, 2026 - 21:23 NVD
4.0 (MEDIUM) 6.2 (MEDIUM)
CVE Published
Apr 07, 2026 - 17:16 nvd
MEDIUM 4.0

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +31
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Cups

View all
CVE-2015-1158 CRITICAL POC
10.0 Jun 26

The add_job function in scheduler/ipp.c in cupsd in CUPS before 2.0.3 performs incorrect free operations for multiple-va

CVE-2015-1159 MEDIUM POC
4.3 Jun 26

Cross-site scripting (XSS) vulnerability in the cgi_puts function in cgi-bin/template.c in the template engine in CUPS b

CVE-2012-5519 HIGH POC
7.2 Nov 20

CUPS 1.4.4, when running in certain Linux distributions such as Debian GNU/Linux, stores the web interface administrator

CVE-2023-34241 HIGH POC
7.1 Jun 22

OpenPrinting CUPS is a standards-based, open source printing system for Linux and other Unix-like operating systems. Rat

CVE-2023-4504 HIGH POC
7.0 Sep 21

Due to failure in validating the length provided by an attacker-crafted PPD PostScript document, CUPS and libppd are sus

CVE-2025-61915 MEDIUM POC
6.7 Nov 29

OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Rated medium severi

CVE-2025-58364 MEDIUM POC
6.5 Sep 11

OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Rated medium severi

CVE-2025-58436 MEDIUM POC
5.5 Nov 29

OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Rated medium severi

CVE-2023-32324 MEDIUM POC
5.5 Jun 01

OpenPrinting CUPS is an open source printing system. Rated medium severity (CVSS 5.5), this vulnerability is no authenti

CVE-2018-6553 HIGH
8.8 Aug 10

The CUPS AppArmor profile incorrectly confined the dnssd backend due to use of hard links. Rated high severity (CVSS 8.8

CVE-2014-9679 MEDIUM
6.8 Feb 19

Integer underflow in the cupsRasterReadPixels function in filter/raster.c in CUPS before 2.0.2 allows remote attackers t

CVE-2022-26691 MEDIUM
6.7 May 26

A logic issue was addressed with improved state management. Rated medium severity (CVSS 6.7), this vulnerability is low

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.2 Fixed
SUSE Linux Enterprise Micro 5.3 Fixed
SUSE Linux Enterprise Micro 5.4 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy