Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2024-24575
libgit2

Score7.5 High
CVSS 3.1
Exploit probability (EPSS)1.9%
within the next 30 days
CategoryDenial of service
Published6 February 2024
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: crashing the system or making it unavailable.

Weakness type: Uncontrolled resource consumption.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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.

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

Weakness: CWE-400 – Uncontrolled resource consumption

Affected products

VendorProductVersions
libgit2libgit2>=1.4.0 <1.6.5
libgit2libgit2>=1.7.0 <1.7.2

Sources

Latest in the same category

  • CVE-2026-139887 Low 1.9
    A vulnerability was found in nanocoai NanoClaw up to 2026.11.0. This affects the function readEnvFile of the file src/env.ts of the component Lockdown. The manipulation results in improper check for unusual conditions.…
    Denial of service · 1 December 2026
  • CVE-2026-139844 Medium 6.2
    A flaw was found in glib2. A local attacker can cause a Denial of Service (DoS) by exhausting file descriptors in an application that communicates over UNIX domain sockets using GDBus. By repeatedly sending malformed…
    Denial of service · 1 December 2026
  • CVE-2026-129980 Not scored
    Net::PublicSuffixList versions before 0.99_03 for Perl allow CPU and memory exhaustion via hosts with many labels in suffixes_in. Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List.…
    Denial of service · 1 December 2026
  • CVE-2026-121473 Medium 5.3
    A flaw was found in sequoia-net. When retrieving certificates from an HTTP Keyserver Protocol (HKP) or Web Key Directory (WKD) server, incoming responses are buffered in memory without an enforced size limit. A…
    Denial of service · 1 December 2026
  • CVE-2026-140102 High 7.5
    http-proxy-middleware is node.js http-proxy middleware. From 0.8.0 until 2.0.12, 3.0.11, and 4.2.2, an Upgrade request whose path does not match pathFilter can leave the raw socket without an error listener when ws:…
    Denial of service · 30 November 2026
  • CVE-2026-140095 High 8.7
    python-semver is a Python package for working with Semantic Versioning. Prior to 3.1.3, semver.Version.parse accepted an arbitrarily long alphabetic BUILD_IDENTIFIER and bump_build passed it through _increment_string…
    Denial of service · 30 November 2026