> CVE-2026-34477 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-04-10 16:16
MODIFIED
2026-04-10 16:16
CVSS_SCORE V3
6.3
EPSS (Prob. Exploit)
0.57%
Top 52.6%
DATA SOURCES:
NVD đź”— 2026-04-10 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-08 GITHUB đź”— 2026-10-28 OSV đź”— 2026-11-02 MSRC đź”— 2026-08-01

> DESCRIPTION

The fix for CVE-2025-68161 https://logging.apache.org/security.html#CVE-2025-68161 was incomplete: it addressed hostname verification only when enabled via the log4j2.sslVerifyHostName https://logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName system property, but not when configured through the verifyHostName https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName attribute of the <Ssl> element. Although the verifyHostName configuration attribute was introduced in Log4j Core 2.12.0, it was silently ignored in all versions through 2.25.3, leaving TLS connections vulnerable to interception regardless of the configured value. A network-based attacker may be able to perform a man-in-the-middle attack when all of the following conditions are met: * An SMTP, Socket, or Syslog appender is in use. * TLS is configured via a nested <Ssl> element. * The attacker can present a certificate issued by a CA trusted by the appender's configured trust store, or by the default Java trust store if none is configured. This issue does not affect users of the HTTP appender, which uses a separate verifyHostname https://logging.apache.org/log4j/2.x/manual/appenders/network.html#HttpAppender-attr-verifyHostName attribute that was not subject to this bug and verifies host names by default. Users are advised to upgrade to Apache Log4j Core 2.25.4, which corrects this issue.

> AFFECTED_PRODUCTS

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

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
High (H)
Conditions spécifiques doivent être réunies 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
None (N)
Aucune modification de 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é
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-297

> CWE DETAILED DESCRIPTIONS

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 Offline Knowledge Portal security and content update
Red Hat Offline Knowledge Portal security fixes, bug fixes, enhancements & content update

> GITHUB SECURITY ADVISORY

GHSA-6hg6-v5c8-fphq MODERATE

Apache Log4j Core: `verifyHostName` attribute silently ignored in TLS configuration

AFFECTED PACKAGES:
MAVEN / org.apache.logging.log4j:log4j-core
>= 3.0.0-alpha1, <= 3.0.0-beta3
MAVEN / org.apache.logging.log4j:log4j-core
>= 2.12.0, < 2.25.4
Fixed in: 2.25.4

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Apache Log4j Core: verifyHostName attribute silently ignored in TLS configuration, allowing hostname verification bypass

AFFECTED PACKAGES:
Unknown / Unknown
54 versions affected
ALIASES:
GHSA-6hg6-v5c8-fphq

> HISTORIQUE DES MODIFICATIONS

Première apparition
10/04/2026 16:16
Source: NVD
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
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 actu...
Total des modifications: 1 Dernière mise à jour: 6 months ago

> REFERENCES

https://github.com/apache/logging-log4j2/pull/4075
https://lists.apache.org/thread/lkx8cl46t2bvkcwfcb2pd43ygc097lq4
https://logging.apache.org/cyclonedx/vdr.xml
https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfigurat...
https://logging.apache.org/security.html#CVE-2026-34477
« BACK_TO_HOME