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.
CVE-2026-53587
This high-severity CVE scores 7.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 68% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EG Risk
- 65(Attend)EG Risk 65/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 0%
- EPSS %ILE
- 32%
- KEV
- Not listed
Published
August 20, 2026
Last Modified
August 20, 2026
Advisory Details (6)
Auto-updated Aug 20, 2026libgit2 v1.9.5
Patch available: libgit2/libgit2 v1.9.5
https://github.com/libgit2/libgit2/releases/tag/v1.9.5libgit2 v1.8.6
Patch available: libgit2/libgit2 v1.8.6
https://github.com/libgit2/libgit2/releases/tag/v1.8.6commit d7a9fb87f504 (libgit2/libgit2)
Fix landed in libgit2/libgit2 commit d7a9fb87f504 — awaiting tagged release
https://github.com/libgit2/libgit2/commit/d7a9fb87f504434e9f45228678953c4fa56e7640commit affda60c10fc (libgit2/libgit2)
Patch available: libgit2/libgit2 v1.9.5 (contains commit affda60c10fc)
https://github.com/libgit2/libgit2/commit/affda60c10fcef16723451c0d7dc71b71dc20ad3commit 2c0ce8c0132a (libgit2/libgit2)
Patch available: libgit2/libgit2 v1.8.6 (contains commit 2c0ce8c0132a)
https://github.com/libgit2/libgit2/commit/2c0ce8c0132ac38ab0db28239462a671e2e5440elibgit2 <= 1.9.4 - Unauthenticated network-reachable heap out-of-bounds read in transports/smart_pkt.c:set_data · Advisory · libgit2/libgit2 · GitHub
https://github.com/libgit2/libgit2/security/advisories/GHSA-pm24-4jhq-3xvmVendor Advisories for CVE-2026-53587(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | libgit2-main-1.9.7-1.hum1 | 2026-08-25 | redhat |
| ubuntu | libgit2-dev (0.28.4+dfsg.1-2ubuntu0.1+esm1) @ focal | 2026-08-25 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(4)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 26× in last 7d / 26× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-25 16:58 UTCEG score recompute
- 2026-08-25 16:58 UTCVendor advisory
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 05:07 UTCVendor advisory
- 2026-08-24 17:28 UTCEG score recompute
- 2026-08-24 17:28 UTCVendor advisory
- 2026-08-24 05:50 UTCVendor advisory
- 2026-08-23 18:10 UTCVendor advisory
- 2026-08-23 06:31 UTCEG score recompute
- 2026-08-23 06:31 UTCVendor advisory
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 18:53 UTCVendor advisory
- 2026-08-22 07:15 UTCEG score recompute
- 2026-08-22 07:15 UTCVendor advisory
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 19:37 UTCVendor advisory
- 2026-08-21 07:59 UTCVendor advisory
- 2026-08-20 20:20 UTCEG score recompute
- 2026-08-20 20:20 UTCVendor advisory
- 2026-08-20 19:22 UTCEG score recompute
- 2026-08-20 19:22 UTCVendor advisory
- 2026-08-20 19:18 UTCEG score recompute
- 2026-08-20 19:18 UTCVendor advisory
- 2026-08-20 18:52 UTCEG score recompute
- 2026-08-20 18:52 UTCVendor advisory
Show 1 moreShow fewer
- 2026-08-20 18:51 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-53587?
When was CVE-2026-53587 disclosed?
Is CVE-2026-53587 actively exploited?
What is the CVSS score of CVE-2026-53587?
How do I remediate CVE-2026-53587?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-53587
Is Your Infrastructure Affected by CVE-2026-53587?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.