# CVE-2020-12278: An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.24%, higher than 92% of CVEs (2026-12-01)
- Published: 2020-04-27T00:00:00.000Z
- Modified: 2026-06-17T02:51:33.390Z
- Weaknesses: CWE-706
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libgit2 libgit2: before 0.28.4
- debian debian_linux: 9.0

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/git/git/security/advisories/GHSA-5wph-8frv-58vj> (third-party-advisory)
- <https://github.com/libgit2/libgit2/releases/tag/v0.99.0> (release-notes, third-party-advisory)
- <https://github.com/libgit2/libgit2/releases/tag/v0.28.4> (release-notes, third-party-advisory)
- <https://github.com/libgit2/libgit2/commit/3f7851eadca36a99627ad78cbe56a40d3776ed01> (patch, third-party-advisory)
- <https://github.com/libgit2/libgit2/commit/e1832eb20a7089f6383cfce474f213157f5300cb> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/02/msg00034.html> (mailing-list)

## Sources

- CVE List: [CVE-2020-12278](https://www.cve.org/CVERecord?id=CVE-2020-12278), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-12278](https://nvd.nist.gov/vuln/detail/CVE-2020-12278), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-12278 · Whole record: https://cve.day/CVE-2020-12278.json · Rebuilt by cve.day 2026-11-25T22:57:52.196Z
