{"id":"CVE-2018-15501","published":"2018-08-18T02:00:00Z","modified":"2024-08-05T09:54:03Z","title":"In ng_pkt in transports/smart_pkt.c in libgit2 before 0.26.6 and 0.27.x before 0.27.4, a remote attacker can send a…","vendor":null,"product":null,"tier":"tail","description":{"text":"In ng_pkt in transports/smart_pkt.c in libgit2 before 0.26.6 and 0.27.x before 0.27.4, a remote attacker can send a crafted smart-protocol \"ng\" packet that lacks a '\\0' byte to trigger an out-of-bounds read that leads to DoS.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04373,"percentile":0.91498,"provenance":"source"},"cwes":[],"references":[{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406","tags":["x_refsource_MISC"]},{"url":"https://github.com/libgit2/libgit2/releases/tag/v0.27.4","tags":["x_refsource_MISC"]},{"url":"https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1104641","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/libgit2/libgit2/releases/tag/v0.26.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":18.3,"factors":[{"name":"EPSS percentile","points":18.3}]},"summary":{"text":"The flaw is in the ng_pkt function in transports/smart_pkt.c of the libgit2 library, which handles the smart-protocol packet parsing. An attacker with network access to a remote peer can send a crafted \"ng\" packet lacking a terminating '\\0' byte, triggering an out-of-bounds read that causes a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:20:14Z"},"euvd":{"id":"EUVD-2018-7378","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2016-10128-family-cve-2016-10128","parents":[{"from":"CVE-2016-10128","to":"CVE-2018-15501","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/transports/smart_pkt.c"],"commits":["https://github.com/libgit2/libgit2/commit/66e3774d279672ee51c3b54545a79d20d1ada834","https://github.com/libgit2/libgit2/commit/4ac39c76c0153d1ee6889a0984c39e97731684b2","https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649"],"basis":"rarely changed file"}]},{"from":"CVE-2016-10129","to":"CVE-2018-15501","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/transports/smart_pkt.c"],"commits":["https://github.com/libgit2/libgit2/commit/2fdef641fd0dd2828bd948234ae86de75221a11a","https://github.com/libgit2/libgit2/commit/84d30d569ada986f3eef527cbdb932643c2dd037","https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649"],"basis":"rarely changed file"}]}]}}