CVE-2026-34477
No exploitation reported by the sources we read.
- Published2026-04-10
- Fixed in2.25.4
- WeaknessCWE-295 · CWE-297
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-04-1016:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.x | ≥ 2.12.0, < 2.25.4 | 2.25.4 | NVD · OSV |
| 3.0 | = 3.0.0 | no fix published | NVD |
| 3.0 | ≥ 3.0.0-alpha1, ≤ 3.0.0-beta3 | no fix published | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Apache Software Foundation Apache Log4j Coreother versions: not affected
package org.apache.logging.log4j:log4j-corehttps://repo.maven.apache.org/maven2
Affected- ≥ 2.12.0, < 2.25.4fixed in 2.25.4maven
- ≥ 3.0.0-alpha1, ≤ 3.0.0-beta3no fix statedmaven
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-04-10
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- activemqCleanStartall versions · fixed in 5.19.3-r1
- activemqCleanStartall versions · fixed in 6.2.3-r1
- activemqCleanStartall versions · fixed in 6.2.8-r2
- airflow-3Wolfiall versions · fixed in 3.2.1-r1
- airflow-3MinimOSall versions · fixed in 3.3.2-r0
- airflow-3Chainguardall versions · fixed in 3.2.1-r1
- akhqWolfiall versions · fixed in 0.27.0-r2
- akhqMinimOSall versions · fixed in 0.28.0-r0and 1 other package
213 more package ranges on OSV.dev
Vendor advisories
org.apache.logging.log4j/log4j-core: Apache Log4j Core: Man-in-the-middle attack due to incomplete hostname verification
redhat-user-workloads/rhaiis-cuda-ubi9-3-2-2 as a component of Red Hat AI Inference Server · redhat-user-workloads/rhaiis-cuda-ubi9-3-3 as a component of Red Hat AI Inference Server · log4j-core as a component of Red Hat AMQ Broker 7 · +56 more
Red Hat Security Advisory: Red Hat Offline Knowledge Portal security and content update
Fix
- Update Apache Log4j to 2.25.4
- Vendor fix Red Hat Product Security RHSA-2026:21773 · 2 productsThe container image provided by this update can be downloaded from the Red Hat container registry at registry.redhat.io using the "podman pull" command.
- Workaround from the vendor Red Hat Product Security RHSA-2026:21773 · 2 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
- No fix available, says the vendor Red Hat Product Security CVE-2026-34477 · 56 productsFix deferred
- No fix planned, says the vendor Red Hat Product Security CVE-2026-34477 · 3 productsOut of support scope
Advisories and patches
- github.comPatch
- logging.apache.orgVendor Advisory
- logging.apache.orgVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-04-10
- CNACVSS 4.06.3known since 2026-10-27
- NVDCVSS 3.15.9read 2026-10-27
- CNAweakness (CWE)CWE-297known since 2026-10-27
- NVDweakness (CWE)CWE-295read 2026-10-27
- FIRST EPSSEPSS score0.6 %2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2026-04-14
- Microsoft MSRCadvisory—
Identifiers
- CGA-23gc-fjvq-crwjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-24j8-94m5-gh85same flawChainguard · CC-BY-NC-ND-4.0
- CGA-25m6-7825-6v66same flawChainguard · CC-BY-NC-ND-4.0
- CGA-25mf-w69f-9xg6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-26c4-jqmc-q4frsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-26cv-4xm7-38mqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-272q-w9rr-mpxgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-27gf-cmj4-3xwpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2f3c-9vp3-8w3jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2gmj-pcf5-vq35same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2h9r-428q-hfj4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2jhr-7r5f-h389same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2jw2-hrvx-fc75same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2p5f-xhxm-fjqqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2r7r-26wq-mcm8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2w4j-wv4c-5h47same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2xx8-52m8-m86fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-37gh-hh59-x5vxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-396q-6pmf-74g7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-39p6-fj4c-6m62same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3c4w-x2x5-w253same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3c68-f4gg-r22vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3h9h-qgrv-r5c6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3hww-v62g-8hr8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-43w8-q76g-7875same flawChainguard · CC-BY-NC-ND-4.0
- CGA-45hx-fxxq-jmmwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-465r-x4f9-xcvcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4c94-qh3w-3xc2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4cqc-gj7r-9536same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4qp7-h7cp-rp3rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4qr5-96vg-8hc8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4v9r-2cjg-42j6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4x29-fpx9-f763same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4xr9-mvxx-p249same flawChainguard · CC-BY-NC-ND-4.0
- CGA-54cf-f4qp-fwmrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-56g3-w7rj-qfh3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-56hr-58rq-qv3gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-57mj-4fxj-49w6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-59m3-5xcr-m474same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5h3m-9m8j-xm5xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5h42-9r46-ppqcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5j3c-r446-7rcvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5jq7-mj73-68fmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5m2g-6px7-mw7csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5mf2-x3v3-83qvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5mgr-q8v5-gg36same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5q92-vfv3-v4xpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5w3c-fcg3-ffchsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5x5w-hj5c-8mf9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-655f-8r8m-7hx4same flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 4.0 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
- Published
- 2026-04-10
- Last modified
- 2026-10-26
- NVD status
- Analyzed
- MSRC title
- Apache Log4j Core: verifyHostName attribute silently ignored in TLS configuration, allowing hostname verification bypass
- GitHub advisory
- GHSA-6hg6-v5c8-fphq
Frequently asked questions
What is CVE-2026-34477?
Is CVE-2026-34477 actively exploited?
What is the CVSS score for CVE-2026-34477?
Running Apache Log4j? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2021-45105same product
- CVE-2021-44832same product
- CVE-2025-48924same productApache Commons Lang, Apache Commons Lang: ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs
- CVE-2026-5598same product
- CVE-2026-41316same product
- CVE-2026-54513same product
- CVE-2026-42587same product
- CVE-2026-54512same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-6hg6-v5c8-fphq
- Microsoft MSRC · Microsoft terms of use (personal and non-commercial use) · terms restrict redistribution
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0