CVE-2025-71450

medium

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.

References

https://www.vulncheck.com/advisories/inih-before-r63-stack-buffer-under-read-in-ini-parse-stream-discard-loop

https://hackmd.io/@haindpwn/inih-long-line-discard-oob-read

https://github.com/benhoyt/inih/releases/tag/r63

https://github.com/benhoyt/inih/pull/206

https://github.com/benhoyt/inih/issues/223

https://github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c

https://github.com/benhoyt/inih/blob/r62/ini.c#L162-L169

https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-211238

Details

Source: Mitre, NVD

Published: 2026-11-02

Updated: 2026-11-04

Risk Information

CVSS v2

Base Score: 2.1

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:P

Severity: Low

CVSS v3

Base Score: 3.3

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Severity: Low

CVSS v4

Base Score: 4.8

Vector: 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

Severity: Medium

EPSS

EPSS: 0.00127