CVE-2016-10128: Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support
CVE-2016-10128 is a critical-severity flaw (CVSS 9.8) affecting libgit2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.
Why this priority
- Critical severity
- EPSS top 10%: very likely to be exploited
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 4.0% (top 10%) |
| CISA exploited list | No |
| Weakness | CWE-119 |
| Published | 2017-03-24 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-10128?
libgit2: upgrade to newer than 0.24.5. Exact commands for each OS are on this page.
Is CVE-2016-10128 being exploited?
CVE-2016-10128 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2016-10128 affect?
CVE-2016-10128 affects libgit2. Severity is critical (CVSS 9.8). Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush pack
How urgent is CVE-2016-10128?
Priority 67/100. Critical severity; EPSS top 10%: very likely to be exploited; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2024-24577 HIGH 8.6 UPGRADE libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API
- CVE-2024-24575 HIGH 7.5 UPGRADE libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API
- CVE-2023-22742 MEDIUM 5.3 UPGRADE libgit2 is a cross-platform, linkable library implementation of Git
- CVE-2020-12279 CRITICAL 9.8 UPGRADE MITIGATE An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0
- CVE-2020-12278 CRITICAL 9.8 UPGRADE MITIGATE An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0