CVE-2024-24575: libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API
CVE-2024-24575 is a high-severity flaw (CVSS 7.5) affecting libgit2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to `git_revparse_single` can cause the function to enter an infinite loop, potentially causing a Denial of Service attack in the calling application. The revparse function in `src/libgit2/revparse.c` uses a loop to parse the user-provided spec string. T
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.4% (top 27%) |
| CISA exploited list | No |
| Weakness | CWE-400 |
| Published | 2024-02-06 |
| 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-2024-24575?
libgit2: upgrade to 1.6.5, 1.7.2. Exact commands for each OS are on this page.
Is CVE-2024-24575 being exploited?
CVE-2024-24575 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-2024-24575 affect?
CVE-2024-24575 affects libgit2. Severity is high (CVSS 7.5). libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to `git_revparse_single` can cause the func
How urgent is CVE-2024-24575?
Priority 50/100. High severity; Remotely exploitable, no login, no user action
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