Signed Integer Overflow Vulnerability in NetBSD's Crypto Driver
CVE-2026-32849
Key Information:
Badges
What is CVE-2026-32849?
The vulnerability in NetBSD's cryptodev_op function arises from a signed integer overflow due to the improper handling of data types. The local variable iov_len, defined as a signed integer, erroneously receives a value from the unsigned variable cop->dst_len, leading to undefined behavior when dst_len exceeds INT_MAX. This flaw enables a local attacker with access to /dev/crypto to exploit this weakness, potentially resulting in a kernel panic from a NULL pointer dereference. This issue becomes particularly critical when the CONFIG_SVS setting is disabled, allowing for possible exploitation during certain conditions of a compression session.
Affected Version(s)
src 0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
