CVE-2026-32849
Deferred Deferred - Pending Action
Integer Overflow in NetBSD cryptodev_op Leading to Kernel Panic

Publication date: 2026-05-18

Last updated on: 2026-05-18

Assigner: 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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-18
Last Modified
2026-05-18
Generated
2026-05-20
AI Q&A
2026-05-19
EPSS Evaluated
2026-05-19
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
netbsd netbsd to commit_ec8451e (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart