ALPINE-CVE-2026-39316
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, a use-after-free vulnerability exists in the CUPS scheduler (cupsd) when temporary printers are automatically deleted. cupsdDeleteTemporaryPrinters() in scheduler/printers.c calls cupsdDeletePrinter() without first expiring subscriptions that reference the printer, leaving cupsd_subscription_t.dest as a dangling pointer to freed heap memory. The dangling pointer is subsequently dereferenced at multiple code sites, causing a crash (denial of service) of the cupsd daemon. With heap grooming, this can be leveraged for code execution.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.21 | cups | 2.4.9-r0, 2.4.8-r0, 2.4.7-r4 |
| Alpine:v3.20 | cups | 2.2.2-r1, 2.4.9-r1, 2.4.9-r0 |
| Alpine:v3.22 | cups | 2.4.9-r0, 1.4.1-r0, 1.4.2-r0 |
| Alpine:v3.23 | cups | 2.4.9-r0, 2.4.8-r0, 2.4.7-r4 |
Timeline
- Apr 7, 2026 CVE Published
- Apr 29, 2026 CVE Updated
- Apr 30, 2026 Distribution Patch