{"id":"CVE-2026-39316","aliases":["CVE-2026-39316"],"related":[],"kind":"vulnerability","state":"published","title":"CUPS has a use-after-free in `cupsdDeleteTemporaryPrinters` via dangling subscription pointer","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"OpenPrinting CUPS es un sistema de impresión de código abierto para Linux y otros sistemas operativos tipo Unix. En las versiones 2.4.16 y anteriores, existe una vulnerabilidad de uso después de liberación en el planificador de CUPS (cupsd) cuando las impresoras temporales se eliminan automáticamente. cupsdDeleteTemporaryPrinters() en scheduler/printers.c llama a cupsdDeletePrinter() sin antes expirar las suscripciones que hacen referencia a la impresora, dejando cupsd_subscription_t.dest como un puntero colgante a memoria de montón liberada. El puntero colgante es posteriormente desreferenciado en múltiples sitios de código, causando un fallo (denegación de servicio) del demonio cupsd. Con la preparación del montón, esto puede ser aprovechado para la ejecución de código.","source":"nvd"}],"published":"2026-04-07T17:00:26.801Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":"<= 2.4.16","status":"affected"}],"vendor":"OpenPrinting","product":"cups","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.4.16"}],"vendor":"openprinting","product":"cups","cpe":"cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OpenPrinting/cups/security/advisories/GHSA-pjv5-prqp-46rg","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-04-09T15:41:44.005Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39316","url":"https://www.cve.org/CVERecord?id=CVE-2026-39316","licence":"CVE Terms of Use","modified":"2026-04-09T15:42:40.861Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39316","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39316","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:18.140Z","epss":{"score":0.00189,"percentile":0.0888,"date":"2026-12-01T12:00:22.000Z"}}