cve.bz

CVE-2026-53585 libgit2 libgit2

5.3 mediumEPSS 0.4%

Medium (5.3) in libgit2 libgit2. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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, git_delta_apply in src/libgit2/delta.c trusts the attacker-controlled res_sz value parsed by hdr_sz from a delta object header and passes that amount to git__malloc before validating delta instructions. Malicious pack data supplied through git_clone, git_fetch, git_remote_fetch, git_indexer_append, or a local attacker-supplied repository can use a very small multi-level OFS_DELTA chain to retain extremely large allocations and exhaust memory. This issue is fixed in versions 1.8.6 and 1.9.5.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-08-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-53585 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-53585?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-53585?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-53585 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libgit2< 1.8.6
libgit2>= 1.9.0, < 1.9.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libgit21.5.1+ds-1+deb12u2DEBIAN-CVE-2026-53585
Debian13libgit21.9.0+ds-2+deb13u1DEBIAN-CVE-2026-53585
Debian14libgit21.9.6+ds-1DEBIAN-CVE-2026-53585
Ubuntu24.04:LTSlibgit21.7.2+ds-1ubuntu3.1UBUNTU-CVE-2026-53585
Ubuntu26.04:LTSlibgit21.9.1+ds-1ubuntu1.1UBUNTU-CVE-2026-53585
UbuntuPro:14.04:LTSlibgit20.19.0-2ubuntu0.4+esm2UBUNTU-CVE-2026-53585
UbuntuPro:16.04:LTSlibgit20.24.1-2ubuntu0.2+esm3UBUNTU-CVE-2026-53585
UbuntuPro:18.04:LTSlibgit20.26.0+dfsg.1-1.1ubuntu0.2+esm2UBUNTU-CVE-2026-53585
UbuntuPro:20.04:LTSlibgit20.28.4+dfsg.1-2ubuntu0.1+esm1UBUNTU-CVE-2026-53585
UbuntuPro:22.04:LTSlibgit21.1.0+dfsg.1-4.1ubuntu0.1+esm1UBUNTU-CVE-2026-53585
Red Hathummingbird:1libgit2, libgit2-devel0:1.9.7-1.hum1RHSA-2026:59361
openSUSETumbleweedlibgit21.9.6-1.1openSUSE-SU-2026:11315-1
Alpinev3.23, v3.24libgit21.9.6-r0ALPINE-CVE-2026-53585
Azure Linux3libgit21.7.2-3AZL-96965
Alpaquita25, streamlibgit21.9.6-r0BELL-CVE-2026-53585

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

To mitigate this issue, avoid cloning or fetching from untrusted Git repositories. Restricting access to systems that perform Git operations on untrusted data can also reduce exposure.

ProductPackageStateAdvisory
Red Hat Hardened Imageslibgit2-main-1.9.7-1.hum1Fixed 2026-08-25RHSA-2026:59361
Red Hat Enterprise Linux 10rustFix deferred
Red Hat Enterprise Linux 8libgit2Fix deferred
Red Hat Enterprise Linux 9rustFix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3libgit2Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rustFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-53585.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON