Skip to content
VulniPulse
High 3 vendors · 4 advisories

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

CVE-2026-34477 key facts

CISA KEV
Not listed (catalogue checked )
Highest advisory rating
High
CVSS base score
6.8 (Red Hat), 6.3 (NetApp)
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 · base score 6.3, scored by apacheAttack vector: network. Attack complexity: high. Attack requirements: none. Privileges required: none. User interaction: none. Confidentiality impact on the vulnerable system: low. Integrity impact on the vulnerable system: none. Availability impact on the vulnerable system: none. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: low. Availability impact on subsequent systems: none.
Weakness
  • CWE-297 Improper Validation of Certificate with Host Mismatch
EPSS
0.57% chance of exploitation in the next 30 days (47th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
Fixed releases
  • Red Hat: RHSA-2026:21773
Vendor advisories
4 from Apache, NetApp, Red Hat
Assigned by
apache (CNA)
CVE record published
Listed by VulniPulse
Record changed

Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-34477; each belongs to its advisory, not to every product listed. How records are collected and checked.

Am I affected by CVE-2026-34477?

The source names the versions below but does not confirm which products they belong to. Check the vendor advisory before you decide.

Versions namedFixed in
NetApp: 2.12.0No fixed release on this branch listed by the vendor
NetApp: 2.25.3No fixed release on this branch listed by the vendor
NetApp: 3.0.0No fixed release on this branch listed by the vendor
Red Hat: offline-knowledge-portal/rhokp-rhel9:1779996999RHSA-2026:21773

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.

Text from the CVE.org record (apache).

How do I fix CVE-2026-34477?

Upgrade to a fixed release named by the vendor:

  • Red Hat: RHSA-2026:21773
  • Update the affected package(s) to the fixed version shipped in RHSA-2026:21773 (`sudo dnf update` / `yum update`). (Red Hat)

Vendor advisories for CVE-2026-34477

Apache

1 advisory
  • Advisory severityMedium6.3

    Medium [CVE-2025-68161 +1] Apache Log4j: The fix for CVE-2025-68161 https://logging.apache.org/security.html#CVE-2025-68161 was incomplete: it addressed hostname…

    CVE-2026-34477Source published Source updated

    This bulletin covers 2 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.

    The fix for CVE-2025-68161 was incomplete: it addressed hostname verification only when enabled via the log4j2.sslVerifyHostName system property, but not when configured through the verifyHostName attribute of the 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 element. * The attacker can present a certificate issued by a CA trusted by the appender's configured trust store, or by the default Java…

    Affected products in this advisory
    • Apache Log4j
    • Apache Log4j Core
    • Log4j
    Source-reported affected versions
    • through 2.25.3
    Source-reported fixed versions
    • 2.25.4
    Mitigation guidance
    No mitigation guidance extracted; consult the source.

NetApp

2 advisories
  • Advisory severityHigh7.5

    High [CVE-2026-34477 +2] June 2026 IBM Db2 Apache Log4j Vulnerabilities in NetApp Products

    NTAP-20260626-0009Source published Source updated

    This bulletin covers 3 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.

    IBM Db2 Server versions 11.5.0 through 11.5.9 and 12.1.0 through 12.1.4 on all platforms are susceptible to vulnerabilities in log4j v2.25.3. Successful exploitation of these vulnerabilities could lead to disclosure of sensitive information or addition or modification of data. NetApp states there is no workaround available at this time.

    Affected products in this advisory
    No product details extracted. Check the source bulletin.
    Source-reported affected versions
    • 11.5.0
    • 11.5.9
    • 12.1.0
    • 12.1.4

    1 more entries in the full advisory.

    Source-reported fixed versions
    No fixed-version detail extracted. This does not mean no fix exists.
    Mitigation guidance
    No mitigation guidance extracted; consult the source.
  • Advisory severityMedium6.3

    Medium [CVE-2026-34477] Apache Log4j Vulnerability in NetApp Products

    NTAP-20260513-0008Source published Source updated

    Multiple NetApp products incorporate Apache Log4j. Apache Log4j versions 2.12.0 through 2.25.3 and 3.0.0-alpha1 through 3.0.0-beta3 are susceptible to a vulnerability which when successfully exploited could lead to disclosure of sensitive information or addition or modification of data. NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time.

    Affected products in this advisory
    No product details extracted. Check the source bulletin.
    Source-reported affected versions
    • 2.12.0
    • 2.25.3
    • 3.0.0
    Source-reported fixed versions
    No fixed-version detail extracted. This does not mean no fix exists.
    Mitigation guidance
    No mitigation guidance extracted; consult the source.

Red Hat

1 advisory
  • Advisory severityMedium6.8

    Medium [CVE-2026-34477] Man-in-the-middle attack due to incomplete hostname verification

    CVE-2026-34477Source published

    Man-in-the-middle attack due to incomplete hostname verification. Red Hat rates this moderate (CVSS 6.8). Weakness: CWE-295. Affected package(s): offline-knowledge-portal/rhokp-rhel9:1779996999. Resolved in Red Hat advisory RHSA-2026:21773 — update the affected packages (`sudo dnf update`).

    Related products — impact not confirmed
    • offline-knowledge-portal/rhokp-rhel9:1779996999
    • Red Hat Enterprise Linux
    Source-reported affected versions
    • offline-knowledge-portal/rhokp-rhel9:1779996999
    Source-reported fixed versions
    • RHSA-2026:21773
    Mitigation guidance
    • Update the affected package(s) to the fixed version shipped in RHSA-2026:21773 (`sudo dnf update` / `yum update`).

References

Timeline

  1. First vendor advisory listed by VulniPulse
  2. CVE record published
  3. CVE record last updated

All Apache advisories

Get an email when Apache publishes the next one.

See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.

Alert me about Apache