{"id":"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.","modified":"2026-11-11T13:19:32.757833412Z","published":"2026-11-02T14:28:50.157Z","related":["openSUSE-SU-2026:12432-1"],"database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-127"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71450.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71450.json"},{"type":"ADVISORY","url":"https://github.com/benhoyt/inih/releases/tag/r63"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71450"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/inih-before-r63-stack-buffer-under-read-in-ini-parse-stream-discard-loop"},{"type":"REPORT","url":"https://github.com/benhoyt/inih/issues/223"},{"type":"FIX","url":"https://github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c"},{"type":"FIX","url":"https://github.com/benhoyt/inih/pull/206"},{"type":"PACKAGE","url":"https://github.com/benhoyt/inih"},{"type":"ARTICLE","url":"https://github.com/benhoyt/inih/blob/r62/ini.c#L162-L169"},{"type":"ARTICLE","url":"https://hackmd.io/@haindpwn/inih-long-line-discard-oob-read"},{"type":"EVIDENCE","url":"https://hackmd.io/@haindpwn/cve-2025-71450-inih-long-line-discard-oob-read#Detailed-attack-steps"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/benhoyt/inih","events":[{"introduced":"0"},{"fixed":"611ab51f8dd7ec583543815b0de693495045fbf8"},{"fixed":"8e06f6b77b5d4471bdc6d85ada81b67d37354a5c"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"r63"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"8e06f6b77b5d4471bdc6d85ada81b67d37354a5c"}],"source":"REFERENCES_COMMIT"},{"original_tag":"r63","range":[{"fixed":"611ab51f8dd7ec583543815b0de693495045fbf8"}],"source":"REFERENCES_TAG"}]}}],"versions":["r62","r61","r60","r59","r58","r57","r56","r55","r54","r53","r52","r51","r50","r49","r48","r47","r46","r45","r44","r43","r42","r41","r40","r39","r38","r37","r36","r35","r34","r33","r32","r31","r30"],"database_specific":{"vanir_signatures":[{"source":"https://github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c","target":{"file":"ini.c","function":"ini_parse_stream"},"deprecated":false,"digest":{"length":2961,"function_hash":"110832448364110569884477995886137271132"},"id":"CVE-2025-71450-d16c0dea","signature_type":"Function","signature_version":"v1"},{"id":"CVE-2025-71450-eb44bb97","signature_type":"Line","signature_version":"v1","source":"https://github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c","target":{"file":"ini.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["156873353463738164649777657086842449294","175647881214853965737041255697315356705","196664035244782353953297288013241210938","25419081376258595996391638351538523540","26693907298721679687092993939309361768","205948171396502364247129600157347624420","318791231824022109664338639672761496123","316607099573537408711215762681772263605"]}}],"vanir_signatures_modified":"2026-11-11T13:19:32Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71450.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}