Home / mailingsPDF  

[USN-8809-1] libgit2 vulnerability

Posted on 24 September 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-8809-1
September 23, 2026

libgit2 vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 26.04 LTS
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

libgit2 could be made to run programs as your login if it received
specially crafted network traffic.

Software Description:
- libgit2: Portable C implementation of the Git core methods library

Details:

Kazuma Matsumoto and Isabel Mill discovered that libgit2 incorrectly
handled certain repository URLs when using the SSH transport. A remote
attacker could possibly use this issue to execute arbitrary commands.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 26.04 LTS
libgit2-1.9 1.9.1+ds-1ubuntu1.2
libgit2-dev 1.9.1+ds-1ubuntu1.2
libgit2-fixtures 1.9.1+ds-1ubuntu1.2

Ubuntu 24.04 LTS
libgit2-1.7 1.7.2+ds-1ubuntu3.2
libgit2-dev 1.7.2+ds-1ubuntu3.2
libgit2-fixtures 1.7.2+ds-1ubuntu3.2

Ubuntu 22.04 LTS
libgit2-1.1 1.1.0+dfsg.1-4.1ubuntu0.1+esm2
Available with Ubuntu Pro
libgit2-dev 1.1.0+dfsg.1-4.1ubuntu0.1+esm2
Available with Ubuntu Pro
libgit2-fixtures 1.1.0+dfsg.1-4.1ubuntu0.1+esm2
Available with Ubuntu Pro

Ubuntu 20.04 LTS
libgit2-28 0.28.4+dfsg.1-2ubuntu0.1+esm2
Available with Ubuntu Pro
libgit2-dev 0.28.4+dfsg.1-2ubuntu0.1+esm2
Available with Ubuntu Pro

Ubuntu 18.04 LTS
libgit2-26 0.26.0+dfsg.1-1.1ubuntu0.2+esm3
Available with Ubuntu Pro
libgit2-dev 0.26.0+dfsg.1-1.1ubuntu0.2+esm3
Available with Ubuntu Pro

Ubuntu 16.04 LTS
libgit2-24 0.24.1-2ubuntu0.2+esm4
Available with Ubuntu Pro
libgit2-dev 0.24.1-2ubuntu0.2+esm4
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-8809-1
CVE-2026-5917

Package Information:
https://launchpad.net/ubuntu/+source/libgit2/1.9.1+ds-1ubuntu1.2
https://launchpad.net/ubuntu/+source/libgit2/1.7.2+ds-1ubuntu3.2

--===============6735918142798365680==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP