CVE-2020-12278Libgit2
Critical 9.8 No auth needed
Follow: this CVE · Libgit2 · Libgit2 We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 5.2% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Apr 27, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-706
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. path.c mishandles equivalent filenames that exist because of NTFS Alternate Data Streams. This may allow remote code execution when cloning a repository. This issue is similar to CVE-2019-1352.
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.28.4 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org