CVE-2025-71450
inih before r63 contains a one-byte stack buffer under-read in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/benhoyt/inih/blob/r62/ini.c#L162-L169
- github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c
- github.com/benhoyt/inih/issues/223
- github.com/benhoyt/inih/pull/206
- github.com/benhoyt/inih/releases/tag/r63
- hackmd.io/@haindpwn/inih-long-line-discard-oob-read
- www.vulncheck.com/advisories/inih-before-r63-stack-buffer-under-read-in-ini-parse-stream-d
- hackmd.io/@haindpwn/cve-2025-71450-inih-long-line-discard-oob-read#Detailed-attack-steps
- nvd.nist.gov/vuln/detail/CVE-2025-71450
- cve.org/CVERecord?id=CVE-2025-71450
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.