# CVE-2018-15501: libgit2-26: 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 c...

CVE-2018-15501 is fixed in libgit2-26 on 1 platform by libgit2-26 0.26.0+dfsg.1-1.1ubuntu0.2+esm2 (version 0.26.0+dfsg.1-1.1ubuntu0.2+esm2), released August 14, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-15501
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0437
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 17, 2018

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libgit2-26 Ubuntu 18.04.6 LTS (bionic) | 0.26.0+dfsg.1-1.1ubuntu0.2+esm2 | [libgit2-26 0.26.0+dfsg.1-1.1ubuntu0.2+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libgit2-26-0.26.0-dfsg.1-1.1ubuntu0.2-esm2.md) | Aug 14, 2026 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
