Skip to main content
VulnerabilityPublished

CVE-2026-34477: Apache Log4j Core · Improper Validation of Certificate with Host Mismatch

Affects Apache Log4j CoreSource CVE Database V5

0
Compare

Mentioned vulnerabilities

Not known to be exploited · CVSS 6.3 Medium : upgrade to 2.25.4 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.25.4
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade Apache to 2.25.4.

Affected software

ProductAffectedFixed in
Apache Software FoundationApache Log4j CoreAffected
  • >=2.12.0 <2.25.4
  • >=3.0.0-alpha1 <=3.0.0-beta3
Fixed in
  • 2.25.4
MavenApache Software Foundation/org.apache.logging.log4j:log4j-corepkg:maven/Apache Software Foundation/org.apache.logging.log4j:log4j-coreOther threatsAffected
  • >=2.12.0 <2.25.4
  • >=3.0.0-alpha1 <=3.0.0-beta3
Fixed in
  • 2.25.4
Mavenorg.apache.logging.log4j/log4j-corepkg:maven/org.apache.logging.log4j/log4j-coreOther threatsAffected
  • =2.12.0
  • =3.0.0-alpha1
Fixed in–

CPE configurations (1)

  • cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should upgrade to Apache Log4j Core version 2.25.4, which corrects the improper hostname verification issue. No other mitigations are specified or required as the fix is available. Patch status is confirmed by the vendor advisory recommending this upgrade.

Description

CVE-2026-34477 is a vulnerability in Apache Log4j Core affecting versions from 2.12.0 through 2.25.3. It involves improper validation of TLS certificates when hostname verification is configured via the <Ssl> element's verifyHostName attribute, which was silently ignored in these versions. This flaw allows a network attacker to potentially perform man-in-the-middle attacks if certain conditions are met, such as using SMTP, Socket, or Syslog appenders with TLS configured and the attacker presenting a trusted certificate. The issue does not affect the HTTP appender, which verifies hostnames correctly. Users are advised to upgrade to version 2.25.

References

Community reviews

Loading reviews…