# CVE-2025-71450: inih before r63 Stack Buffer Under-Read in ini_parse_stream Discard Loop

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 3% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-02T14:28:50.157Z
- Modified: 2026-11-06T20:17:04.583Z
- Weaknesses: CWE-127
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- benhoyt inih: before r63

## Every score

- VulnCheck: CVSS:4.0 4.8 Medium `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`
- VulnCheck: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`

## References

- <https://hackmd.io/@haindpwn/cve-2025-71450-inih-long-line-discard-oob-read#Detailed-attack-steps> (exploit)
- <https://github.com/benhoyt/inih/pull/206> (issue-tracking, patch)
- <https://github.com/benhoyt/inih/issues/223> (issue-tracking)
- <https://github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c> (patch)
- <https://github.com/benhoyt/inih/blob/r62/ini.c#L162-L169> (technical-description)
- <https://github.com/benhoyt/inih/releases/tag/r63> (release-notes)
- <https://hackmd.io/@haindpwn/inih-long-line-discard-oob-read> (technical-description)
- <https://www.vulncheck.com/advisories/inih-before-r63-stack-buffer-under-read-in-ini-parse-stream-discard-loop> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-71450](https://www.cve.org/CVERecord?id=CVE-2025-71450), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2025-71450](https://nvd.nist.gov/vuln/detail/CVE-2025-71450), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2025-71450 · Whole record: https://cve.day/CVE-2025-71450.json · Rebuilt by cve.day 2026-11-25T22:59:12.559Z
