CVE-2025-71450
Dashboard / Vulnerabilities / CVE-2025-71450
Summary: inih before r63 Stack Buffer Under-Read in ini_parse_stream Discard Loop
Details: 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: https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71450.json, https://github.com/benhoyt/inih/releases/tag/r63, https://nvd.nist.gov/vuln/detail/CVE-2025-71450, https://www.vulncheck.com/advisories/inih-before-r63-stack-buffer-under-read-in-ini-parse-stream-discard-loop, https://github.com/benhoyt/inih/issues/223, https://github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c, https://github.com/benhoyt/inih/pull/206, https://github.com/benhoyt/inih, https://github.com/benhoyt/inih/blob/r62/ini.c#L162-L169, https://hackmd.io/@haindpwn/inih-long-line-discard-oob-read, https://hackmd.io/@haindpwn/cve-2025-71450-inih-long-line-discard-oob-read#Detailed-attack-steps
Affected packages
Package
Name:
Purl:
