CVE-2018-15501

Summary

CVECVE-2018-15501
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-08-18 02:29:00 UTC
Updated2022-05-11 20:59:00 UTC
DescriptionIn 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.

Risk And Classification

Problem Types: CWE-125

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Application Libgit2 Libgit2 All All All All
Application Libgit2 Libgit2 All All All All

References

ReferenceSourceLinkTags
Bug 1104641 – VUL-0: CVE-2018-15501: libgit2: out-of-bounds reads when processing smart-protocol "ng" packets MISC bugzilla.suse.com Issue Tracking, Patch, Third Party Advisory
[SECURITY] [DLA 2936-1] libgit2 security update MLIST lists.debian.org
[SECURITY] [DLA 1477-1] libgit2 security update MLIST lists.debian.org Mailing List, Third Party Advisory
Sicherheit: Denial of Service in libgit2 - Pro-Linux MISC www.pro-linux.de Third Party Advisory
9406 - oss-fuzz - OSS-Fuzz: Fuzzing the planet - Monorail MISC bugs.chromium.org Third Party Advisory
Release libgit2 v0.27.4 · libgit2/libgit2 · GitHub MISC github.com Third Party Advisory
Release libgit2 v0.26.6 · libgit2/libgit2 · GitHub MISC github.com Third Party Advisory
smart_pkt: fix potential OOB-read when processing ng packet · libgit2/libgit2@1f9a851 · GitHub MISC github.com Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 179136 Debian Security Update for libgit2 (DLA 2936-1)
  • 501037 Alpine Linux Security Update for libgit2
  • 501602 Alpine Linux Security Update for libgit2-1.0
  • 502111 Alpine Linux Security Update for libgit2-1.1
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report