GHSA-gh7m-xpp3-w3vqMediumCVSS 3.3
inih before r63 contains a one-byte stack buffer under-read in ini_parse_stream() in ini.c that...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (9)
- https://nvd.nist.gov/vuln/detail/CVE-2025-71450
- https://github.com/benhoyt/inih/issues/223
- https://github.com/benhoyt/inih/pull/206
- https://github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c
- https://github.com/benhoyt/inih/blob/r62/ini.c#L162-L169
- 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://github.com/advisories/GHSA-gh7m-xpp3-w3vq