Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pygit2
  4. ›
  5. CVE-2018-15501

CVE-2018-15501: Out-of-bounds Read

August 18, 2018 (updated October 12, 2018)

In the library libgit2, which is used by pygit2, a remote attacker can send a crafted smart-protocol ng packet that lacks a \0 byte to trigger an out-of-bounds read leading to a DoS.

References

  • bugzilla.suse.com/show_bug.cgi?id=1104641
  • nvd.nist.gov/vuln/detail/CVE-2018-15501

Code Behaviors & Features

Detect and mitigate CVE-2018-15501 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.26.6, all versions starting from 0.27.0 before 0.27.4

Fixed versions

  • 0.27.4

Solution

Upgrade to version 0.27.4 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

pypi/pygit2/CVE-2018-15501.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:09 +0000.