# CVE-2026-111137: libsmi through 0.5.0 Out-of-Bounds Write via smiValueAsString OCTET STRING DEFVAL

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T18:57:30.581Z
- Modified: 2026-10-16T18:25:45.343Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- amartin755 libsmi: up to 0.5.0

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`

## References

- <https://hackmd.io/@haind-pwn/libsmi-smivalueasstring-octetstring-defval-oob-write> (exploit, technical-description)
- <https://github.com/amartin755/libsmi/blob/c58307210fe995ec419db976eb234aebc71a9216/lib/smi.c#L479-L566> (technical-description)
- <https://github.com/amartin755/libsmi> (product)
- <https://www.vulncheck.com/advisories/libsmi-through-0.5.0-out-of-bounds-write-via-smivalueasstring-octet-string-defval> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-111137](https://www.cve.org/CVERecord?id=CVE-2026-111137), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-111137](https://nvd.nist.gov/vuln/detail/CVE-2026-111137), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-111137 · Whole record: https://cve.day/CVE-2026-111137.json · Rebuilt by cve.day 2026-11-25T22:59:44.933Z
