CVE-2018-10887

Summary

CVECVE-2018-10887
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-07-10 14:29:00 UTC
Updated2023-11-07 02:51:00 UTC
DescriptionA flaw was found in libgit2 before version 0.27.3. It has been discovered that an unexpected sign extension in git_delta_apply function in delta.c file may lead to an integer overflow which in turn leads to an out of bound read, allowing to read before the base object. An attacker may use this flaw to leak memory addresses or cause a Denial of Service.

Risk And Classification

Problem Types: CWE-125 | CWE-190 | CWE-681

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
Release libgit2 v0.27.3 · libgit2/libgit2 · GitHub CONFIRM github.com Patch, Release Notes, 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
delta: fix overflow when computing limit · libgit2/libgit2@c157711 · GitHub CONFIRM github.com Patch, Third Party Advisory
delta: fix sign-extension of big left-shift · libgit2/libgit2@3f46190 · GitHub CONFIRM github.com Patch, Third Party Advisory
1598021 – (CVE-2018-10887) CVE-2018-10887 libgit2: integer overflow leads to out-of-bounds read in git_delta_apply, allowing to read before base array CONFIRM bugzilla.redhat.com Issue Tracking, 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)
  • 501036 Alpine Linux Security Update for libgit2
  • 501601 Alpine Linux Security Update for libgit2-1.0
  • 502110 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