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-107888 Overview
CVE-2026-107888 is a NULL pointer dereference vulnerability in OpenPrinting CUPS before version 2.4.20. The flaw resides in the cupsdCheckJobs() function within the CUPS scheduler (cupsd). When a job marked job-held-on-create references a temporary printer that has already been automatically deleted, the scheduler dereferences the NULL result returned by cupsdFindDest() while checking holding_new_jobs. The process terminates and interrupts every print queue managed by that cupsd instance. The classification maps to [CWE-476] NULL Pointer Dereference.
Critical Impact
An unprivileged job submission can crash the CUPS scheduler and disrupt all print queues on the affected host, producing a denial of service condition for printing services.
Affected Products
- OpenPrinting CUPS versions prior to 2.4.20
- Linux and Unix distributions bundling vulnerable CUPS packages
- Systems exposing cupsd for local print job submission
Discovery Timeline
- 2026-10-09 - CVE-2026-107888 published to NVD
- 2026-10-15 - Last updated in NVD database
Technical Details for CVE-2026-107888
Vulnerability Analysis
The defect lives in the CUPS scheduler's job management logic. cupsdCheckJobs() iterates over pending jobs and calls cupsdFindDest() to resolve each job's destination printer. For jobs flagged job-held-on-create, the scheduler then reads the holding_new_jobs field on the returned destination structure. When the destination was a temporary printer that CUPS auto-cleaned, cupsdFindDest() returns NULL, and the subsequent field access crashes cupsd.
The crash halts the entire scheduler process, which manages every queue on the host. Any print work in progress or queued terminates abruptly. Recovery requires the service manager (for example systemd) to restart cupsd, and transient temporary printers remain the trigger surface across restarts.
Root Cause
Temporary-printer cleanup removes the printer object without first canceling or reassigning jobs that reference it. The scheduler assumes cupsdFindDest() always returns a valid pointer for queued jobs. No NULL check guards the holding_new_jobs access path, so the dangling reference triggers a segmentation fault.
Attack Vector
Exploitation requires local access to submit a print job, but the submitter does not need elevated privileges or interaction. An attacker schedules a job against a temporary (driverless/IPP Everywhere) printer and causes or waits for the printer to be auto-removed while the job remains in the held state. The next scheduler sweep in cupsdCheckJobs() dereferences NULL and cupsd exits.
No verified public exploit code is available. See the OpenPrinting CUPS GitHub Security Advisory for upstream technical details.
Detection Methods for CVE-2026-107888
Indicators of Compromise
- Unexpected cupsd process termination recorded in systemd journal or /var/log/cups/error_log with signal 11 (SIGSEGV).
- Repeated restart cycles of the cups.service unit following job submissions referencing transient printers.
- Jobs stuck in job-held-on-create state tied to destinations that no longer exist in lpstat -p output.
Detection Strategies
- Monitor the installed CUPS package version and alert on any host running a release older than 2.4.20.
- Correlate cupsd crash events with preceding IPP job submissions to identify abuse patterns.
- Audit creation and deletion events for temporary printers via cups-browsed and cupsd logs.
Monitoring Recommendations
- Collect /var/log/cups/error_log, access_log, and page_log into a centralized log platform for correlation.
- Enable service-level health checks on cups.service and alert on crash-loop conditions.
- Track IPP submissions from unprivileged user accounts to localhost on TCP port 631.
How to Mitigate CVE-2026-107888
Immediate Actions Required
- Upgrade OpenPrinting CUPS to version 2.4.20 or later across all Linux and Unix hosts.
- Apply the fixed packages distributed by your Linux vendor as they become available.
- Restart cupsd after patching to ensure the vulnerable code path is no longer loaded in memory.
Patch Information
The fix is included in OpenPrinting CUPS 2.4.20. Refer to the OpenPrinting CUPS GitHub Security Advisory GHSA-qqm8-4q5h-jg55 for upstream commit details and backport guidance.
Workarounds
- Disable automatic temporary printer creation by setting CreateSelfSignedCerts and driverless discovery options conservatively, and stopping cups-browsed where not required.
- Restrict local access to cupsd by limiting membership in the lp and lpadmin groups on multi-user systems.
- Configure the service manager to auto-restart cupsd on failure to reduce outage windows until patching completes.
# Verify installed CUPS version and upgrade on Debian/Ubuntu
dpkg -l cups | awk '/^ii/ {print $2, $3}'
sudo apt update && sudo apt install --only-upgrade cups cups-daemon
# On RHEL/Fedora systems
rpm -q cups
sudo dnf upgrade cups
# Disable automatic temporary-printer discovery if patching is delayed
sudo systemctl stop cups-browsed
sudo systemctl disable cups-browsed
# Ensure cupsd auto-restarts on crash
sudo systemctl edit cups.service
# Add under [Service]:
# Restart=on-failure
# RestartSec=5s
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

