4.8medium
inih before r63 Stack Buffer Under-Read in ini_parse_stream Discard Loop
- Severity
- 4.8medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.17% (higher than 3% of CVEs)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| benhoyt inih | before r63 | CVE List |
All scores
| VulnCheck | 4.8medium CVSS:4.0 | 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 | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
inih anterior a r63 contiene una lectura por debajo del límite de un byte en el búfer de pila en ini_parse_stream() en ini.c que permite a los atacantes leer abyss[-1] a través de un byte NULO incrustado después de una línea excesivamente larga. Los atacantes pueden proporcionar un archivo INI o una cadena con una línea de al menos INI_MAX_LINE-1 bytes seguida de un byte NULO, lo que provoca un comportamiento indefinido reportado por los sanitizadores de memoria.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-71450 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2025-71450 changed 2026-11-06 | Public domain |