CVE-2020-12278: An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0.
Noroxi assessment
Priority: Plan (action score 41/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 5.2% (FIRST EPSS); higher than 92.6% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: libgit2 (Debian:10) 0.27.7+dfsg.1-0.2+deb10u1; libgit2 (Debian:12) 0.28.4+dfsg.1-2; libgit2 (Debian:9) 0.25.1+really0.24.6-1+deb9u1.
Add it to your regular patch cycle. Upgrade to libgit2 (Debian:10) 0.27.7+dfsg.1-0.2+deb10u1; libgit2 (Debian:12) 0.28.4+dfsg.1-2; libgit2 (Debian:9) 0.25.1+really0.24.6-1+deb9u1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Apr 27, 2020
- Updated
- Jun 16, 2026
- EPSS
- 5.2% · 92th percentile
- CWE
- CWE-706
Report tools
Action score
41
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 5.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libgit2 | libgit2 | cpe:2.3:a:libgit2:libgit2 |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux9.0
- libgit2 libgit2before 0.28.4
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:10 | libgit2 | before 0.27.7+dfsg.1-0.2+deb10u1 | 0.27.7+dfsg.1-0.2+deb10u1 |
| Debian:12 | libgit2 | before 0.28.4+dfsg.1-2 | 0.28.4+dfsg.1-2 |
| Debian:9 | libgit2 | before 0.25.1+really0.24.6-1+deb9u1 | 0.25.1+really0.24.6-1+deb9u1 |
Same product
libgit2: all recordsOther highest-scoring records for the same primary product.
- CVE-2020-12279An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0.41Plan
- CVE-2024-24577libgit2 is vulnerable to arbitrary code execution due to heap corruption in `git_index_add`39Monitor
- CVE-2026-5917libgit2 Shell Command Injection via ssh_libssh2 Backend34Monitor
Published before and after this one in the same product
- ← EarlierCVE-2018-10888Jul 10, 2018 · A flaw was found in libgit2 before version 0.27.3.27Monitor
- ← EarlierCVE-2018-15501Aug 17, 2018 · In ng_pkt in transports/smart_pkt.c in libgit2 before 0.26.6 and 0.27.x before 0.27.4, a remote attacker can send a crafted smart-protocol…31Monitor
- Later →CVE-2023-22742Jan 20, 2023 · libgit2 fails to verify SSH keys by default23Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libgit2 | 0.28.4+dfsg.1-2 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-706 · Use of Incorrectly-Resolved Name or ReferenceCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- github.com/libgit2/libgit2/commit/3f7851eadca36a99627ad78cbe56a40d3776ed01
- github.com/libgit2/libgit2/commit/e1832eb20a7089f6383cfce474f213157f5300cb
- github.com/libgit2/libgit2/releases/tag/v0.28.4
- github.com/libgit2/libgit2/releases/tag/v0.99.0
- lists.debian.org/debian-lts-announce/2022/03/msg00031.html
- lists.debian.org/debian-lts-announce/2023/02/msg00034.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.