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
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Alixploit22/CVE-2026-53587 | poc-in-github | 2026-08-15 |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| libgit2:libgit2 | >= 1.9.0, < 1.9.5; < 1.8.6 | no | cna_alias_text | /v1/products/libgit2/libgit2 |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| libgit2/libgit2 | commit, fix, releases, security_advisory | yes | /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