# CVE-2018-15501

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-08-18 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2018-15501, UBUNTU-CVE-2018-15501, DEBIAN-CVE-2018-15501
- Record: https://cvemate.com/vulnerability/CVE-2018-15501 · JSON: https://cvemate.com/vulnerability/CVE-2018-15501/json

## 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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 4.373%, percentile 91.553%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine libgit2 (Alpine Linux): ≥ 0.27.0, \< 0.27.4-r0
- alpine libgit2-0.27 (Alpine Linux): \< 0.27.4-r0
- alpine libgit2-1.0 (Alpine Linux): \< 0.27.4-r0
- alpine libgit2-1.1 (Alpine Linux): \< 0.27.4-r0
- debian libgit2 (Debian): \< 0.27.4+dfsg.1-0.1
- ubuntu libgit2 (Ubuntu): \< 0.19.0-2ubuntu0.4+esm2 \| \< 0.24.1-2ubuntu0.2+esm3 \| \< 0.26.0+dfsg.1-1.1ubuntu0.2+esm2
- debian debian\_linux: 8.0 \| 9.0
- libgit2 libgit2: \< 0.26.6 \| ≥ 0.27.0, \< 0.27.4

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406>
- <https://github.com/libgit2/libgit2/releases/tag/v0.27.4>
- <https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html>
- <https://bugzilla.suse.com/show_bug.cgi?id=1104641>
- <https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html>
- <https://github.com/libgit2/libgit2/releases/tag/v0.26.6>
- <https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649>
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html>
- <https://security.alpinelinux.org/vuln/CVE-2018-15501>
- <https://ubuntu.com/security/CVE-2018-15501>
- <https://www.cve.org/CVERecord?id=CVE-2018-15501>
- <https://ubuntu.com/security/notices/USN-8628-1>
- <https://security-tracker.debian.org/tracker/CVE-2018-15501>

---

Data as of 2026-12-05T18:49:31.161Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
