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_index_add` can cause heap corruption that could be leveraged for arbitrary code execution. There is an issue in the `has_dir_name` function in `src/libgit2/index.c`, which frees an entry that should not be freed. The freed entry is later used and overwritten with potentially bad actor-controlled data leading to controlled heap corruption. Depending on the application that uses libgit2, this could lead to arbitrary code execution. This issue has been patched in version 1.6.5 and 1.7.2.
Conclusion & alert: CVE-2024-24577 is rated Moderate Risk (60.6/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.55%). Core evidence: EPSS rose +1.14% over the last day, indicating growing attacker interest. 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 | 0.41% | 1.55% | +1.14% |
| 2 | 2026-02-24 | 0.30% | 0.41% | +0.11% |
| 3 | 2025-11-21 | — | 0.30% | — |
Full EPSS history (19 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.6 | 3.1 | HIGH |
|
3.9 | 4.7 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2024-24577: 2 source package rows (eza, libgit2); 21 state rows across 5 repos (3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 21, open 0. | https://security.alpinelinux.org/vuln/CVE-2024-24577 |
debian
|
not yet assigned | CVE-2024-24577 not yet assigned 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-24577 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2024-24577 |
suse
|
high | CVE-2024-24577 severity important: SUSE including 132 source package names (0.0.17-1.1:git-core-2.43.0-150600.3.6.1, 0.1.6-1.2:git-2.43.0-150600.3.6.1, …), 409 product×package rows across 81 product lines (Container bci/gcc, Container bci/golang, … (81 product lines)): Fixed 409. | https://www.suse.com/security/cve/CVE-2024-24577/ |
ubuntu
|
medium | CVE-2024-24577 medium priority: Ubuntu including 1 source packages (libgit2), 11 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 5, not-affected 4, needed 1, needs-triage 1. | https://ubuntu.com/security/CVE-2024-24577 |