{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ec8451efc1565516aba9e7047e1a1a1ce7953a2f"
            }
          ],
          "repo": "https://github.com/netbsd/src",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-190",
      "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32849.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "ec8451efc1565516aba9e7047e1a1a1ce7953a2f"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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-\u003edst_len value, causing undefined behavior when cop-\u003edst_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.",
  "id": "CVE-2026-32849",
  "modified": "2026-07-16T03:31:12.061552396Z",
  "published": "2026-05-18T17:42:29.642Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32849.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-32849"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/netbsd-signed-integer-overflow-in-cryptodev-op-via-cryptodev-c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/NetBSD/src/commit/ec8451efc1565516aba9e7047e1a1a1ce7953a2f"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/NetBSD/src"
    },
    {
      "type": "EVIDENCE",
      "url": "https://nasm.re/posts/uaf_netbsd_crypto/"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "NetBSD Signed Integer Overflow in cryptodev_op via cryptodev.c"
}