7.5

CVE-2026-53587: libgit2 Improper Input Validation

CVSS: 7.5v3.1HighAwaiting analysis
AliasesRHSA-2026:67285RHSA-2026:67286RHSA-2026:69096
Published 20-08-2026Last modified 20-08-2026

Vulnerability summary

CVE-2026-53587 is a high (CVSS 7.5) Improper Input Validation vulnerability in libgit2. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 39.6% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.47%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 20-08-2026
    PublishedVulnerability first disclosed.
  2. 20-08-2026
    Last modifiedVulnerability information updated.

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. Prior to 1.8.6 and 1.9.5, libgit2 performs a fixed-size strncmp in set_data in src/libgit2/transports/smart_pkt.c without first verifying that the smart-protocol pkt-line capability buffer contains 14 bytes. A malicious Git server can make bytes after the pkt-line complete object-format=, causing format_str to advance beyond the pkt-line and the following memchr length calculation to underflow. The resulting heap out-of-bounds walk can crash a client during the first refs-advertisement packet over HTTP, HTTPS, SSH, or the Git protocol. This issue is fixed in versions 1.8.6 and 1.9.5.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.47%

Chance of exploitation in the next 30 days

Percentile

40%

Versus all other CVEs

30-day change

0.00 pp

From 0.47% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.47%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat25 products
  • cargo< 0:1.92.0-2.el9_8 | < 0:1.92.0-2.el10_2 | < 0:1.84.1-1.el10_0.4 | < 0:1.75.0-1.el9_4.1 | < 0:1.84.1-1.el9_6.1
  • cargo-debuginfo< 0:1.92.0-2.el9_8 | < 0:1.92.0-2.el10_2 | < 0:1.84.1-1.el10_0.4 | < 0:1.75.0-1.el9_4.1 | < 0:1.84.1-1.el9_6.1
  • clippy< 0:1.92.0-2.el9_8 | < 0:1.92.0-2.el10_2 | < 0:1.84.1-1.el10_0.4 | < 0:1.75.0-1.el9_4.1 | < 0:1.84.1-1.el9_6.1
  • clippy-debuginfo< 0:1.92.0-2.el9_8 | < 0:1.92.0-2.el10_2 | < 0:1.84.1-1.el10_0.4 | < 0:1.75.0-1.el9_4.1 | < 0:1.84.1-1.el9_6.1
  • rust< 0:1.92.0-2.el9_8 | < 0:1.92.0-2.el10_2 | < 0:1.84.1-1.el10_0.4 | < 0:1.75.0-1.el9_4.1 | < 0:1.84.1-1.el9_6.1
Debian1 product
  • libgit2< 1.9.0+ds-2+deb13u1 | < 1.9.6+ds-1
Libgit21 product
  • libgit2< 1.8.6 | ≥ 1.9.0, < 1.9.5
Ubuntu1 product
  • libgit2< 1.7.2+ds-1ubuntu3.1 | < 1.9.1+ds-1ubuntu1.1

4 vendors · 28 products

References

24 links
Show all 24 references