Advisory

USN-8628-1

Also known as: CVE-2016-10128, CVE-2016-10129, CVE-2016-10130, CVE-2018-15501, CVE-2018-8098, CVE-2018-8099, CVE-2026-53584, CVE-2026-53585, CVE-2026-53586, CVE-2026-53587

Summary

libgit2 vulnerabilities

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 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)

Severity

Not rated by the source.

Dates

Published
2026-08-12 19:13 UTC
Modified
2026-08-24 10:00 UTC

Affected packages and fixes

libgit2

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.7.2+ds-1ubuntu3.1 (ecosystem)

Fixed versions

1.7.2+ds-1ubuntu3.1

Fix

  • Fixed version 1.7.2+ds-1ubuntu3.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgit2

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.9.1+ds-1ubuntu1.1 (ecosystem)

Fixed versions

1.9.1+ds-1ubuntu1.1

Fix

  • Fixed version 1.9.1+ds-1ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences