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. There is an edge-case during parsing that allows a bad actor to force the loop conditions to access arbitrary memory. Potentially, this could also leak memory if the extracted rev spec is reflected back to the attacker. As such, libgit2 versions before 1.4.0 are not affected. Users should upgrade to version 1.6.5 or 1.7.2.
Conclusion & alert: CVE-2024-24575 is rated Moderate Risk (54/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.44%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 1.82% | 1.44% | -0.38% |
| 2 | 2026-04-19 | 1.97% | 1.82% | -0.15% |
| 3 | 2026-02-24 | — | 1.97% | — |
Full EPSS history (23 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2024-24575: 1 source package rows (libgit2); 7 state rows across 5 repos (3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 5, open 2. | https://security.alpinelinux.org/vuln/CVE-2024-24575 |
debian
|
unimportant | CVE-2024-24575 unimportant priority: Debian including 1 source packages (libgit2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2024-24575 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2024-24575 |
suse
|
high | CVE-2024-24575 severity important: SUSE including 31 source package names (5.1.0.6.40:libgit2-1_7-1.7.2-150600.3.3.1, git, …), 439 product×package rows across 47 product lines (Container suse/multi-linux-manager/5.1/x86_64/server, HPE Helion OpenStack 8, … (47 product lines)): Known Not Affected 423, Fixed 16. | https://www.suse.com/security/cve/CVE-2024-24575/ |
ubuntu
|
medium | CVE-2024-24575 medium priority: Ubuntu including 1 source packages (libgit2), 8 status rows across 8 suites (bionic, focal, jammy, mantic, noble, trusty, upstream, xenial): not-affected 6, needs-triage 1, released 1. | https://ubuntu.com/security/CVE-2024-24575 |