{"id":"CVE-2026-32849","summary":"NetBSD Signed Integer Overflow in cryptodev_op via cryptodev.c","details":"NetBSD prior to commit ec8451e contains a signed integer overflow vulnerability in the cryptodev_op() function in sys/opencrypto/cryptodev.c where the local variable iov_len is declared as a signed int but assigned from an unsigned cop-\u003edst_len value, causing undefined behavior when cop-\u003edst_len exceeds INT_MAX. A local attacker with access to /dev/crypto and a compression session type can exploit this vulnerability by providing a dst_len value exceeding INT_MAX to trigger a kernel panic through NULL pointer dereference when CONFIG_SVS is disabled and corrupted UIO pointer arithmetic.","modified":"2026-07-16T03:48:38.763623146Z","published":"2026-05-18T17:42:29.642Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"fixed":"ec8451efc1565516aba9e7047e1a1a1ce7953a2f"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-190","CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32849.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32849.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32849"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/netbsd-signed-integer-overflow-in-cryptodev-op-via-cryptodev-c"},{"type":"FIX","url":"https://github.com/NetBSD/src/commit/ec8451efc1565516aba9e7047e1a1a1ce7953a2f"},{"type":"PACKAGE","url":"https://github.com/NetBSD/src"},{"type":"EVIDENCE","url":"https://nasm.re/posts/uaf_netbsd_crypto/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/netbsd/src","events":[{"introduced":"0"},{"fixed":"ec8451efc1565516aba9e7047e1a1a1ce7953a2f"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32849.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}