{"id":"CVE-2026-32848","state":"PUBLISHED","title":"NetBSD cryptodev Race Condition Double-Free via cryptodev_op()","description":"NetBSD prior to commit ec8451e contains a race condition vulnerability in cryptodev_op() within the opencrypto subsystem that allows local attackers to trigger a double-free condition by concurrently issuing CIOCCRYPT operations on the same session identifier on SMP systems. Attackers can exploit mutable per-operation state embedded in the csession struct to corrupt kernel heap memory.","publishedAt":"2026-05-18T17:52:55.753Z","updatedAt":"2026-07-14T18:40:01.569Z","severity":{"score":5.7,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["NetBSD src"],"affected":[{"vendor":"NetBSD","product":"src","packageURL":"pkg:github/NetBSD/src","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"ec8451efc1565516aba9e7047e1a1a1ce7953a2f","versionType":"git"}],"repo":"https://github.com/NetBSD/src"}],"references":["https://nasm.re/posts/uaf_netbsd_crypto/","https://github.com/NetBSD/src/commit/ec8451efc1565516aba9e7047e1a1a1ce7953a2f","https://www.vulncheck.com/advisories/netbsd-cryptodev-race-condition-double-free-via-cryptodev-op"],"weaknesses":["CWE-415","CWE-362"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/32xxx/CVE-2026-32848.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-32848","state":"PUBLISHED","datePublished":"2026-05-18T17:52:55.753Z","dateUpdated":"2026-07-14T18:40:01.569Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-03-16T18:11:41.758Z"},"containers":{"cna":{"title":"NetBSD cryptodev Race Condition Double-Free via cryptodev_op()","descriptions":[{"lang":"en","value":"NetBSD prior to commit ec8451e contains a race condition vulnerability in cryptodev_op() within the opencrypto subsystem that allows local attackers to trigger a double-free condition by concurrently issuing CIOCCRYPT operations on the same session identifier on SMP systems. Attackers can exploit mutable per-operation state embedded in the csession struct to corrupt kernel heap memory."}],"affected":[{"vendor":"NetBSD","product":"src","packageURL":"pkg:github/NetBSD/src","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"ec8451efc1565516aba9e7047e1a1a1ce7953a2f","versionType":"git"}],"repo":"https://github.com/NetBSD/src"}],"references":[{"url":"https://nasm.re/posts/uaf_netbsd_crypto/","tags":["technical-description","exploit"]},{"url":"https://github.com/NetBSD/src/commit/ec8451efc1565516aba9e7047e1a1a1ce7953a2f","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/netbsd-cryptodev-race-condition-double-free-via-cryptodev-op","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":5.7,"vectorString":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"MEDIUM","baseScore":4.7,"vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-415","lang":"en","description":"Double Free","type":"CWE"},{"cweId":"CWE-362","lang":"en","description":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T18:40:01.569Z"},"tags":["x_open-source"],"datePublic":"2026-04-29T00:00:00.000Z","credits":[{"lang":"en","value":"nasm","type":"finder"},{"lang":"en","value":"VulnCheck","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-19T12:19:56.726573Z","id":"CVE-2026-32848","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-19T12:20:20.500Z"}}]}}}