{"id":"UBUNTU-CVE-2025-71450","details":"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.","modified":"2026-11-04T03:30:07.787046967Z","published":"2026-11-03T00:00:00Z","upstream":["CVE-2025-71450"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-71450"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-71450"},{"type":"REPORT","url":"https://github.com/benhoyt/inih/blob/r62/ini.c#L162-L169"},{"type":"REPORT","url":"https://github.com/benhoyt/inih/commit/8e06f6b77b5d4471bdc6d85ada81b67d37354a5c"},{"type":"REPORT","url":"https://github.com/benhoyt/inih/issues/223"},{"type":"REPORT","url":"https://github.com/benhoyt/inih/pull/206"},{"type":"REPORT","url":"https://github.com/benhoyt/inih/releases/tag/r63"},{"type":"REPORT","url":"https://hackmd.io/@haindpwn/inih-long-line-discard-oob-read"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/inih-before-r63-stack-buffer-under-read-in-ini-parse-stream-discard-loop"}],"affected":[{"package":{"name":"libinih","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libinih?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["40-1"],"ecosystem_specific":{"binaries":[{"binary_version":"40-1","binary_name":"libinih1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71450.json"}},{"package":{"name":"libinih","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libinih?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["45-1","47-1","48-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libinih1","binary_version":"48-1"},{"binary_name":"libinireader0","binary_version":"48-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71450.json"}},{"package":{"name":"libinih","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libinih?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["53-1ubuntu1","53-1ubuntu2","53-1ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_version":"53-1ubuntu3","binary_name":"libinih1"},{"binary_name":"libinireader0","binary_version":"53-1ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71450.json"}},{"package":{"name":"libinih","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libinih?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["55-1ubuntu1","55-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"55-1ubuntu2","binary_name":"libinih1"},{"binary_version":"55-1ubuntu2","binary_name":"libinireader0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71450.json"}},{"package":{"name":"libinih","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libinih?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["61-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"61-1ubuntu1","binary_name":"libinih1"},{"binary_version":"61-1ubuntu1","binary_name":"libinireader0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71450.json"}},{"package":{"name":"libinih","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libinih?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["59-1ubuntu1","61-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"61-1ubuntu1","binary_name":"libinih1"},{"binary_name":"libinireader0","binary_version":"61-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71450.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}