CVE-2025-71450
inih before r63 Stack Buffer Under-Read in ini_parse_stream Discard Loop
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.
INFO
Published Date :
Nov. 2, 2026, 3:17 p.m.
Last Modified :
Nov. 6, 2026, 8:17 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | LOW | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 3.1 | LOW | [email protected] | ||||
| CVSS 4.0 | MEDIUM | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update the inih library to r63 or newer.
- Review code for safe handling of input data.
- Sanitize input strings before parsing.
- Implement proper buffer size checks.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-71450.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-71450 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-71450
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-71450 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-71450 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 06, 2026
Action Type Old Value New Value Added Reference https://hackmd.io/@haindpwn/cve-2025-71450-inih-long-line-discard-oob-read#Detailed-attack-steps Added SSVC {'id': 'CVE-2025-71450', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-06T19:22:12.946222Z'} -
CVE Translated by [email protected]
Nov. 04, 2026
Action Type Old Value New Value Added Translation Title: Inih, Description: 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. -
New CVE Received by [email protected]
Nov. 02, 2026
Action Type Old Value New Value Added 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. Added CVSS V4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L Added CWE CWE-127 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/71xxx/CVE-2025-71450.json">CVE-2025-71450</a> Added Reference https://github.com/benhoyt/inih/blob/r62/ini.c#L162-L169 Added Reference https://github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c Added Reference https://github.com/benhoyt/inih/issues/223 Added Reference https://github.com/benhoyt/inih/pull/206 Added Reference https://github.com/benhoyt/inih/releases/tag/r63 Added Reference https://hackmd.io/@haindpwn/inih-long-line-discard-oob-read Added Reference https://www.vulncheck.com/advisories/inih-before-r63-stack-buffer-under-read-in-ini-parse-stream-discard-loop