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…
- 8.1HighCVSS base score
- 2.1%Exploitation in 30 daysEPSS · top 19% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 2 months later
· 2 months later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 2.1% · top 19% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Affected products
References
References6
- https://bugzilla.redhat.com/show_bug.cgi?id=1598021 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20180825 [SECURITY] [DLA 1477-1] libgit2 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://github.com/libgit2/libgit2/releases/tag/v0.27.3 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/libgit2/libgit2/commit/c1577110467b701dcbcf9439ac225ea851b47d22 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/libgit2/libgit2/commit/3f461902dc1072acb8b7607ee65d0a0458ffac2a (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-2951 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-10887)Record last updated .