VDB

CVE-2018-15501

CVE-2018-15501 PUBLISHED CVSS 7.5 HIGH

Reported by mitre · Published August 18, 2018

pygit2 is fixed in 0.27.4 and 0.26.6 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
pygit2PyPI0.27.4, 0.26.6
libgit2-1.1Alpine0.27.4-r0
libgit2-1.0Alpine0.27.4-r0

Risk scores

CVSS 3.0
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
n/an/an/a
alpinelibgit2-1.10
alpinelibgit2-1.00
RubyGemsrugged0.27.0, 0
n/an/a*
PyPIpygit20, 0.27.0
alpinelibgit20
alpinelibgit2-0.270

Timeline

  • Aug 18, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Sep 23, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-15501
vulnetix vdb fixes CVE-2018-15501

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-15501/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›