{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.5.0"
              },
              {
                "fixed": "0.5.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c58307210fe995ec419db976eb234aebc71a9216"
            }
          ],
          "repo": "https://github.com/amartin755/libsmi",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111137.json"
  },
  "details": "libsmi through 0.5.0 contains an out-of-bounds write vulnerability in smiValueAsString() in lib/smi.c that allows attackers to overflow a fixed 1024-byte static buffer through hex rendering of OCTET STRING values. Attackers can supply a crafted MIB with an OCTET STRING DEFVAL of 512 or more octets and a leading 0x00 byte to corrupt adjacent library globals and crash smidump or other consumers.",
  "id": "CVE-2026-111137",
  "modified": "2026-10-17T02:30:25.201051568Z",
  "published": "2026-10-15T18:57:30.581Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111137.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111137"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/libsmi-through-0.5.0-out-of-bounds-write-via-smivalueasstring-octet-string-defval"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/amartin755/libsmi"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/amartin755/libsmi/blob/c58307210fe995ec419db976eb234aebc71a9216/lib/smi.c#L479-L566"
    },
    {
      "type": "EVIDENCE",
      "url": "https://hackmd.io/@haind-pwn/libsmi-smivalueasstring-octetstring-defval-oob-write"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "libsmi through 0.5.0 Out-of-Bounds Write via smiValueAsString OCTET STRING DEFVAL"
}