inih out-of-bounds read in INI parsing
benhoyt inih
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| benhoyt inih |
| No fix yet |
Original 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.
From the CVE record · VulnCheck