{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "5.9.5.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "5.10.pre1"
                  },
                  {
                    "fixed": "5.10.pre3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "e96e212a101d4c4beb51cf7cd7d89f1e342f9eed"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "11a86c9aeb31f3cf07d6cc9259fcae34de6b3474"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "b44e7f15bdb9014e5cb199c81f787ce9398c7d14"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "319bbd0bb36547992c0e1302fef278c6f49d0c80"
            },
            {
              "introduced": "202ea1c6c8b2b52b238cd60696d90d4c8e9e62c6"
            },
            {
              "fixed": "6f07130f37376d7ee9ebd5081858921cb73dc444"
            },
            {
              "fixed": "e96e212a101d4c4beb51cf7cd7d89f1e342f9eed"
            },
            {
              "fixed": "11a86c9aeb31f3cf07d6cc9259fcae34de6b3474"
            },
            {
              "fixed": "b44e7f15bdb9014e5cb199c81f787ce9398c7d14"
            }
          ],
          "repo": "https://github.com/net-snmp/net-snmp",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-124"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138295.json"
  },
  "details": "Net-SNMP snmpd through 5.9.5.2 and 5.10.pre1 before 5.10.pre3 contains a heap out-of-bounds write vulnerability in view_parse_oid() that allows authenticated attackers with SNMP write access to corrupt heap memory. Attackers can send a single SET to vacmViewTreeFamilyTable whose index begins with sub-identifier 4294967295, causing a one-byte write before a malloc(0) allocation and crashing snmpd.",
  "id": "CVE-2026-138295",
  "modified": "2026-11-28T17:46:05.210573298Z",
  "published": "2026-11-28T16:51:53.825Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138295.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/net-snmp/net-snmp"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/net-snmp/net-snmp/blob/v5.9.5.2/agent/mibgroup/mibII/vacm_vars.c#L1468-L1517"
    },
    {
      "type": "FIX",
      "url": "https://github.com/net-snmp/net-snmp/commit/11a86c9aeb31f3cf07d6cc9259fcae34de6b3474"
    },
    {
      "type": "FIX",
      "url": "https://github.com/net-snmp/net-snmp/commit/b44e7f15bdb9014e5cb199c81f787ce9398c7d14"
    },
    {
      "type": "FIX",
      "url": "https://github.com/net-snmp/net-snmp/commit/e96e212a101d4c4beb51cf7cd7d89f1e342f9eed"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138295"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/net-snmp-snmpd-through-5.9.5.2-and-5.10-pre1-before-5.10-pre3-heap-out-of-bounds-write-via-view-parse-oid"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Net-SNMP snmpd through 5.9.5.2 and 5.10.pre1 before 5.10.pre3 Heap Out-of-Bounds Write via view_parse_oid()"
}