CVE-2026-111137

libsmi through 0.5.0 Out-of-Bounds Write via smiValueAsString OCTET STRING DEFVAL

Published Oct 15, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

libsmi 0.5.0 contains an out-of-bounds write in the smiValueAsString function, allowing an attacker to overflow a 1024‑byte static buffer by hex rendering an OCTET STRING DEFVAL of 512 or more bytes that begins with a null byte. This overflow corrupts adjacent global variables and can crash the smidump utility or other consumer applications. The vulnerability does not directly provide a code‑execution path but can be leveraged to disrupt service or potentially modify memory if the target process has sufficient privileges.

Affected Systems

The only affected product is amartin755 libsmi, version 0.5.0. All earlier versions are also exposed to the same issue.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity. No EPSS score is available, and the vulnerability is not listed in CISA’s KEV catalog. Attackers must supply a crafted MIB file that contains a large OCTET STRING DEFVAL with a leading 0x00 byte, so the most likely attack vector is local or controlled by a user who can provide such a file to the library. Because the flaw only causes a crash or memory corruption, exploitation is limited to denial of service unless the attacker can influence privileged memory regions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a newer libsmi release that patches the out‑of‑bounds write if one is available.
  • Restrict the execution of smidump or other consumers to a least‑privilege user so that memory corruption cannot affect higher‑privileged services.
  • Validate MIB files before processing to reject OCTET STRING DEFVAL values of 512 or more bytes and remove leading 0x00 bytes.

Generated by OpenCVE AI on October 16, 2026 at 06:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Amartin755
Amartin755 libsmi
Vendors & Products Amartin755
Amartin755 libsmi
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title libsmi through 0.5.0 Out-of-Bounds Write via smiValueAsString OCTET STRING DEFVAL
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 16, 2026, 5:10 PM
Reserved
Oct 15, 2026, 5:03 PM
Status
Deferred
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 16, 2026, 6:25 PM
Severity
Moderate
Public date
Oct 15, 2026, 6:57 PM