-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

- -------------------------------------------------------------------------
Debian LTS Advisory DLA-4831-1                [email protected]
https://www.debian.org/lts/security/                        Simon Quigley
October 12, 2026                              https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package        : libgit2
Version        : 1.5.1+ds-1+deb12u2
CVE ID         : CVE-2026-5917 CVE-2026-53584 CVE-2026-53585 CVE-2026-53586
Debian Bug     : 1144465

Multiple security issues were discovered in libgit2, a low-level Git
library, which could result in path traversal, denial of service,
credential leaks, or the execution of arbitrary commands on an SSH
server.

CVE-2026-5917

    The repository path was placed unescaped inside single quotes in
    the command sent to the server over SSH, so a path containing a
    single quote could execute arbitrary commands on the SSH server.
    The path is now escaped.

CVE-2026-53584

    Submodule paths read from .gitmodules were not checked for "..",
    so a malicious repository could make submodule lookup, add, init
    or update operate outside the working tree. Such paths are now
    rejected.

CVE-2026-53585

    Delta application allocated whatever result size the delta header
    declared, so a small malicious packfile could force huge memory
    allocations, leading to a denial of service. Objects produced by
    delta application are now limited to 2 GiB by default; the limit
    can be changed with GIT_OPT_SET_PACK_MAX_OBJECT_SIZE.

CVE-2026-53586

    After an offsite redirect on the initial HTTP request, the
    credential callback was still given the original URL, so a
    credential helper could hand the credentials for the original host
    to the redirect target. The callback now receives the host that is
    actually being contacted.

For Debian 12 bookworm, these problems have been fixed in version
1.5.1+ds-1+deb12u2.

We recommend that you upgrade your libgit2 packages.

For the detailed security status of libgit2 please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/libgit2

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmrM/XgACgkQ4n8s+EWM
L6TwyQ//c52DHFx7NdY4G85pQqHFzNFiyVQR0qK3zvdpjmMpJlHpfRlQrxMI81ht
DD8ypUE/weml4dNFyBF1XmGfFa1KaFhLzmcNBR21oV1PT4MKaeT8d7jaafM2pa4g
eU59Xh8peozdCUkXIAHSt/V9y2l8iKoN5v0XGT2ZGp7oJ6AJwJSppPJXE5m7Sw5C
2sacyWulz02Ipz8jBjB8dbMMQYbTq/uDuPWoB3SZM9qyj3HdGi0KvpXRUqky2vQG
k9rLIM9kJgOkQc3faHi3PpgTpuVepgQMphvwLXPhi/lvN2BESt29acHqiJFUYa0A
jCRnvIRu7fxqccmrhMlhqlWhDRGo0GFZH1bxYkQsqfbdU2PJNySsIEbHnup46/Fr
tqcV14kGPd1foT+8UiHoqDjROn6A/1vU/VjHqYFjOxpMaxNpu8iSRY1lMmRx9E7g
RwFSR3J75Pih9amCvSndzvS9dUW2Ld7LJ1+FaNz+0WYe/q+6LL4iHBkftbFbAbdm
JkfX7XFiRQcP/Hav3UGqjdILW4DLPSiWB8pbX0KKrN0vyeCdkPLDW0mQSPBswKJH
xk+jgENGXIVqP/it/ONroaq0X6mmajrVdG22qtesZffdQjU2pEXDa3/XGTDXxDGq
AQZyy6El4cQSAkS3KWfWv6XjqkGYCuuLlGrjmRhj8GPdO5VWRqw=
=wezs
-----END PGP SIGNATURE-----

Reply via email to