CVE-2026-32849: NetBSD Signed Integer Overflow in cryptodev_op via cryptodev.c
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.
Security readout for executives and security teams
Plain-English summary
This flaw can let a local, low-privileged user crash an affected NetBSD kernel through /dev/crypto under specific conditions. It is not a remote compromise issue in the provided sources, but it can create a denial-of-service risk for shared or multi-user NetBSD systems.
Executive priority
Treat as a moderate-priority availability issue. Patch shared or multi-user NetBSD systems first, especially where local users are not fully trusted. It does not currently warrant emergency remote-exploitation response based on the supplied evidence.
Technical view
In NetBSD cryptodev_op(), an unsigned cop->dst_len can be assigned into signed int iov_len. Values above INT_MAX cause signed integer overflow and undefined behavior, leading to corrupted UIO pointer arithmetic and a kernel panic through NULL pointer dereference under the described configuration conditions.
Likely exposure
Exposure is limited to NetBSD source before commit ec8451efc1565516aba9e7047e1a1a1ce7953a2f where local users can access /dev/crypto and create the relevant compression session type. Internet-facing services are not directly implicated by the source bundle.
Exploitation context
The bundle describes a local attacker with /dev/crypto access and low privileges. KEV is false, and the provided sources do not establish active exploitation in the wild. A technical write-up is cited, so defenders should treat exploitability as plausible without assuming broad exploitation.
Researcher notes
Key conditions are local access, /dev/crypto reachability, compression session use, oversized dst_len, and the configuration path described as CONFIG_SVS disabled. The provided affected version data is coarse, so confirm exact branch impact against NetBSD commit history.
Mitigation direction
Update to NetBSD code including commit ec8451efc1565516aba9e7047e1a1a1ce7953a2f.
Check NetBSD guidance for supported branch or release-specific fixes.
Restrict /dev/crypto access to trusted local users where feasible.
Prioritize shared NetBSD hosts with untrusted local accounts.
Validation and detection
Inventory NetBSD systems and their source or kernel update level.
Verify whether the fix commit is present in the deployed source tree.
Review /dev/crypto availability and permissions on affected hosts.
Identify systems with untrusted local shell, service, or jail users.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-190: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-190 · source CWE mapping
Integer Overflow or Wraparound
Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.