All reports
Low

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-107886

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-20

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.

A flaw was found in CUPS. An authenticated user authorized to manage printer classes can cause a Denial of Service (DoS) by triggering a double-free memory error during printer class management. By submitting a class modification request with invalid parameters followed by a class deletion request, the user can crash the print scheduler service.