Description
inih before r63 contains a one-byte stack buffer under-read in ini_parse_stream() in ini.c that allows attackers to read abyss[-1] via an embedded NUL byte after an overlong line. Attackers can supply an INI file or string with a line of at least INI_MAX_LINE-1 bytes followed by a NUL byte, causing undefined behavior reported by memory sanitizers.
Published: 2026-11-02
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: Information Disclosure
Action: Update
AI Analysis

Impact

The vulnerability is a one‑byte stack buffer under‑read in the ini_parse_stream function of inih. An attacker who can supply an INI file or string with an overlong line ending with a NUL byte can cause the parser to read memory beyond the allocated buffer, potentially exposing stack contents. The bug is classified as buffer under-read (CWE‑127) and carries a CVSS score of 4.8, indicating moderate severity, and primarily allows information disclosure.

Affected Systems

This flaw affects the inih library released by benhoyt. All versions prior to release r63 are vulnerable. The vulnerability was discovered in the git commit referenced in the advisories and has been patched in the r63 release.

Risk and Exploitability

The attack requires the ability to supply a crafted INI string or file to a vulnerable instance of ini_parse_stream. Therefore the primary vector is local file or config injection, though applications that accept untrusted configuration data could be exposed remotely. The EPSS score is unavailable, and the vulnerability is not listed in the CISA KEV catalog, suggesting that it is not widely exploited yet. Nonetheless the modest CVSS score and potential for leaking sensitive values warrant timely mitigation.

Generated by OpenCVE AI on November 2, 2026 at 15:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to inih r63 or later to eliminate the buffer under‑read bug.
  • If an upgrade cannot occur immediately, sanitize input by rejecting lines longer than INI_MAX_LINE-1 or removing embedded NUL bytes before parsing.
  • Restrict the use of ini_parse_stream to trusted configuration files and avoid parsing untrusted data.

Generated by OpenCVE AI on November 2, 2026 at 15:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 02 Nov 2026 14:30:00 +0000

Type Values Removed Values Added
Description inih before r63 contains a one-byte stack buffer under-read in ini_parse_stream() in ini.c that allows attackers to read abyss[-1] via an embedded NUL byte after an overlong line. Attackers can supply an INI file or string with a line of at least INI_MAX_LINE-1 bytes followed by a NUL byte, causing undefined behavior reported by memory sanitizers.
Title inih before r63 Stack Buffer Under-Read in ini_parse_stream Discard Loop
Weaknesses CWE-127
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-02T14:28:50.157Z

Reserved: 2026-11-02T14:15:20.723Z

Link: CVE-2025-71450

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-02T15:17:12.650

Modified: 2026-11-02T19:34:23.993

Link: CVE-2025-71450

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-02T15:45:17Z

Weaknesses