Back
CVE-2018-15501
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…
- 7.5HighCVSS base score
- 4.4%Exploitation in 30 daysEPSS · top 8.7% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 4.4% · top 8.7% of all CVEs (9 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
n/a
- affected n/a
References
8
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/libgit2/libgit2/releases/tag/v0.27.4 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html (opens in a new tab)x_refsource_MISCx_transferred
- https://bugzilla.suse.com/show_bug.cgi?id=1104641 (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20180825 [SECURITY] [DLA 1477-1] libgit2 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://github.com/libgit2/libgit2/releases/tag/v0.26.6 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649 (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-7378 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-15501)Record last updated .