Kernel panic via signed cryptodev length overflow
Published May 18, 2026 · Updated May 18, 2026
Signed integer overflow in NetBSD src before commit ec8451e allows local users to panic the kernel via a crafted /dev/crypto request. In sys/opencrypto/cryptodev.c, cryptodev_op() assigns the unsigned cop->dst_len to signed iov_len; values above INT_MAX become negative, skip allocation, and leave a NULL destination for copyin(). Exploitation requires access to /dev/crypto, a compression session, and a dst_len above INT_MAX; the demonstrated consequence is a kernel panic when CONFIG_SVS is disabled.
Summary
What happened
Signed integer overflow in NetBSD src before commit ec8451e allows local users to panic the kernel via a crafted /dev/crypto request. In sys/opencrypto/cryptodev.c, cryptodev_op() assigns the unsigned cop->dst_len to signed iov_len; values above INT_MAX become negative, skip allocation, and leave a NULL destination for copyin(). Exploitation requires access to /dev/crypto, a compression session, and a dst_len above INT_MAX; the demonstrated consequence is a kernel panic when CONFIG_SVS is disabled.
The record
- CVE
- CVE-2026-32849
- Published
- May 18, 2026
- Updated
- May 18, 2026
- Vendor
- The NetBSD Foundation
- Product
- NetBSD src
- Classifications
- CWE-190, CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 18, 2026CVE publishedPublication date reported by the CVE source.
- May 18, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <ec8451efc1565516aba9e7047e1a1a1ce7953a2f
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- cryptodev_op signed-overflow proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo