CVE-2026-107886

cups: cups: Denial of Service via double-free in printer class management

Published Oct 9, 2026 CVSS 3.1 · 2.3 Low EPSS < 1% KEV · Not listed
Description
OpenPrinting CUPS before 2.4.20 contains a double-free in printer-class management. When CUPS-Add-Modify-Class replaces an existing class member list, add_class() frees pclass->printers without clearing the pointer. If subsequent validation fails, the class retains the dangling pointer; CUPS-Delete-Class subsequently frees the same allocation in cupsdDeletePrinter(). A client authorized to modify and delete classes can cause scheduler-wide denial of service. The default policy requires @SYSTEM privileges.

Analysis

AI-generated

Technical impact

OpenPrinting CUPS before 2.4.20 contains a double‑free bug in printer‑class management. When a class is updated, the add_class() routine frees the pointer to the previous printer list without clearing it. If the new list fails validation, the old printer pointer remains dangling. A subsequent delete operation drops the same pointer again, causing memory corruption and scheduler crash. The primary impact is a scheduler‑wide denial of service rather than privilege escalation or data exfiltration. The weakness is a classic double‑free vulnerability (CWE‑415) and also involves an additional weakness as identified by CWE‑1341.

Affected Systems

All installations of OpenPrinting CUPS prior to version 2.4.20 are affected. The vulnerability applies to any configuration that allows class modification or deletion. No platform or architecture is limited; any system running the vulnerable CUPS package is in scope. Unsupported or patched versions are assumed safe.

Risk and Exploitability

The CVSS score is 2.3, indicating low severity. The EPSS score indicates a very low exploitation probability (<1%), and it is not listed in CISA KEV. Exploitation requires an authorized client with the ability to modify or delete printer classes, which the default policy grants to @SYSTEM. Therefore the likely attack vector is an authenticated privileged client, either local or remote if proper authentication is obtained. The risk is a denial‑of‑service that can be triggered by a single action from an authorized user; no remote unauthenticated access is needed, and no privilege escalation occurs beyond the allowed permissions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to CUPS 2.4.20 or later.
  • If upgrade is not possible, restrict printer class modification and deletion to trusted users by adjusting the CUPS policy files to remove @SYSTEM and enforce stronger permissions.
  • Restart the cups daemon after policy changes and monitor for unexpected crashes.

Generated by OpenCVE AI on October 10, 2026 at 02:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Double‑Free Vulnerability in CUPS Printer‑Class Management Leads to Denial of Service cups: cups: Denial of Service via double-free in printer class management
Weaknesses CWE-1341
References
Metrics threat_severity

None

threat_severity

Low

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Double‑Free Vulnerability in CUPS Printer‑Class Management Leads to Denial of Service
Type Values Removed Values Added
Description OpenPrinting CUPS before 2.4.20 contains a double-free in printer-class management. When CUPS-Add-Modify-Class replaces an existing class member list, add_class() frees pclass->printers without clearing the pointer. If subsequent validation fails, the class retains the dangling pointer; CUPS-Delete-Class subsequently frees the same allocation in cupsdDeletePrinter(). A client authorized to modify and delete classes can cause scheduler-wide denial of service. The default policy requires @SYSTEM privileges.
First Time appeared Openprinting
Openprinting cups
Weaknesses CWE-415
CPEs cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:*
Vendors & Products Openprinting
Openprinting cups
References
Metrics cvssV3_1

{'score': 2.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle

  • CWE-415

    Double Free

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 9, 2026, 6:05 PM
Reserved
Oct 9, 2026, 4:00 AM
Status
Analyzed
Published
Oct 9, 2026, 4:18 AM
Modified
Oct 20, 2026, 8:56 PM
Severity
Low
Public date
Oct 9, 2026, 4:00 AM