{"id":"CVE-2016-10128","details":"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.","modified":"2026-04-01T23:32:41.698654Z","published":"2017-03-24T15:59:00.153Z","related":["MGASA-2017-0319","SUSE-SU-2017:0433-1","openSUSE-SU-2017:0405-1","openSUSE-SU-2024:10943-1"],"references":[{"type":"WEB","url":"http://www.securityfocus.com/bid/95338"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00036.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00072.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00030.html"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2017/01/11/6"},{"type":"FIX","url":"https://github.com/libgit2/libgit2/commit/4ac39c76c0153d1ee6889a0984c39e97731684b2"},{"type":"FIX","url":"https://libgit2.github.com/security/"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2017/01/10/5"},{"type":"FIX","url":"https://github.com/libgit2/libgit2/commit/66e3774d279672ee51c3b54545a79d20d1ada834"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libgit2/libgit2","events":[{"introduced":"0"},{"last_affected":"428e18f8d4765b8ad6cf4022080a81ab16f6fdc4"},{"introduced":"0"},{"last_affected":"75db289a041b1f1084768244e167b953ac7eeaa5"},{"introduced":"0"},{"last_affected":"a6763ff93aed9a1486c4f84d77151ff57dd4795e"},{"introduced":"0"},{"last_affected":"75db289a041b1f1084768244e167b953ac7eeaa5"},{"fixed":"4ac39c76c0153d1ee6889a0984c39e97731684b2"},{"fixed":"66e3774d279672ee51c3b54545a79d20d1ada834"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"0.24.5"},{"introduced":"0"},{"last_affected":"0.25.0"},{"introduced":"0"},{"last_affected":"0.25.0-rc1"},{"introduced":"0"},{"last_affected":"0.25.0-rc2"}]}}],"versions":["v0.1.0","v0.10.0","v0.11.0","v0.12.0","v0.13.0","v0.14.0","v0.15.0","v0.16.0","v0.17.0","v0.18.0","v0.19.0","v0.2.0","v0.20.0","v0.21.0","v0.21.0-rc1","v0.21.0-rc2","v0.21.1","v0.21.2","v0.21.3","v0.21.4","v0.21.5","v0.22.0","v0.22.0-rc1","v0.22.0-rc2","v0.22.1","v0.22.2","v0.22.3","v0.23.0","v0.23.0-rc1","v0.23.0-rc2","v0.23.1","v0.23.2","v0.23.3","v0.23.4","v0.24.0","v0.24.0-rc1","v0.24.1","v0.24.2","v0.24.3","v0.24.5","v0.25.0-rc1","v0.3.0","v0.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10128.json","vanir_signatures":[{"digest":{"threshold":0.9,"line_hashes":["225742831958726833763550111497851979731","280091372490292428332306953501938664795","12269204320483042030567169773497493396"]},"id":"CVE-2016-10128-197c7836","source":"https://github.com/libgit2/libgit2/commit/4ac39c76c0153d1ee6889a0984c39e97731684b2","signature_type":"Line","deprecated":false,"target":{"file":"src/transports/smart_pkt.c"},"signature_version":"v1"},{"digest":{"threshold":0.9,"line_hashes":["225742831958726833763550111497851979731","280091372490292428332306953501938664795","12269204320483042030567169773497493396"]},"id":"CVE-2016-10128-19881d2f","source":"https://github.com/libgit2/libgit2/commit/66e3774d279672ee51c3b54545a79d20d1ada834","signature_type":"Line","deprecated":false,"target":{"file":"src/transports/smart_pkt.c"},"signature_version":"v1"},{"digest":{"length":1497,"function_hash":"308969060740750375738498479917728819900"},"id":"CVE-2016-10128-af71ba8c","source":"https://github.com/libgit2/libgit2/commit/66e3774d279672ee51c3b54545a79d20d1ada834","signature_type":"Function","deprecated":false,"target":{"file":"src/transports/smart_pkt.c","function":"git_pkt_parse_line"},"signature_version":"v1"},{"digest":{"length":1497,"function_hash":"308969060740750375738498479917728819900"},"id":"CVE-2016-10128-d78641b6","source":"https://github.com/libgit2/libgit2/commit/4ac39c76c0153d1ee6889a0984c39e97731684b2","signature_type":"Function","deprecated":false,"target":{"file":"src/transports/smart_pkt.c","function":"git_pkt_parse_line"},"signature_version":"v1"}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}