{"id":"CVE-2026-32849","published":"2026-05-18T17:42:29Z","modified":"2026-07-14T18:40:02Z","title":"NetBSD Signed Integer Overflow in cryptodev_op via cryptodev.c","vendor":"NetBSD","product":"src","tier":"tail","description":{"text":"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->dst_len value, causing undefined behavior when cop->dst_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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00109,"percentile":0.01262,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-476","name":"NULL Pointer Dereference"}],"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-signed-integer-overflow-in-cryptodev-op-via-cryptodev-c","tags":["third-party-advisory"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":0.25},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"netbsd","affectedVersions":[{"vendor":"NetBSD","product":"src","versions":["< ec8451efc1565516aba9e7047e1a1a1ce7953a2f"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-18T18:56:51.463337Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-30789","exploited":false,"provenance":"source"},"exploitRefs":["https://nasm.re/posts/uaf_netbsd_crypto/"]}