CVE-2026-32849
JSON

5.7medium

NetBSD Signed Integer Overflow in cryptodev_op via cryptodev.c

Severity
5.7medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

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.

Affected

Product or packageVersionsReported by
NetBSD srcbefore ec8451efc1565516aba9e7047e1a1a1ce7953a2fCVE List

All scores

VulnCheck5.7medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-190CWE-476

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-32849 changed 2026-07-14CVE Terms of Use
NVDCVE-2026-32849 changed 2026-10-26Public domain