{"schemaVersion":3,"id":"CVE-2016-10128","aliases":["ALPINE-CVE-2016-10128","UBUNTU-CVE-2016-10128","DEBIAN-CVE-2016-10128"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-03-24T15:00:00.000Z","modified":"2024-08-06T03:14:42.380Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.03955,"percentile":0.90322,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.03955},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03829,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03955,"percentile":0.90322}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03829,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03955,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03955,"percentile":0.90322}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"alpine","product":"libgit2","name":"libgit2","label":"libgit2","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/libgit2","purlType":"apk","versions":[{"text":"< 0.25.1-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 0.24.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.25.1-r0 | < 0.24.6-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"cargo","name":"cargo","label":"cargo","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cargo","purlType":"deb","versions":[{"text":"< 0.17.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.17.0-1","eol":null,"hubHref":null},{"vendor":"debian","product":"libgit2","name":"libgit2","label":"libgit2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libgit2","purlType":"deb","versions":[{"text":"< 0.25.1+really0.24.6-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.25.1+really0.24.6-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libgit2","name":"libgit2","label":"libgit2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libgit2","purlType":"deb","versions":[{"text":"< 0.19.0-2ubuntu0.4+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 0.24.1-2ubuntu0.2+esm3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.19.0-2ubuntu0.4+esm2 | < 0.24.1-2ubuntu0.2+esm3","eol":null,"hubHref":null},{"vendor":"libgit2_project","product":"libgit2","name":"libgit2","label":"libgit2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.24.5","noFixRecorded":false,"fixedIn":null},{"text":"0.25.0","noFixRecorded":false,"fixedIn":null},{"text":"0.25.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"0.25.0:rc2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.24.5 | 0.25.0 | 0.25.0:rc1 | 0.25.0:rc2","eol":null,"hubHref":"/vendor/libgit2_project/libgit2"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.securityfocus.com/bid/95338","label":"www.securityfocus.com/bid/95338","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"https://libgit2.github.com/security/","label":"libgit2.github.com/security/","hostname":"libgit2.github.com","tags":["X Refsource CONFIRM","Patch","Vendor Advisory"]},{"url":"https://github.com/libgit2/libgit2/commit/66e3774d279672ee51c3b54545a79d20d1ada834","label":"github.com/libgit2/libgit2/commit/66e3774d279672ee51c3b54545a79d20d1ada834","hostname":"github.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory","REPORT"]},{"url":"https://github.com/libgit2/libgit2/commit/4ac39c76c0153d1ee6889a0984c39e97731684b2","label":"github.com/libgit2/libgit2/commit/4ac39c76c0153d1ee6889a0984c39e97731684b2","hostname":"github.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2017/01/10/5","label":"www.openwall.com/lists/oss-security/2017/01/10/5","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Patch","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2017/01/11/6","label":"www.openwall.com/lists/oss-security/2017/01/11/6","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Patch","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00030.html","label":"lists.opensuse.org/opensuse-updates/2017-02/msg00030.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00036.html","label":"lists.opensuse.org/opensuse-updates/2017-02/msg00036.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00072.html","label":"lists.opensuse.org/opensuse-updates/2017-02/msg00072.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2016-10128","label":"security.alpinelinux.org/vuln/CVE-2016-10128","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-10128","label":"ubuntu.com/security/CVE-2016-10128","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10128","label":"www.cve.org/CVERecord?id=CVE-2016-10128","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8628-1","label":"ubuntu.com/security/notices/USN-8628-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-10128","label":"security-tracker.debian.org/tracker/CVE-2016-10128","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2017-0319","OPENSUSE-SU-2017:0405-1","OPENSUSE-SU-2024:10943-1","SUSE-SU-2017:0433-1"],"duplicates":[],"related":["OPENSUSE-SU-2017:0405-1","OPENSUSE-SU-2024:10943-1","SUSE-SU-2017:0433-1","USN-8628-1"]},"timeline":[{"kind":"published","date":"2017-03-24T15:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T03:14:42.380Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:33:32.033Z","stale":false,"partial":false}}