Live threats

All CVEs / Libgit2

CVE-2020-12278Libgit2

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libgit2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libgit2libgit2< 0.28.4
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.