CVE-2025-71450
inih before r63 Stack Buffer Under-Read in ini_parse_stream Discard Loop
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Passive
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
4.8
inih before r63 Stack Buffer Under-Read in ini_parse_stream Discard Loop
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.
- Record
CVE-2025-71450- CVSS 4.0
- 4.8 Medium
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 - CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Weakness
- CWE-127
- Updated
- 2026-11-06
EUVDEUVD-2025-211238
4.8
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.
- Record
EUVD-2025-211238- CVSS 4.0
- 4.8 Medium
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 - Updated
- 2026-11-06
GitHub AdvisoriesGHSA-gh7m-xpp3-w3vq
4.8
inih before r63 contains a one-byte stack buffer under-read in ini_parse_stream() in ini.c that...
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.
- Record
GHSA-gh7m-xpp3-w3vq- CVSS 4.0
- 4.8 Medium
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/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 - CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Weakness
- CWE-127
- Updated
- 2026-11-06
NVD
4.8
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.
- Record
CVE-2025-71450- CVSS 4.0
- 4.8 Medium
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/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 - CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Weakness
- CWE-127
- Updated
- 2026-11-06
OSV
4.8
inih before r63 Stack Buffer Under-Read in ini_parse_stream Discard Loop
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.
- Record
CVE-2025-71450- CVSS 4.0
- 4.8 Medium
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 - Weakness
- CWE-127
- Updated
- 2026-11-07
OSVUBUNTU-CVE-2025-71450
4.8
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.
- Record
UBUNTU-CVE-2025-71450- CVSS 4.0
- 4.8 Medium
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 - CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Updated
- 2026-11-05
OSVopenSUSE-SU-2026:12432-1 No score
libinih-devel-63-1.1 on GA media
These are all security issues fixed in the libinih-devel-63-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:12432-1- Updated
- 2026-11-06
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libinihUbuntu:18.04:LTS |
All versions, plus listed versions 40-1 |
None known |
libinihUbuntu:20.04:LTS |
All versions, plus listed versions 45-147-148-1 |
None known |
libinihUbuntu:22.04:LTS |
All versions, plus listed versions 53-1ubuntu153-1ubuntu253-1ubuntu3 |
None known |
libinihUbuntu:24.04:LTS |
All versions, plus listed versions 55-1ubuntu155-1ubuntu2 |
None known |
libinihUbuntu:26.10 |
All versions, plus listed versions 61-1ubuntu1 |
None known |
libinihUbuntu:26.04:LTS |
All versions, plus listed versions 59-1ubuntu161-1ubuntu1 |
None known |
inihopenSUSE:Tumbleweed |
before 63-1.1 | 63-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| references | GitHub Advisories, NVD, OSV | |
| references | CVE List, EUVD | |
| affected, aliases, facts, references | NVD, OSV | |
| affected, aliases, references | OSV | |
| facts | EUVD, OSV | |
| references | NVD, OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-71450 is a medium vulnerability (CVSS 4.8) in Benhoyt Inih, published November 2, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.13%, the 2nd percentile. Fixed in inih 63-1.1.
References
github.com/benhoyt/inih/pull/206
github.com/benhoyt/inih/issues/223
github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c
github.com/benhoyt/inih/blob/r62/ini.c
github.com/benhoyt/inih/releases/tag/r63
hackmd.io/@haindpwn/inih-long-line-discard-oob-read
Show 9 moreShow less
vulncheck.com/advisories/inih-before-r63-stack-buffer-under-read-in-ini-parse-stream-discard-loop
hackmd.io/@haindpwn/cve-2025-71450-inih-long-line-discard-oob-read
nvd.nist.gov/vuln/detail/CVE-2025-71450
github.com/advisories/GHSA-gh7m-xpp3-w3vq
github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71450.json
github.com/benhoyt/inih
ubuntu.com/security/CVE-2025-71450
cve.org/CVERecord?id=CVE-2025-71450
suse.com/security/cve/CVE-2025-71450