Out-of-bounds Read in Libgit2

CVE-2018-10887

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.

EPSS: 0.021 (79.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-10887?
CVE-2018-10887 is a high-severity vulnerability in Libgit2, classified under CWE-194. CVSS score: 8.1/10. Published 2018-07-10.
How severe is CVE-2018-10887?
High severity. CVSS v3 base score is 8.1 out of 10.