{"id":"CVE-2026-32849","aliases":["CVE-2026-32849"],"related":[],"kind":"vulnerability","state":"published","title":"NetBSD Signed Integer Overflow in cryptodev_op via cryptodev.c","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"NetBSD anterior al commit ec8451e contiene una vulnerabilidad de desbordamiento de entero con signo en la función cryptodev_op() en sys/opencrypto/cryptodev.c donde la variable local iov_len se declara como un int con signo pero se le asigna un valor cop  ->  dst_len sin signo, causando un comportamiento indefinido cuando cop  ->  dst_len excede INT_MAX. Un atacante local con acceso a /dev/crypto y un tipo de sesión de compresión puede explotar esta vulnerabilidad proporcionando un valor dst_len que exceda INT_MAX para desencadenar un pánico del kernel a través de una desreferencia de puntero NULL cuando CONFIG_SVS está deshabilitado y aritmética de punteros UIO corrupta.","source":"nvd"}],"published":"2026-05-18T17:42:29.642Z","modified":"2026-10-26T13:10:00.140Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.7,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-190","CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"0","fixed":"ec8451efc1565516aba9e7047e1a1a1ce7953a2f","status":"affected"}],"vendor":"NetBSD","product":"src","repo":"https://github.com/NetBSD/src","source":"cvelist"}],"references":[{"url":"https://nasm.re/posts/uaf_netbsd_crypto/","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NetBSD/src/commit/ec8451efc1565516aba9e7047e1a1a1ce7953a2f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/netbsd-signed-integer-overflow-in-cryptodev-op-via-cryptodev-c","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["nasm","VulnCheck"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-18T18:56:51.463Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-32849","url":"https://www.cve.org/CVERecord?id=CVE-2026-32849","licence":"CVE Terms of Use","modified":"2026-07-14T18:40:02.277Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-32849","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32849","licence":"Public domain","modified":"2026-10-26T13:10:00.140Z"}],"updatedAt":"2026-11-25T22:59:21.928Z","epss":{"score":0.00109,"percentile":0.01341,"date":"2026-12-01T12:00:22.000Z"}}