{"id":"UBUNTU-CVE-2018-8098","details":"Integer overflow in the index.c:read_entry() function while decompressing a compressed prefix length in libgit2 before v0.26.2 allows an attacker to cause a denial of service (out-of-bounds read) via a crafted repository index file.","modified":"2026-08-13T19:30:12.786490718Z","published":"2018-03-14T00:29:00Z","related":["USN-8628-1"],"upstream":["CVE-2018-8098"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-8098"},{"type":"REPORT","url":"https://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1"},{"type":"REPORT","url":"https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0"},{"type":"REPORT","url":"https://libgit2.github.com/security/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-8098"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8628-1"}],"affected":[{"package":{"name":"libgit2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libgit2?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26.0+dfsg.1-1.1ubuntu0.2+esm2"}]}],"versions":["0.25.1+really0.24.6-1","0.26.0+dfsg.1-1.1","0.26.0+dfsg.1-1.1build1","0.26.0+dfsg.1-1.1ubuntu0.2","0.26.0+dfsg.1-1.1ubuntu0.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.26.0+dfsg.1-1.1ubuntu0.2+esm2","binary_name":"libgit2-26"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-8098.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}