{"id":"CVE-2016-10128","aliases":["ALPINE-CVE-2016-10128","DEBIAN-CVE-2016-10128","EUVD-2016-1318","GHSA-23v5-3rr6-rp4h","MGASA-2017-0319","SUSE-SU-2017:0433-1","UBUNTU-CVE-2016-10128","USN-8628-1","openSUSE-SU-2017:0405-1","openSUSE-SU-2024:10943-1"],"status":"published","title":"Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart...","description":"Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03955,"percentile":0.905,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-02-06T12:58:42Z","modified":"2026-11-03T06:30:03Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.4","package":"libgit2","fixed_in":["0.24.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.5","package":"libgit2","fixed_in":["0.24.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"libgit2","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.10","package":"libgit2-0.27","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"libgit2-1.0","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"libgit2-1.0","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"libgit2-1.1","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"libgit2-1.1","fixed_in":["0.25.1-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"cargo","fixed_in":["0.17.0-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libgit2","fixed_in":["0.25.1+really0.24.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libgit2","fixed_in":["0.25.1+really0.24.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libgit2","fixed_in":["0.25.1+really0.24.6-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libgit2","fixed_in":["0.19.0-2ubuntu0.4+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libgit2","fixed_in":["0.24.1-2ubuntu0.2+esm3"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libgit2","fixed_in":["0.26.0+dfsg.1-1.1ubuntu0.2+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libgit2","fixed_in":["0.28.4+dfsg.1-2ubuntu0.1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"libgit2","fixed_in":["1.1.0+dfsg.1-4.1ubuntu0.1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"libgit2","fixed_in":["1.7.2+ds-1ubuntu3.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:26.04:LTS","package":"libgit2","fixed_in":["1.9.1+ds-1ubuntu1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.4","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.5","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.10","package":"libgit2-0.27","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"libgit2-1.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"libgit2-1.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"libgit2-1.1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"libgit2-1.1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"cargo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.17.0-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1+really0.24.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1+really0.24.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1+really0.24.6-1"}]}]},{"source":"osv","ecosystem":"Mageia:5","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21.1-3.2.mga5"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.1-6.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-2ubuntu0.4+esm2"}]}],"versions":["0.19.0-2","0.19.0-2ubuntu0.4","0.19.0-2ubuntu0.4+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.1-2ubuntu0.2+esm3"}]}],"versions":["0.22.2-2","0.23.1-1","0.24.1-2","0.24.1-2ubuntu0.2","0.24.1-2ubuntu0.2+esm1","0.24.1-2ubuntu0.2+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-2ubuntu0.4+esm2"}]}],"versions":["0.19.0-2","0.19.0-2ubuntu0.4","0.19.0-2ubuntu0.4+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.1-2ubuntu0.2+esm3"}]}],"versions":["0.22.2-2","0.23.1-1","0.24.1-2","0.24.1-2ubuntu0.2","0.24.1-2ubuntu0.2+esm1","0.24.1-2ubuntu0.2+esm2"]},{"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":"Ubuntu:Pro:20.04:LTS","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.28.4+dfsg.1-2ubuntu0.1+esm1"}]}],"versions":["0.27.7+dfsg.1-0.2build1","0.28.3+dfsg.1-1","0.28.3+dfsg.1-1ubuntu1","0.28.4+dfsg.1-2","0.28.4+dfsg.1-2ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0+dfsg.1-4.1ubuntu0.1+esm1"}]}],"versions":["1.1.0+dfsg.1-4","1.1.0+dfsg.1-4.1","1.1.0+dfsg.1-4.1build1","1.1.0+dfsg.1-4.1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.2+ds-1ubuntu3.1"}]}],"versions":["1.5.1+ds-1ubuntu1","1.7.1+ds-2ubuntu1","1.7.2+ds-1ubuntu1","1.7.2+ds-1ubuntu2","1.7.2+ds-1ubuntu3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.1+ds-1ubuntu1.1"}]}],"versions":["1.9.0+ds-2ubuntu2","1.9.1+ds-1ubuntu1"]},{"source":"osv","ecosystem":"SUSE:Package Hub 12 SP1","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.6-10.1"}]}],"bundled":5},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libgit2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1.2"}]}],"bundled":15}],"products":[{"vendor":"libgit2_project","product":"libgit2"}],"references":[{"url":"http://www.securityfocus.com/bid/95338","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://libgit2.github.com/security/","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://github.com/libgit2/libgit2/commit/66e3774d279672ee51c3b54545a79d20d1ada834","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/libgit2/libgit2/commit/4ac39c76c0153d1ee6889a0984c39e97731684b2","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2017/01/10/5","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Patch","Third Party Advisory","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2017/01/11/6","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Patch","Third Party Advisory","fix"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00030.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00036.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00072.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10128"},{"url":"https://libgit2.github.com/security"},{"url":"https://github.com/advisories/GHSA-23v5-3rr6-rp4h"},{"url":"https://security.alpinelinux.org/vuln/CVE-2016-10128","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-10128","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0319.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19792","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/4E77DG5KGQ7L34U75QY7O6NIPKZNQHQJ/","tags":["web"]},{"url":"https://lists.opensuse.org/opensuse-updates/2017-02/msg00072.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20170433-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1019036","tags":["report"]},{"url":"https://bugzilla.suse.com/1019037","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10128","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10129","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10130","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5338","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5339","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-10128","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10128","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8628-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-10129","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-10130","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-8098","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-8099","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-15501","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-53584","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-53585","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-53586","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-53587","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2005-4900","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-2016-10128","description":"Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.","status":"published","published":"2017-03-24T15:00:00Z","modified":"2024-08-06T03:14:42.38Z","updated_at":"2026-11-02T14:33:31.117878Z"}],"euvd":[{"id":"EUVD-2016-1318","description":"Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.","status":"published","published":"2017-03-24T15:00:00Z","modified":"2024-08-06T03:14:42Z","updated_at":"2026-11-03T02:22:24.738409Z"}],"ghsa":[{"id":"GHSA-23v5-3rr6-rp4h","title":"Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart...","description":"Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.","status":"published","published":"2022-05-17T02:53:31Z","modified":"2025-04-20T03:35:49Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:01:43.480751Z"}],"nvd":[{"id":"CVE-2016-10128","description":"Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.","status":"published","published":"2017-03-24T15:59:00.153Z","modified":"2026-06-17T00:39:06.647Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:03:37.238712Z"}],"osv":[{"id":"ALPINE-CVE-2016-10128","description":"Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.","status":"published","published":"2017-03-24T15:59:00.153Z","modified":"2026-11-03T06:30:03.434544116Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T06:41:39.834803Z"},{"id":"CVE-2016-10128","description":"Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.","status":"published","published":"2017-03-24T15:59:00.153Z","modified":"2026-10-20T13:13:30.793820755Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:01.531338Z"},{"id":"DEBIAN-CVE-2016-10128","description":"Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.","status":"published","published":"2017-03-24T15:59:00.153Z","modified":"2026-09-22T07:01:12.384575848Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:27.323751Z"},{"id":"UBUNTU-CVE-2016-10128","description":"Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.","status":"published","published":"2017-03-24T15:59:00Z","modified":"2026-08-13T19:30:05.411555938Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:11.492576Z"},{"id":"MGASA-2017-0319","title":"Updated libgit2 packages fix security vulnerabilities","description":"Read out-of-bounds in git_oid_nfmt (CVE-2016-8568).\n\nDoS using a null pointer dereference in git_commit_message\n(CVE-2016-8569).\n\nInsufficient sanitization allows some edge cases in the Git Smart\nProtocol which can lead to reading outside of a buffer (CVE-2016-10128,\nCVE-2016-10129).\n","status":"published","published":"2017-08-29T20:36:17Z","modified":"2026-04-16T06:25:24.606890849Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"openSUSE-SU-2017:0405-1","title":"Security update for libgit2","description":"\nThis update for libgit2 to version 0.24.6 fixes the following issues:\n\n- CVE-2016-10130: When using the custom certificate callback or when using pygit2 or git2go a attacker could have caused an invalid certificate to be accepted (bsc#1019037).\n- CVE-2017-5338: When using the custom certificate callback or when using pygit2 or git2go a attacker could have caused an invalid certificate to be accepted (bsc#1019037).\n- CVE-2017-5339: When using the custom certificate callback or when using pygit2 or git2go a attacker could have caused an invalid certificate to be accepted (bsc#1019037).\n- CVE-2016-10128: Additional sanitization prevent some edge cases in the Git Smart Protocol which can lead to reading outside of a buffer (bsc#1019036).\n- CVE-2016-10129: Additional sanitization prevent some edge cases in the Git Smart Protocol which can lead to reading outside of a buffer (bsc#1019036).\n","status":"published","published":"2017-02-06T12:58:42Z","modified":"2026-02-04T03:25:29.248978Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"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"},{"id":"SUSE-SU-2017:0433-1","title":"Security update for libgit2","description":"\nThis update for libgit2 fixes the several issues.\n\nThese security issues were fixed:\n\n- CVE-2016-10130: When using the custom certificate callback or when using pygit2 or git2go a attacker could have caused an invalid certificate to be accepted (bsc#1019037).\n- CVE-2017-5338: When using the custom certificate callback or when using pygit2 or git2go a attacker could have caused an invalid certificate to be accepted (bsc#1019037).\n- CVE-2017-5339: When using the custom certificate callback or when using pygit2 or git2go a attacker could have caused an invalid certificate to be accepted (bsc#1019037).\n- CVE-2016-10128: Additional sanitization prevent some edge cases in the Git Smart Protocol which can lead to reading outside of a buffer (bsc#1019036).\n- CVE-2016-10129: Additional sanitization prevent some edge cases in the Git Smart Protocol which can lead to reading outside of a buffer (bsc#1019036).\n","status":"published","published":"2017-02-09T10:17:43Z","modified":"2026-02-04T02:18:28.648866Z","updated_at":"2026-11-02T15:53:43.83457Z"},{"id":"USN-8628-1","title":"libgit2 vulnerabilities","description":"It was discovered that libgit2 incorrectly handled the Git Smart Protocol.\nA remote attacker could possibly use this issue to cause a denial of\nservice or execute arbitrary code. This issue only affected Ubuntu 14.04\nLTS and Ubuntu 16.04 LTS. (CVE-2016-10128)\n\nIt was discovered that libgit2 incorrectly handled empty packet lines in\nthe Git Smart Protocol. A remote attacker could possibly use this issue\nto cause a denial of service. This issue only affected Ubuntu 14.04 LTS\nand Ubuntu 16.04 LTS. (CVE-2016-10129)\n\nIt was discovered that libgit2 incorrectly handled error reporting in the\nHTTP transport. A remote attacker could possibly use this issue to spoof\nservers. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-10130)\n\nIt was discovered that libgit2 incorrectly handled certain crafted \"ng\"\npackets. A remote attacker could possibly use this issue to cause a denial\nof service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS,\nand Ubuntu 18.04 LTS. (CVE-2018-15501)\n\nKrishna Ram Prakash R and Vivek Parikh discovered that libgit2 incorrectly\nhandled certain repository index files. A local attacker could possibly use\nthis issue to cause a denial of service. This issue only affected Ubuntu\n18.04 LTS. (CVE-2018-8098)\n\nKrishna Ram Prakash R and Vivek Parikh discovered that libgit2 incorrectly\nhandled certain repository index files. A local attacker could possibly use\nthis issue to cause a denial of service. This issue only affected Ubuntu\n14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 18.04 LTS. (CVE-2018-8099)\n\nMichał Majchrowicz and Marcin Wyczechowski discovered that libgit2\nincorrectly handled submodule paths. A remote attacker could possibly use\nthis issue to write files outside the working tree. This issue only\naffected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and\nUbuntu 26.04 LTS. (CVE-2026-53584)\n\nMichał Majchrowicz and Marcin Wyczechowski discovered that libgit2\nincorrectly handled delta object result-size headers. A remote attacker\ncould possibly use this issue to cause libgit2 to consume excessive memory,\nleading to a denial of service. (CVE-2026-53585)\n\nThai Son Dinh discovered that libgit2 incorrectly handled HTTP redirects.\nA remote attacker could possibly use this issue to leak credentials to an\noffsite redirect target. This issue only affected Ubuntu 20.04 LTS,\nUbuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS.\n(CVE-2026-53586)\n\nIt was discovered that libgit2 incorrectly handled certain capability\nbuffers in the smart protocol. A remote attacker could possibly use this\nissue to cause a denial of service. This issue only affected Ubuntu 24.04\nLTS and Ubuntu 26.04 LTS. (CVE-2026-53587)","status":"published","published":"2026-08-12T19:13:07Z","modified":"2026-08-24T10:00:40.724904491Z","updated_at":"2026-11-02T16:58:25.103481Z"}]}}
