Skip to main content
Vulnerability Database/CVE-2026-107885

CVE-2026-107885: OpenPrinting CUPS DoS Vulnerability

CVE-2026-107885 is a resource exhaustion flaw in OpenPrinting CUPS that allows attackers to prevent legitimate print submissions by accumulating incomplete jobs. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-107885 Overview

CVE-2026-107885 is a resource-exhaustion vulnerability in OpenPrinting CUPS through version 2.4.20. The flaw resides in the submission-timeout handling of cupsdCheckJobs() in the CUPS scheduler. The scheduler suppresses timeout processing for all pending jobs whenever any client holds an in-flight Send-Document operation, without correlating that connection to the job being examined. A local authenticated client with access to the Internet Printing Protocol (IPP) service can abuse this logic to prevent unrelated incomplete jobs from expiring. Where Create-Job submission is permitted, incomplete jobs accumulate until MaxJobs is exhausted, blocking legitimate print submissions.

Critical Impact

A local attacker with IPP access can exhaust the CUPS job queue by holding a partial Send-Document request, denying print services to legitimate users until the connection closes.

Affected Products

  • OpenPrinting CUPS versions through 2.4.20
  • Linux and Unix distributions bundling vulnerable CUPS releases
  • Print servers exposing the IPP service to authenticated local clients

Discovery Timeline

  • 2026-10-09 - CVE-2026-107885 published to the National Vulnerability Database (NVD)
  • 2026-10-09 - Last updated in NVD database

Technical Details for CVE-2026-107885

Vulnerability Analysis

The CUPS scheduler enforces submission timeouts on pending jobs through cupsdCheckJobs(). This function iterates over queued jobs and expires incomplete submissions that exceed the configured deadline. The vulnerable logic checks whether any active client connection is mid-way through a Send-Document operation. When such a connection exists, the scheduler globally suppresses timeout enforcement for every pending job rather than only the job tied to that connection. The suppression continues until the held connection closes, giving an attacker direct control over the scheduler's cleanup behavior. This maps to [CWE-770]: Allocation of Resources Without Limits or Throttling.

Root Cause

The root cause is a scoping error between the connection state check and the job iteration loop. The scheduler treats a single in-flight Send-Document request as a reason to pause expiration for the entire job queue. There is no correlation between the holding client connection and the specific job records being evaluated for timeout.

Attack Vector

An attacker with local IPP access opens a TCP connection to the CUPS daemon and sends a partial HTTP request containing parsed Send-Document headers. The connection stalls before operation authorization completes, satisfying the scheduler's suppression condition indefinitely. The attacker then submits Create-Job requests in separate connections, each creating an incomplete job that would normally expire. Because timeout processing is suppressed, these jobs persist until the MaxJobs limit is reached and the daemon rejects further submissions.

No verified public exploit code is available. See the GitHub Security Advisory for technical details.

Detection Methods for CVE-2026-107885

Indicators of Compromise

  • Rapid growth in the CUPS spool directory with incomplete job files that never transition to printing or expiration states.
  • Long-lived TCP connections to the IPP port (default 631) that remain in a partial HTTP request state.
  • cupsd error log entries indicating MaxJobs has been reached and new submissions are being rejected.

Detection Strategies

  • Monitor the active CUPS job count against the configured MaxJobs value and alert on sustained saturation.
  • Inspect cupsd access logs for repeated Create-Job operations from a single source without matching Send-Document completions.
  • Flag IPP client connections that remain open longer than typical submission timeouts without completing operation authorization.

Monitoring Recommendations

  • Collect cupsd access and error logs into a centralized logging platform for queue-state correlation.
  • Track connection duration and request-completion metrics on TCP port 631 using network telemetry.
  • Alert when job queue depth remains near MaxJobs while completed-print counts stagnate.

How to Mitigate CVE-2026-107885

Immediate Actions Required

  • Upgrade OpenPrinting CUPS to a release that post-dates version 2.4.20 once a fixed version is published by the maintainers.
  • Restrict IPP service exposure to trusted local users through host-based firewalls and cupsd.conf access controls.
  • Audit the MaxJobs setting and current queue depth on all CUPS-enabled hosts.

Patch Information

Refer to the OpenPrinting CUPS Security Advisory GHSA-hhw5-qqmc-p6rg for the authoritative fix and affected-version matrix. Apply vendor-supplied updates from your Linux distribution once available.

Workarounds

  • Limit which users and hosts can reach the IPP service by tightening Listen and Location directives in cupsd.conf.
  • Disable Create-Job submission for untrusted users where feasible to prevent incomplete-job accumulation.
  • Lower the Timeout and related connection-idle values in cupsd.conf to reduce the window an attacker can hold a partial request.
bash
# Example cupsd.conf hardening excerpt
Listen localhost:631
Timeout 30
KeepAliveTimeout 15

<Location />
  Order allow,deny
  Allow from 127.0.0.1
</Location>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.