CVE-2025-71450: medium-severity vulnerability in benhoyt inih
inih before r63 Stack Buffer Under-Read in ini_parse_stream Discard Loop
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
33Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 4.8epss 0.1%
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.
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
Affected products
benhoyt · inihpublic PoCs found — 1
cve_referencehackmd.io/@haindpwn/cve-2025-71450-inih-long-line-discard-oob-read#Detailed-attack-stepsunverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
https://github.com/benhoyt/inih/blob/r62/ini.c#L162-L169https://github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5chttps://github.com/benhoyt/inih/issues/223https://github.com/benhoyt/inih/pull/206https://github.com/benhoyt/inih/releases/tag/r63https://hackmd.io/@haindpwn/cve-2025-71450-inih-long-line-discard-oob-read#Detailed-attack-stepshttps://hackmd.io/@haindpwn/inih-long-line-discard-oob-readhttps://www.vulncheck.com/advisories/inih-before-r63-stack-buffer-under-read-in-ini-parse-stream-discard-loop