> CVE-2026-53583 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-08-20 19:16
MODIFIED
2026-08-20 19:16
CVSS_SCORE V3
6.5
EPSS (Prob. Exploit)
0.24%
Top 86.2%
DATA SOURCES:
NVD đź”— 2026-08-20 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-18 OSV đź”— 2026-10-26 MSRC đź”— 2026-09-01

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EXPLOITABILITY
3.9
IMPACT
2.5

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-295 CWE-297

> CWE DETAILED DESCRIPTIONS

CWE-295: Improper Certificate Validation - The product does not validate, or incorrectly validates, a certificate. | CWE-297: Improper Validation of Certificate with Host Mismatch - The product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host.

> RED HAT SECURITY ADVISORIES

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
An update for Red Hat Hardened Images RPMs is now available.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

libgit2: Inverted IP SubjectAltName Comparison in OpenSSL Backend

AFFECTED PACKAGES:
Unknown / Unknown
52 versions affected
ALIASES:
GHSA-h7gc-w2gg-p9xp

> HISTORIQUE DES MODIFICATIONS

Première apparition
20/08/2026 19:16
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-295: Improper Certificate Validation - The product does not validate, or incorrectly validates, a certificate. | CWE-297: Improper Validation of Certificate with Host Mismatch - The product commun...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/libgit2/libgit2/commit/647dcb432980b84ede4cb5a008bbd1ccb4ead0...
https://github.com/libgit2/libgit2/commit/c2aa35409ee0e6515df64da49750f13a0a42c4...
https://github.com/libgit2/libgit2/commit/ef086bc3e4eedf62be38a910381aae24d49871...
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://github.com/libgit2/libgit2/security/advisories/GHSA-h7gc-w2gg-p9xp
« BACK_TO_HOME