CVE-2025-71450
published medium CVSS 4.0 · 4.8inih before r63 Stack Buffer Under-Read in ini_parse_stream Discard Loop
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| benhoyt | — | inih0 to < r63 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | libinih-develaarch64 | Advisory build | 63-1.1 | OPENSUSE-SU-2026:12432-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libinih-develppc64le | Advisory build | 63-1.1 | OPENSUSE-SU-2026:12432-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libinih-devels390x | Advisory build | 63-1.1 | OPENSUSE-SU-2026:12432-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libinih-develx86_64 | Advisory build | 63-1.1 | OPENSUSE-SU-2026:12432-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libinih0aarch64 | Advisory build | 63-1.1 | OPENSUSE-SU-2026:12432-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libinih0ppc64le | Advisory build | 63-1.1 | OPENSUSE-SU-2026:12432-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libinih0s390x | Advisory build | 63-1.1 | OPENSUSE-SU-2026:12432-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libinih0x86_64 | Advisory build | 63-1.1 | OPENSUSE-SU-2026:12432-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| benhoyt | inih | 0 to < r63 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-127 Buffer Under-read
References
8- https://github.com/benhoyt/inih/blob/r62/ini.c#L162-L169
- https://github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c
- https://github.com/benhoyt/inih/issues/223
- https://github.com/benhoyt/inih/pull/206
- inih r63 Release Notes https://github.com/benhoyt/inih/releases/tag/r63
- https://hackmd.io/@haindpwn/cve-2025-71450-inih-long-line-discard-oob-read#Detailed-attack-steps
- https://hackmd.io/@haindpwn/inih-long-line-discard-oob-read
- VulnCheck Advisory: inih before r63 Stack Buffer Under-Read in ini_parse_stream Discard Loop https://www.vulncheck.com/advisories/inih-before-r63-stack-buffer-under-read-in-ini-parse-stream-discard-loop
Provider assertions
2VulnCheck · cna
inih before r63 Stack Buffer Under-Read in ini_parse_stream Discard Loop
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 23fb86907670fe571e35439dc502be59b5e9aab637e64f48958be684dd195b4b
- Ingested
- 07 Nov 2026, 23:36:15 UTC
- Source record
- Official CVE record