Home

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.

PUBLISHED Reserved 2026-03-16 | Published 2026-05-18 | Updated 2026-05-18 | Assigner VulnCheck




MEDIUM: 5.7CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

MEDIUM: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem types

Integer Overflow or Wraparound

NULL Pointer Dereference

Product status

Default status
affected

Any version before ec8451efc1565516aba9e7047e1a1a1ce7953a2f
affected

Credits

nasm finder

VulnCheck finder

References

nasm.re/posts/uaf_netbsd_crypto/ technical-description exploit

github.com/...ommit/ec8451efc1565516aba9e7047e1a1a1ce7953a2f patch

www.vulncheck.com/...verflow-in-cryptodev-op-via-cryptodev-c third-party-advisory

cve.org (CVE-2026-32849)

nvd.nist.gov (CVE-2026-32849)

Download JSON