Live threats

All CVEs / Libgit2

CVE-2018-10887Libgit2

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Jul 10, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-194, CWE-125, CWE-190, CWE-681
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Libgit2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libgit2libgit2< 0.27.3
debiandebian_linux8.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.