NULL pointer dereference in NetBSD Src
CVE-2026-32849
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.002 (3.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 4th percentile — 3.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.000
Affected products
- NetBSD Src — versions 0
Weakness classification (CWE)
References
- github.com/NetBSD/src/commit/ec8451efc1565516aba9e7047e1a1a1ce7953a2f (patch)
- nasm.re/posts/uaf_netbsd_crypto/ (technical-description, exploit)
- www.vulncheck.com/advisories/netbsd-signed-integer-overflow-in-cryptodev-op-via… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-32849?
- CVE-2026-32849 is a medium-severity vulnerability in NetBSD Src, classified under Integer Overflow or Wraparound. CVSS score: 5.5/10. Published 2026-05-18.
- How severe is CVE-2026-32849?
- Medium severity. CVSS v3 base score is 5.5 out of 10.