CVE-2026-53587
Last modified
CVE-2026-53587 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.47% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| libgit2 | libgit2 | < 1.8.6; >= 1.9.0, < 1.9.5 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-53587?
How severe is CVE-2026-53587?
How do I fix CVE-2026-53587?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-53580Trilium is an open-source hierarchical note-taking applicati…8.1
- CVE-2026-53581OPNsense is a FreeBSD based firewall and routing platform. P…9
- CVE-2026-53583libgit2 is a portable C implementation of the Git core metho…6.5
- CVE-2026-53584libgit2 is a portable C implementation of the Git core metho…4.3
- CVE-2026-53585libgit2 is a portable C implementation of the Git core metho…5.3
- CVE-2026-53586libgit2 is a portable C implementation of the Git core metho…6.5
- CVE-2026-5359Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-53591FreeScout is a free help desk and shared inbox built with PH…8.6
- CVE-2026-53592FreeScout is a free help desk and shared inbox built with PH…4.6
- CVE-2026-53593FreeScout is a free help desk and shared inbox built with PH…8.8
- CVE-2026-53594FreeScout is a free help desk and shared inbox built with PH…4.9
- CVE-2026-53595FreeScout is a free help desk and shared inbox built with PH…9.4
Are you affected by CVE-2026-53587?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
