CVE-2026-32849

NetBSD Signed Integer Overflow in cryptodev_op via cryptodev.c

State
Published
Severity
5.7 Medium
Published
May 18, 2026
Updated
Jul 14, 2026
Reserved
Mar 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.7 MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HVulnCheck

Weaknesses

  • CWE-190 Integer Overflow or Wraparound
  • CWE-476 NULL Pointer Dereference

Affected Products

ProductVersions
srcNetBSD
  • before ec8451efc1565516aba9e7047e1a1a1ce7953a2fAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.