{"id":"CVE-2018-8098","aliases":["DEBIAN-CVE-2018-8098","DLA-2936-1","EUVD-2018-19774","GHSA-m334-hpp6-wjh3","UBUNTU-CVE-2018-8098","openSUSE-SU-2024:10943-1"],"status":"published","title":"Integer overflow in the index.c:read_entry() function while decompressing a compressed prefix...","description":"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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01426,"percentile":0.73116,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2018-03-14T00:00:00Z","modified":"2026-10-23T18:03:48Z","fixes":[{"ecosystem":"Debian:12","package":"libgit2","fixed_in":["0.27.0+dfsg.1-0.6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libgit2","fixed_in":["0.27.0+dfsg.1-0.6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libgit2","fixed_in":["0.27.0+dfsg.1-0.6"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libgit2","fixed_in":["0.26.0+dfsg.1-1.1ubuntu0.2+esm2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.0+dfsg.1-0.6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.0+dfsg.1-0.6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.0+dfsg.1-0.6"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1+really0.24.6-1+deb9u1"}]}],"versions":["0.25.1+really0.24.6-1"],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libgit2","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"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1.2"}]}],"bundled":15}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"libgit2","product":"libgit2"}],"references":[{"url":"https://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://libgit2.github.com/security/","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8098"},{"url":"https://github.com/advisories/GHSA-m334-hpp6-wjh3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-8098","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-8098","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-8098","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8628-1","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2005-4900","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10128","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10130","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-10887","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-11235","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-17456","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-8098","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1348","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1349","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1350","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1351","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1352","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1353","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1354","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1387","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-8098","description":"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.","status":"published","published":"2018-03-14T00:00:00Z","modified":"2024-08-05T06:46:13.414Z","updated_at":"2026-11-02T14:35:04.540365Z"}],"euvd":[{"id":"EUVD-2018-19774","description":"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.","status":"published","published":"2018-03-14T00:00:00Z","modified":"2024-08-05T06:46:13Z","updated_at":"2026-11-03T02:40:04.215722Z"}],"ghsa":[{"id":"GHSA-m334-hpp6-wjh3","title":"Integer overflow in the index.c:read_entry() function while decompressing a compressed prefix...","description":"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.","status":"published","published":"2022-05-12T00:00:21Z","modified":"2023-02-01T05:02:12Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:49:52.298896Z"}],"nvd":[{"id":"CVE-2018-8098","description":"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.","status":"published","published":"2018-03-14T00:29:00.593Z","modified":"2026-06-17T02:04:15.323Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:04:24.264003Z"}],"osv":[{"id":"CVE-2018-8098","description":"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.","status":"published","published":"2018-03-14T00:29:00.593Z","modified":"2026-10-20T13:54:06.677130754Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"DEBIAN-CVE-2018-8098","description":"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.","status":"published","published":"2018-03-14T00:29:00.593Z","modified":"2026-10-23T18:03:48.360721105Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:31.170944Z"},{"id":"UBUNTU-CVE-2018-8098","description":"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.","status":"published","published":"2018-03-14T00:29:00Z","modified":"2026-08-13T19:30:12.786490718Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"DLA-2936-1","title":"libgit2 - security update","status":"published","published":"2022-03-07T00:00:00Z","modified":"2026-03-09T01:23:32.580319Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"openSUSE-SU-2024:10943-1","title":"libgit2-1_1-1.1.1-1.2 on GA media","description":"These are all security issues fixed in the libgit2-1_1-1.1.1-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:59:38.45631Z","updated_at":"2026-11-02T16:58:34.894275Z"}]}}
