CVE-2018-10887Libgit2
High 8.1 No auth needed
Follow: this CVE · Libgit2 · Libgit2 We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Libgit2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libgit2 | libgit2 | < 0.27.3 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Patch
- github.com Patch
- github.com Patch
- github.com Patch Release Notes
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory