{"schemaVersion":3,"id":"CVE-2026-39316","aliases":["ALPINE-CVE-2026-39316","UBUNTU-CVE-2026-39316","DEBIAN-CVE-2026-39316"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-04-07T17:00:26.801Z","modified":"2026-04-09T15:42:40.861Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.2,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":6.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":6.4,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":6.4,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":6.4,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00182,"percentile":0.07339,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.0040000000000000105,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00178},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00182,"percentile":0.07339}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00182,"percentile":0.07339}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_OPENPRINTING_CUPS","name":"Cups","source":"github","url":"https://github.com/OpenPrinting/cups/security/advisories/GHSA-cxc6-w2g7-69p7","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"alpine","product":"cups","name":"cups","label":"cups","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/cups","purlType":"apk","versions":[{"text":"< 2.4.18-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.18-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"cups","name":"cups","label":"cups","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cups","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.4.17-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.4.17-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"cups","name":"cups","label":"cups","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/cups","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.4.1op1-1ubuntu4.20","noFixRecorded":false,"fixedIn":null},{"text":"< 2.4.7-1.2ubuntu7.13","noFixRecorded":false,"fixedIn":null},{"text":"< 2.4.12-0ubuntu3.9","noFixRecorded":false,"fixedIn":null},{"text":"< 2.4.16-1ubuntu1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.4.1op1-1ubuntu4.20 | < 2.4.7-1.2ubuntu7.13 | < 2.4.12-0ubuntu3.9 | < 2.4.16-1ubuntu1.2","eol":null,"hubHref":null},{"vendor":"openprinting","product":"cups","name":"cups","label":"cups","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.4.16","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.4.16","eol":null,"hubHref":"/vendor/openprinting/cups"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/OpenPrinting/cups/security/advisories/GHSA-pjv5-prqp-46rg","label":"github.com/OpenPrinting/cups/security/advisories/GHSA-pjv5-prqp-46rg","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Exploit","Mitigation","Vendor Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-39316","label":"security.alpinelinux.org/vuln/CVE-2026-39316","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-39316","label":"ubuntu.com/security/CVE-2026-39316","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-39316","label":"www.cve.org/CVERecord?id=CVE-2026-39316","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8405-1","label":"ubuntu.com/security/notices/USN-8405-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-39316","label":"security-tracker.debian.org/tracker/CVE-2026-39316","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39316","label":"nvd.nist.gov/vuln/detail/CVE-2026-39316","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0201","OPENSUSE-SU-2026:10589-1","RHSA-2026:8814","SUSE-SU-2026:2718-1","SUSE-SU-2026:2732-1","USN-8405-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10589-1","SUSE-SU-2026:2718-1","SUSE-SU-2026:2732-1","USN-8405-1"]},"timeline":[{"kind":"published","date":"2026-04-07T17:00:26.801Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-09T15:42:40.861Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:02:19.834Z","stale":false,"partial":false}}