Packages
- libgit2 - Portable C implementation of the Git core methods library
Details
It was discovered that libgit2 incorrectly handled the Git Smart Protocol.
A remote attacker could possibly use this issue to cause a denial of
service or execute arbitrary code. This issue only affected Ubuntu 14.04
LTS and Ubuntu 16.04 LTS. (CVE-2016-10128)
It was discovered that libgit2 incorrectly handled empty packet lines in
the Git Smart Protocol. A remote attacker could possibly use this issue
to cause a denial of service. This issue only affected Ubuntu 14.04 LTS
and Ubuntu 16.04 LTS. (CVE-2016-10129)
It was discovered that libgit2 incorrectly handled error reporting in the
HTTP transport. A remote attacker could possibly use this issue to spoof
servers. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-10130)
It was discovered that libgit2 incorrectly handled certain crafted "ng"
packets. A...
It was discovered that libgit2 incorrectly handled the Git Smart Protocol.
A remote attacker could possibly use this issue to cause a denial of
service or execute arbitrary code. This issue only affected Ubuntu 14.04
LTS and Ubuntu 16.04 LTS. (CVE-2016-10128)
It was discovered that libgit2 incorrectly handled empty packet lines in
the Git Smart Protocol. A remote attacker could possibly use this issue
to cause a denial of service. This issue only affected Ubuntu 14.04 LTS
and Ubuntu 16.04 LTS. (CVE-2016-10129)
It was discovered that libgit2 incorrectly handled error reporting in the
HTTP transport. A remote attacker could possibly use this issue to spoof
servers. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-10130)
It was discovered that libgit2 incorrectly handled certain crafted "ng"
packets. A remote attacker could possibly use this issue to cause a denial
of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS,
and Ubuntu 18.04 LTS. (CVE-2018-15501)
Krishna Ram Prakash R and Vivek Parikh discovered that libgit2 incorrectly
handled certain repository index files. A local attacker could possibly use
this issue to cause a denial of service. This issue only affected Ubuntu
18.04 LTS. (CVE-2018-8098)
Krishna Ram Prakash R and Vivek Parikh discovered that libgit2 incorrectly
handled certain repository index files. A local attacker could possibly use
this issue to cause a denial of service. This issue only affected Ubuntu
14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 18.04 LTS. (CVE-2018-8099)
Michał Majchrowicz and Marcin Wyczechowski discovered that libgit2
incorrectly handled submodule paths. A remote attacker could possibly use
this issue to write files outside the working tree. This issue only
affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and
Ubuntu 26.04 LTS. (CVE-2026-53584)
Michał Majchrowicz and Marcin Wyczechowski discovered that libgit2
incorrectly handled delta object result-size headers. A remote attacker
could possibly use this issue to cause libgit2 to consume excessive memory,
leading to a denial of service. (CVE-2026-53585)
Thai Son Dinh discovered that libgit2 incorrectly handled HTTP redirects.
A remote attacker could possibly use this issue to leak credentials to an
offsite redirect target. This issue only affected Ubuntu 20.04 LTS,
Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS.
(CVE-2026-53586)
It was discovered that libgit2 incorrectly handled certain capability
buffers in the smart protocol. A remote attacker could possibly use this
issue to cause a denial of service. This issue only affected Ubuntu 24.04
LTS and Ubuntu 26.04 LTS. (CVE-2026-53587)
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
| 26.04 LTS resolute | libgit2-1.9 – 1.9.1+ds-1ubuntu1.1 | ||
| libgit2-dev – 1.9.1+ds-1ubuntu1.1 | |||
| libgit2-fixtures – 1.9.1+ds-1ubuntu1.1 | |||
| 24.04 LTS noble | libgit2-1.7 – 1.7.2+ds-1ubuntu3.1 | ||
| libgit2-dev – 1.7.2+ds-1ubuntu3.1 | |||
| libgit2-fixtures – 1.7.2+ds-1ubuntu3.1 | |||
| 22.04 LTS jammy | libgit2-1.1 – 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 | ||
| libgit2-dev – 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 | |||
| libgit2-fixtures – 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 | |||
| 20.04 LTS focal | libgit2-28 – 0.28.4+dfsg.1-2ubuntu0.1+esm1 | ||
| libgit2-dev – 0.28.4+dfsg.1-2ubuntu0.1+esm1 | |||
| 18.04 LTS bionic | libgit2-26 – 0.26.0+dfsg.1-1.1ubuntu0.2+esm2 | ||
| libgit2-dev – 0.26.0+dfsg.1-1.1ubuntu0.2+esm2 | |||
| 16.04 LTS xenial | libgit2-24 – 0.24.1-2ubuntu0.2+esm3 | ||
| libgit2-dev – 0.24.1-2ubuntu0.2+esm3 | |||
| 14.04 LTS trusty | libgit2-0 – 0.19.0-2ubuntu0.4+esm2 | ||
| libgit2-dev – 0.19.0-2ubuntu0.4+esm2 | |||
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.