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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade libgit2 | Aug 21, 2026 | Aug 20, 2026 |
| Amazon_linux_2023 | — | Upgrade rustfmtUpgrade cargoUpgrade rust-analyzer-debuginfoUpgrade rust-std-staticUpgrade rustUpgrade rust-docUpgrade rust-srcUpgrade rustfmt-debuginfoUpgrade rust-toolset-srpm-macrosUpgrade cargo-c-debuginfoUpgrade rust-cargo-c-debugsourceUpgrade clippyUpgrade cargo-cUpgrade libgit2-debuginfoUpgrade libgit2Upgrade rust-lldbUpgrade rust-toolsetUpgrade rust-std-static-wasm32-wasip1Upgrade rust-analyzerUpgrade rust-debugger-commonUpgrade rust-debuginfoUpgrade rust-debugsourceUpgrade cargo-debuginfoUpgrade rust-gdbUpgrade libgit2-develUpgrade libgit2-debugsourceUpgrade rust-std-static-wasm32-unknown-unknownUpgrade clippy-debuginfo | Aug 21, 2026 | Aug 20, 2026 |
| Debian | — | Upgrade libgit2 | Aug 23, 2026 | Aug 20, 2026 |
| Redhat_linux | — | No solution exists | Aug 25, 2026 | Aug 20, 2026 |
| Ubuntu | — | Upgrade libgit2-1.7Upgrade libgit2-fixturesUpgrade libgit2-28 (Ubuntu Pro)Upgrade libgit2-fixtures (Ubuntu Pro)Upgrade libgit2-devUpgrade libgit2-1.1 (Ubuntu Pro)Upgrade libgit2-26 (Ubuntu Pro)Upgrade libgit2-0 (Ubuntu Pro)Upgrade libgit2-24 (Ubuntu Pro)No solution existsUpgrade libgit2-dev (Ubuntu Pro)Upgrade libgit2-1.9 | Aug 13, 2026 | Aug 12, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub