#VU125824 Use-after-free in cups - CVE-2026-39316
Published: April 11, 2026
cups
OpenPrinting
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to use-after-free in cupsdDeleteTemporaryPrinters() in scheduler/printers.c when deleting temporary printers that still have subscriptions referencing them. A local user can create a temporary printer with a subscription and trigger dereference of the dangling subscription pointer to execute arbitrary code.
The dangling pointer is subsequently dereferenced at multiple code sites in the scheduler, and the advisory confirms denial of service with potential code execution through heap grooming.