
CVE catalog
CVE-2026-53583
libgit2 vulnerability
- Severity
- High · CVSS 7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.24% · Oct 25, 2026
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, verify_server_cert in src/libgit2/streams/openssl.c uses an inverted !!memcmp result in the GEN_IPADD branch when comparing an IP-literal host with a certificate IP SubjectAltName. OpenSSL builds reject matching IP addresses and accept mismatched IP addresses, allowing a network attacker with a CA-trusted certificate containing any IP SubjectAltName to intercept libgit2 connections to IP-literal HTTPS URLs. DNS SubjectAltName validation and non-OpenSSL TLS backends are not affected. This issue is fixed in versions 1.8.6 and 1.9.5.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libgit2 | sid | 1.9.7+ds-1 | fixed |
| Debian | libgit2 | forky | 1.9.7+ds-1 | fixed |
| Debian | libgit2 | trixie | 1.9.0+ds-2+deb13u1 | fixed |
| Debian | libgit2 | trixie-security | 1.9.0+ds-2+deb13u1 | fixed |
| Debian | libgit2 | bookworm | 1.5.1+ds-1+deb12u1 | not affected |
| Debian | libgit2 | bookworm-security | 1.5.1+ds-1+deb12u2 | not affected |
| Ubuntu | libgit2 | noble | 1.7.2+ds-1ubuntu3.3 | fixed |
| Ubuntu | libgit2-1.7 | noble | 1.7.2+ds-1ubuntu3.3 | fixed |
| Ubuntu | libgit2-dev | noble | 1.7.2+ds-1ubuntu3.3 | fixed |
| Ubuntu | libgit2-fixtures | noble | 1.7.2+ds-1ubuntu3.3 | fixed |
| Ubuntu | libgit2 | 24.04 | 1.5.1+ds-1ubuntu1 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.1+ds-2ubuntu1 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.2+ds-1ubuntu1 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.2+ds-1ubuntu2 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.2+ds-1ubuntu3 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.2+ds-1ubuntu3.1 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.2+ds-1ubuntu3.2 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.2+ds-1ubuntu3.3 | fixed |
| Ubuntu | libgit2 | 26.04 | 1.9.0+ds-2ubuntu2 | vulnerable |
| Ubuntu | libgit2 | 26.04 | 1.9.1+ds-1ubuntu1 | vulnerable |
| Ubuntu | libgit2 | 26.04 | 1.9.1+ds-1ubuntu1.1 | vulnerable |
| Ubuntu | libgit2 | 26.04 | 1.9.1+ds-1ubuntu1.2 | vulnerable |
| Ubuntu | libgit2 | 26.04 | 1.9.1+ds-1ubuntu1.3 | fixed |
| Ubuntu | libgit2 | pro | 1.1.0+dfsg.1-4 | vulnerable |
| Ubuntu | libgit2 | pro | 1.1.0+dfsg.1-4.1 | vulnerable |
| Ubuntu | libgit2 | pro | 1.1.0+dfsg.1-4.1build1 | vulnerable |
| Ubuntu | libgit2 | pro | 1.1.0+dfsg.1-4.1ubuntu0.1 | vulnerable |
| Ubuntu | libgit2 | pro | 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 | vulnerable |
| Ubuntu | libgit2 | pro | 1.1.0+dfsg.1-4.1ubuntu0.1+esm2 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.5.1+ds-1ubuntu1 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.1+ds-2ubuntu1 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.2+ds-1ubuntu1 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.2+ds-1ubuntu2 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.2+ds-1ubuntu3 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.2+ds-1ubuntu3.1 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.2+ds-1ubuntu3.2 | vulnerable |
| Ubuntu | libgit2 | 24.04 | 1.7.2+ds-1ubuntu3.3 | fixed |
| Ubuntu | libgit2 | 26.04 | 1.9.0+ds-2ubuntu2 | vulnerable |
| Ubuntu | libgit2 | 26.04 | 1.9.1+ds-1ubuntu1 | vulnerable |
| Ubuntu | libgit2 | 26.04 | 1.9.1+ds-1ubuntu1.1 | vulnerable |
| Ubuntu | libgit2 | 26.04 | 1.9.1+ds-1ubuntu1.2 | vulnerable |
| Ubuntu | libgit2 | 26.04 | 1.9.1+ds-1ubuntu1.3 | fixed |
| Opensuse | libgit2 | tumbleweed | 1.9.6-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libgit2 | source | sid | 1.9.6+ds-1 | not yet assigned | Not reported | Not reported |
| Debian | libgit2 | source | forky | 1.9.6+ds-1 | not yet assigned | Not reported | Not reported |
| Debian | libgit2 | source | trixie | 1.9.0+ds-2+deb13u1 | not yet assigned | Not reported | Not reported |
| Debian | libgit2 | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Ubuntu | libgit2 | deb | noble | 1.7.2+ds-1ubuntu3.3 | Not reported | Not reported | Not reported |
| Ubuntu | libgit2-1.7 | deb | noble | 1.7.2+ds-1ubuntu3.3 | Not reported | Not reported | Not reported |
| Ubuntu | libgit2-dev | deb | noble | 1.7.2+ds-1ubuntu3.3 | Not reported | Not reported | Not reported |
| Ubuntu | libgit2-fixtures | deb | noble | 1.7.2+ds-1ubuntu3.3 | Not reported | Not reported | Not reported |
| Ubuntu | libgit2 | deb | 24.04 | 1.7.2+ds-1ubuntu3.3 | Not reported | USN-8907-1 | Not reported |
| Ubuntu | libgit2 | deb | 26.04 | 1.9.1+ds-1ubuntu1.3 | Not reported | USN-8907-1 | Not reported |
| Ubuntu | libgit2 | deb | 24.04 | 1.7.2+ds-1ubuntu3.3 | Not reported | UBUNTU-CVE-2026-53583 | Not reported |
| Ubuntu | libgit2 | deb | 26.04 | 1.9.1+ds-1ubuntu1.3 | Not reported | UBUNTU-CVE-2026-53583 | Not reported |
| Opensuse | libgit2 | rpm | tumbleweed | 1.9.6-1.1 | Not reported | OPENSUSE-SU-2026:11315-1 | Not reported |
OpenFactory catalog packages
[Debian 13 (Trixie)]
- [libgit2-1.9]Affected
Source package: [libgit2]
Details (4)
1.9.0+ds-2· amd64 · trixieAffected · Fixed:
1.9.0+ds-2+deb13u1usn · libgit2 · debian · 13
1.9.0+ds-2· arm64 · trixieAffected · Fixed:
1.9.0+ds-2+deb13u1usn · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· amd64 · trixie-securityFixed · Fixed:
1.9.0+ds-2+deb13u1usn · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.9.0+ds-2+deb13u1usn · libgit2 · debian · 13
- [libgit2-dev]Affected
Source package: [libgit2]
Details (4)
1.9.0+ds-2· amd64 · trixieAffected · Fixed:
1.9.0+ds-2+deb13u1usn · libgit2 · debian · 13
1.9.0+ds-2· arm64 · trixieAffected · Fixed:
1.9.0+ds-2+deb13u1usn · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· amd64 · trixie-securityFixed · Fixed:
1.9.0+ds-2+deb13u1usn · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.9.0+ds-2+deb13u1usn · libgit2 · debian · 13
- [libgit2-fixtures]Affected
Source package: [libgit2]
Details (4)
1.9.0+ds-2· all · trixieAffected · Fixed:
1.9.0+ds-2+deb13u1usn · libgit2 · debian · 13
1.9.0+ds-2· all · trixieAffected · Fixed:
1.9.0+ds-2+deb13u1usn · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· all · trixie-securityFixed · Fixed:
1.9.0+ds-2+deb13u1usn · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· all · trixie-securityFixed · Fixed:
1.9.0+ds-2+deb13u1usn · libgit2 · debian · 13
[openSUSE Tumbleweed]
- [libgit2-1_9]Unknown
Source package: [libgit2]
Details (1)
1.9.7-1.1· x86_64 · tumbleweedUnknown · Fixed:
1.9.6-1.1Version impact unknown
usn · libgit2 · opensuse · tumbleweed
- [libgit2-devel]Unknown
Source package: [libgit2]
Details (1)
1.9.7-1.1· x86_64 · tumbleweedUnknown · Fixed:
1.9.6-1.1Version impact unknown
usn · libgit2 · opensuse · tumbleweed
- [libgit2-tools]Unknown
Source package: [libgit2]
Details (1)
1.9.7-1.1· x86_64 · tumbleweedUnknown · Fixed:
1.9.6-1.1Version impact unknown
usn · libgit2 · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [libgit2-1.5]Not affected
Source package: [libgit2]
Details (4)
1.5.1+ds-1+deb12u1· amd64 · bookwormNot affected
usn · libgit2 · debian · bookworm
1.5.1+ds-1+deb12u1· arm64 · bookwormNot affected
usn · libgit2 · debian · bookworm
1.5.1+ds-1+deb12u1· amd64 · bookworm-securityNot affected
usn · libgit2 · debian · bookworm
1.5.1+ds-1+deb12u1· arm64 · bookworm-securityNot affected
usn · libgit2 · debian · bookworm
- [libgit2-1.8]Not affected
Source package: [libgit2]
Details (2)
1.8.4+ds-3~bpo12+1· amd64 · bookworm-backportsNot affected
usn · libgit2 · debian · bookworm
1.8.4+ds-3~bpo12+1· arm64 · bookworm-backportsNot affected
usn · libgit2 · debian · bookworm
- [libgit2-dev]Not affected
Source package: [libgit2]
Details (6)
1.5.1+ds-1+deb12u1· amd64 · bookwormNot affected
usn · libgit2 · debian · bookworm
1.5.1+ds-1+deb12u1· arm64 · bookwormNot affected
usn · libgit2 · debian · bookworm
1.8.4+ds-3~bpo12+1· amd64 · bookworm-backportsNot affected
usn · libgit2 · debian · bookworm
1.8.4+ds-3~bpo12+1· arm64 · bookworm-backportsNot affected
usn · libgit2 · debian · bookworm
1.5.1+ds-1+deb12u1· amd64 · bookworm-securityNot affected
usn · libgit2 · debian · bookworm
1.5.1+ds-1+deb12u1· arm64 · bookworm-securityNot affected
usn · libgit2 · debian · bookworm
- [libgit2-fixtures]Not affected
Source package: [libgit2]
Details (6)
1.5.1+ds-1+deb12u1· all · bookwormNot affected
usn · libgit2 · debian · bookworm
1.5.1+ds-1+deb12u1· all · bookwormNot affected
usn · libgit2 · debian · bookworm
1.8.4+ds-3~bpo12+1· all · bookworm-backportsNot affected
usn · libgit2 · debian · bookworm
1.8.4+ds-3~bpo12+1· all · bookworm-backportsNot affected
usn · libgit2 · debian · bookworm
1.5.1+ds-1+deb12u1· all · bookworm-securityNot affected
usn · libgit2 · debian · bookworm
1.5.1+ds-1+deb12u1· all · bookworm-securityNot affected
usn · libgit2 · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11315-1.json]
- [https://github.com/libgit2/libgit2/commit/647dcb432980b84ede4cb5a008bbd1ccb4ead03d]
- [https://github.com/libgit2/libgit2/commit/c2aa35409ee0e6515df64da49750f13a0a42c47f]
- [https://github.com/libgit2/libgit2/commit/ef086bc3e4eedf62be38a910381aae24d49871ff]
- [https://github.com/libgit2/libgit2/releases/tag/v1.8.6]
- [https://github.com/libgit2/libgit2/releases/tag/v1.9.5]
- [https://github.com/libgit2/libgit2/security/advisories/GHSA-h7gc-w2gg-p9xp]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-53583]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-53583]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-53583]
- [https://osv.dev/vulnerability/USN-8907-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11315-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-53583]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53583.json]
- [https://ubuntu.com/security/notices/USN-8907-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]