SecurityContext

CVE-2026-53587: libgit2 - Denial of Service

  • Cve: CVE-2026-53587
  • Name: libgit2 - Denial of Service
  • 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.
  • Impact: A malicious Git server can crash the client application, causing denial of service.
  • Remediation: Update to versions 1.8.6 or 1.9.5 or later.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.0047
  • Epss percentile: 0.41484
  • Assignee: [email protected]
  • Published at: 2026-08-20T19:16:55Z
  • Age in days: 95
  • Modified at: 2026-10-26T10:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-53587
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-20Improper Input Validation

Public exploits

UrlSourceAdded date
https://github.com/Alixploit22/CVE-2026-53587poc-in-github2026-08-15

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/libgit2/libgit2/commit/2c0ce8c0132ac38ab0db28239462a671e2e5440e
https://github.com/libgit2/libgit2/commit/affda60c10fcef16723451c0d7dc71b71dc20ad3
https://github.com/libgit2/libgit2/commit/d7a9fb87f504434e9f45228678953c4fa56e7640
https://github.com/libgit2/libgit2/releases/tag/v1.8.6
https://github.com/libgit2/libgit2/releases/tag/v1.9.5
https://github.com/libgit2/libgit2/security/advisories/GHSA-pm24-4jhq-3xvm

Products

ProductAffectedPlatform boundSourcesUrl
libgit2:libgit2>= 1.9.0, < 1.9.5; < 1.8.6nocna_alias_text/v1/products/libgit2/libgit2

Projects

RepositoryLink kindsIndexedUrl
libgit2/libgit2commit, fix, releases, security_advisoryyes/v1/repositories/libgit2/libgit2

Index

  • Repositories: 22
  • Repositories high signal: 15
  • Checked, none or zero: packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-08-15
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts