CVE-2026-32849
Integer Overflow in NetBSD cryptodev_op Leading to Kernel Panic
Publication date: 2026-05-18
Last updated on: 2026-05-18
Assigner: VulnCheck
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| netbsd | netbsd | to commit_ec8451e (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-190 | The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number. |
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in NetBSD prior to a specific commit (ec8451e) in the cryptodev_op() function located in sys/opencrypto/cryptodev.c. It is caused by a signed integer overflow where a signed integer variable iov_len is assigned a value from an unsigned variable cop->dst_len. When cop->dst_len exceeds the maximum value for a signed integer (INT_MAX), this causes undefined behavior.
A local attacker who has access to /dev/crypto and can use a compression session type can exploit this by providing a dst_len value larger than INT_MAX. This triggers a kernel panic due to a NULL pointer dereference when the CONFIG_SVS option is disabled, resulting in corrupted UIO pointer arithmetic.
How can this vulnerability impact me? :
The vulnerability can lead to a kernel panic, which causes the system to crash or become unstable. This denial of service can disrupt normal operations and potentially lead to loss of availability.
Since the exploit requires local access with permissions to /dev/crypto and the ability to initiate a compression session, it is limited to local attackers with some level of privilege.