{"id":"CVE-2026-111137","summary":"libsmi through 0.5.0 Out-of-Bounds Write via smiValueAsString OCTET STRING DEFVAL","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.","modified":"2026-10-17T02:48:26.249876200Z","published":"2026-10-15T18:57:30.581Z","database_specific":{"cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111137.json","cna_assigner":"VulnCheck"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/amartin755/libsmi","events":[{"introduced":"0"},{"fixed":"c58307210fe995ec419db976eb234aebc71a9216"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION"],"extracted_events":[{"introduced":"0"},{"last_affected":"0.5.0"},{"fixed":"0.5.0"}]}}],"versions":["v0.4.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111137.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","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"}]}