Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2024-24577

28
FAUCET Score

CVE-2024-24577 is a critical heap corruption vulnerability in libgit2, a C library for Git core methods, affecting versions prior to 1.6.5 and 1.7.2. Maliciously crafted inputs to the git_index_add function can lead to controlled heap corruption due to an improper free operation in the has_dir_name function. This flaw carries a CVSS score of 9.8 (CRITICAL) and could enable arbitrary code execution, with a network attack vector and low attack complexity. While no active exploitation, public exploit code, or significant community discussion has been observed, organizations using affected libgit2 versions should prioritize patching to mitigate this severe risk.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.6.5CPE matchmatch criteria
cpe:2.3:a:libgit2:libgit2:*:*:*:*:*:*:*:*
>= 1.7.0, < 1.7.2CPE matchmatch criteria
cpe:2.3:a:libgit2:libgit2:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

8.6HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
LOW
Availability Impact
LOW
Exploitability Score
3.9
Impact Score
4.7
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.55%
Probability of exploitation in next 30 days
EPSS Percentile
72.4%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0155 is in the 60th percentile among its peer group of 36,862 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (4)

microsoftpatch availablevia msrc
Product: 17438-16823Fixed in: 1.6.5-1
microsoftpatch availablevia msrc
Product: 20007-17086Fixed in: 1.6.5-1
microsoftpatch availablevia msrc
Product: cbl2 libgit2 1.6.5-1 on CBL Mariner 2.0Fixed in: 1.6.5-1
microsoftpatch availablevia msrc
Product: cbl2 libgit2 1.4.5-3 on CBL Mariner 2.0Fixed in: 1.6.5-1

Vendor Advisories (2)

microsoft2024-Feb/CVE-2024-24577Critical

libgit2 is vulnerable to arbitrary code execution due to heap corruption in `git_index_add`

Feb 13, 2024
redhatCVE-2024-24577Important

libgit2: arbitrary code execution due to heap corruption in git_index_add

Feb 6, 2024

References

github.com / libgit2/libgit2/releases/tag/v1.6.5
Release Notes
github.com / libgit2/libgit2/releases/tag/v1.7.2
Release Notes
github.com / libgit2/libgit2/security/advisories/GHSA-j2v7-4f6v-gpg8
Third Party Advisory
lists.debian.org / debian-lts-announce/2024/02/msg00012.html
lists.fedoraproject.org / archives/list/[email protected]/message/4M3P7WIEPXNRLBINQRJFXUSTNKBCHYC7
lists.fedoraproject.org / archives/list/[email protected]/message/7CNDW3PF6NHO7OXNM5GN6WSSGAMA7MZE
lists.fedoraproject.org / archives/list/[email protected]/message/S635BGHHZUMRPI7QOXOJ45QHDD5FFZ3S
lists.fedoraproject.org / archives/list/[email protected]/message/Z6MXOX7I43OWNN7R6M54XLG6U5RXY244
lists.fedoraproject.org / archives/list/[email protected]/message/ZGNHOEE2RBLH7KCJUPUNYG4CDTW4HTBT