{"schemaVersion":3,"id":"CVE-2026-53585","aliases":["UBUNTU-CVE-2026-53585","DEBIAN-CVE-2026-53585"],"status":"published","duplicateOf":null,"title":null,"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, 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.","dates":{"published":"2026-08-20T18:37:44.115Z","modified":"2026-08-25T15:21:43.819Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00395,"percentile":0.32488,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.06600000000000004,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00329},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00395,"percentile":0.32488}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00548,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00395,"percentile":0.32488}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"debian","product":"libgit2","name":"libgit2","label":"libgit2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libgit2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.5.1+ds-1+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.9.0+ds-2+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.9.6+ds-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.5.1+ds-1+deb12u2 | < 1.9.0+ds-2+deb13u1 | < 1.9.6+ds-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libgit2","name":"libgit2","label":"libgit2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libgit2","purlType":"deb","versions":[{"text":"< 0.19.0-2ubuntu0.4+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 0.24.1-2ubuntu0.2+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 0.26.0+dfsg.1-1.1ubuntu0.2+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 0.28.4+dfsg.1-2ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1.0+dfsg.1-4.1ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.7.2+ds-1ubuntu3.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.9.1+ds-1ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.19.0-2ubuntu0.4+esm2 | < 0.24.1-2ubuntu0.2+esm3 | < 0.26.0+dfsg.1-1.1ubuntu0.2+esm2 | < 0.28.4+dfsg.1-2ubuntu0.1+esm1 | < 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 | < 1.7.2+ds-1ubuntu3.1 | < 1.9.1+ds-1ubuntu1.1","eol":null,"hubHref":null},{"vendor":"libgit2","product":"libgit2","name":"libgit2","label":"libgit2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.8.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.9.0, < 1.9.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.6 | ≥ 1.9.0, < 1.9.5","eol":null,"hubHref":"/vendor/libgit2/libgit2"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libgit2/libgit2/security/advisories/GHSA-27m5-gxxh-x79j","label":"github.com/libgit2/libgit2/security/advisories/GHSA-27m5-gxxh-x79j","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/libgit2/libgit2/commit/0cdfdd5fa8f8514c82413025e1e0808866cf7c30","label":"github.com/libgit2/libgit2/commit/0cdfdd5fa8f8514c82413025e1e0808866cf7c30","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/libgit2/libgit2/commit/c1896f06df22cc0ca5658df3a8f6cd7ede4cd6ae","label":"github.com/libgit2/libgit2/commit/c1896f06df22cc0ca5658df3a8f6cd7ede4cd6ae","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/libgit2/libgit2/commit/dec22ac01ad9620c96b7b9ac3ef636ea46d43bed","label":"github.com/libgit2/libgit2/commit/dec22ac01ad9620c96b7b9ac3ef636ea46d43bed","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/libgit2/libgit2/releases/tag/v1.8.6","label":"github.com/libgit2/libgit2/releases/tag/v1.8.6","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/libgit2/libgit2/releases/tag/v1.9.5","label":"github.com/libgit2/libgit2/releases/tag/v1.9.5","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://ubuntu.com/security/CVE-2026-53585","label":"ubuntu.com/security/CVE-2026-53585","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-53585","label":"www.cve.org/CVERecord?id=CVE-2026-53585","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8628-1","label":"ubuntu.com/security/notices/USN-8628-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-53585","label":"security-tracker.debian.org/tracker/CVE-2026-53585","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53585","label":"nvd.nist.gov/vuln/detail/CVE-2026-53585","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:11315-1","RHSA-2026:59361"],"duplicates":[],"related":["OPENSUSE-SU-2026:11315-1","USN-8628-1"]},"timeline":[{"kind":"published","date":"2026-08-20T18:37:44.115Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-25T15:21:43.819Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T05:18:42.878Z","stale":false,"partial":false}}