# CVE-2026-32849: NetBSD Signed Integer Overflow in cryptodev_op via cryptodev.c

- Severity: Medium 5.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-18T17:42:29.642Z
- Modified: 2026-10-26T13:10:00.140Z
- Weaknesses: CWE-190, CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- NetBSD src: before ec8451efc1565516aba9e7047e1a1a1ce7953a2f

## Every score

- VulnCheck: CVSS:4.0 5.7 Medium `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`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://nasm.re/posts/uaf_netbsd_crypto/> (exploit, technical-description)
- <https://github.com/NetBSD/src/commit/ec8451efc1565516aba9e7047e1a1a1ce7953a2f> (patch)
- <https://www.vulncheck.com/advisories/netbsd-signed-integer-overflow-in-cryptodev-op-via-cryptodev-c> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-32849](https://www.cve.org/CVERecord?id=CVE-2026-32849), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2026-32849](https://nvd.nist.gov/vuln/detail/CVE-2026-32849), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-32849 · Whole record: https://cve.day/CVE-2026-32849.json · Rebuilt by cve.day 2026-11-25T22:59:21.928Z
