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.
Metrics
CVSS 3.1 3.3/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| benhoyt | inih | < r63 |
References
- https://github.com/benhoyt/inih/blob/r62/ini.c#L162-L169
- https://github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c
- https://github.com/benhoyt/inih/issues/223
- https://github.com/benhoyt/inih/pull/206
- https://github.com/benhoyt/inih/releases/tag/r63
- https://hackmd.io/@haindpwn/inih-long-line-discard-oob-read
- https://www.vulncheck.com/advisories/inih-before-r63-stack-buffer-under-read-in-ini-parse-stream-discard-loop
- https://hackmd.io/@haindpwn/cve-2025-71450-inih-long-line-discard-oob-read#Detailed-attack-steps
Timeline
- Published
- Nov 2, 2026
- Last modified
- Nov 6, 2026
- NVD status
- Awaiting Analysis