Description
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.
References (8)
Core 8
Core References
Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/libgit2/libgit2/releases/tag/v0.27.4
Third Party Advisory x_refsource_misc
https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://bugzilla.suse.com/show_bug.cgi?id=1104641
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/libgit2/libgit2/releases/tag/v0.26.6
Patch, Third Party Advisory x_refsource_misc
https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
Scores
CVSS v3
7.5
EPSS
0.0162
EPSS Percentile
81.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-125
Status
published
Products (3)
debian/debian_linux
8.0
debian/debian_linux
9.0
libgit2/libgit2
< 0.26.6
Published
Aug 18, 2018
Tracked Since
Feb 18, 2026