High severity · published Jul 10, 2018
CVE-2018-10887
A flaw was found in libgit2 before version 0.27.3
8.1
CVSS
2.1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.1% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
8.0; 9.0 · source: NVD
LI
Libgit2 · Libgit2
before 0.27.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-10887
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-10887
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=1598021
Patch
https://github.com/libgit2/libgit2/commit/3f461902dc1072acb8b7607ee65d0a0458ffac2a
Patch
https://github.com/libgit2/libgit2/commit/c1577110467b701dcbcf9439ac225ea851b47d22
Patch
https://github.com/libgit2/libgit2/releases/tag/v0.27.3
Mailing List
https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html
Mailing List
https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
