---
id: CVE-2026-107886
title: >-
  OpenPrinting CUPS before 2.4.20 contains a double-free in printer-class
  management
summary: >-
  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
  validat…
severity: low
cvss: 2.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-415
published: '2026-10-09'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T04:18:05.163'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107886'
references:
  - url: >-
      https://github.com/OpenPrinting/cups/security/advisories/GHSA-pwg4-pv39-8c22
    label: cve@mitre.org
tags:
  - nvd
ingestedAt: '2026-10-09T04:24:19.132Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
