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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-10 · Modified: 2026-04-10
- Aliases: UBUNTU-CVE-2026-34477, CGA-24j8-94m5-gh85, CGA-25m6-7825-6v66, CGA-26c4-jqmc-q4fr, CGA-26cv-4xm7-38mq, CGA-2jw2-hrvx-fc75, CGA-2p5f-xhxm-fjqq, CGA-39p6-fj4c-6m62, CGA-49q5-p42h-3q36, CGA-4f83-jmjf-r46h, CGA-5rv2-jxx8-3946, CGA-6m4q-2pxq-hx8p, CGA-7239-4q93-cx7w, CGA-7243-2wf7-xjh9, CGA-72f5-hcpc-9mmx, CGA-72mc-38v8-83xq, CGA-75ch-9v7x-q457, CGA-7ggc-mp72-mw96, CGA-7j3x-3p2h-3gjc, CGA-7jmr-vpjw-x9p5, CGA-7m2f-hj9v-5824, CGA-82h9-32pv-xp5r, CGA-8jqg-q26c-wx7g, CGA-8r4w-6gpm-fp8m, CGA-8vw9-rhhr-2r9c, CGA-8w2c-m7x8-89cj, CGA-924v-rfj4-qcwp, CGA-968w-9qvp-99gw, CGA-9cpw-xhxc-4wpm, CGA-9f3j-cxpx-pv26, CGA-9v6x-hgwr-q497, CGA-9x5r-6x8x-jh6q, CGA-c358-3qwc-hvj3, CGA-c8cp-9q37-p2cm, CGA-ch25-72hg-wj9g, CGA-ch25-m5qr-h498, CGA-cq98-gw3p-hc46, CGA-f4h4-w54g-6x86, CGA-fcf2-pr4p-gph5, CGA-ffp9-fx94-8g9w, CGA-fh44-rxjr-vj47, CGA-fj2h-9qp4-5prf, CGA-fr2j-38vm-x23f, CGA-g33g-h9j4-7v8f, CGA-g6p9-fpgj-2q5g, CGA-g82j-gw8r-q5r4, CGA-g8jp-57cq-xm3q, CGA-g934-868v-jg25, CGA-gghx-g78h-qv68, CGA-gq6w-4cxp-vfmj, CGA-h53g-6cr7-65hr, CGA-h9jc-22mq-9gcp, CGA-hc7w-r673-v24f, CGA-hghw-32cv-hg22, CGA-hpg2-h8wr-2qp7, CGA-hq3m-cr76-f2hm, CGA-j468-58v3-xrj4, CGA-j63q-7cqp-chxr, CGA-j75f-ppm5-8vh7, CGA-j8f9-27mw-v6v8, CGA-m2gw-hp39-f8pj, CGA-m4px-v9fc-rq24, CGA-m5jw-g53g-hvwj, CGA-m5mq-5v8q-jfr4, CGA-mhp8-cqh6-p4q7, CGA-p263-j2mw-mpj5, CGA-p3rp-cwhq-h2qh, CGA-p72f-9q67-44pj, CGA-p7fh-g468-wj94, CGA-pfcx-p6w3-xr7x, CGA-pgpr-56mg-cr86, CGA-ph37-w8ch-fc46, CGA-pqr5-pj33-858m, CGA-prg7-rh3m-3c64, CGA-pvhx-pgp9-rjvf, CGA-q8hq-fh32-37q9, CGA-q8wv-mccv-w765, CGA-q9g2-hfpv-6jr4, CGA-qcmf-3m98-xrrq, CGA-qhxw-m5x5-qw8m, CGA-qr92-m426-2rfw, CGA-qrjc-66p2-jf4c, CGA-qwpm-x86f-2rhp, CGA-r3h5-69r8-jj88, CGA-rhh8-28pp-hgvf, CGA-rr3g-4gwp-px4x, CGA-rw6c-7grf-pp2m, CGA-rxhx-pc27-4xjh, CGA-v29p-7g4q-7hr9, CGA-v7cw-xwp4-8q4c, CGA-vfpq-xj6q-x5qv, CGA-vfwc-7vxf-fqg7, CGA-vmvj-4mqr-w5f2, CGA-vqhf-6q3h-jp39, CGA-w24q-m2pw-q735, CGA-w5cg-v2gc-mhrq, CGA-w7jr-x9cm-j36v, CGA-wf6r-9rh9-qqg5, CGA-wgfm-r6gm-w9rr, CGA-wr2g-w8xw-63x8, CGA-wrx7-mph7-j9r5, CGA-wwg6-9vvp-25x5, CGA-xqr9-wr53-rpwr, CGA-xv3m-2q72-f8pv, CGA-23gc-fjvq-crwj, CGA-25mf-w69f-9xg6, CGA-272q-w9rr-mpxg, CGA-27gf-cmj4-3xwp, CGA-2f3c-9vp3-8w3j, CGA-2gmj-pcf5-vq35, CGA-2h9r-428q-hfj4, CGA-2jhr-7r5f-h389, CGA-2p6m-r8rx-fwv5, CGA-2r7r-26wq-mcm8, CGA-2w4j-wv4c-5h47, CGA-2x2v-426r-jxr5, CGA-2xx8-52m8-m86f, CGA-37gh-hh59-x5vx, CGA-396q-6pmf-74g7, CGA-3c4w-x2x5-w253, CGA-3c68-f4gg-r22v, CGA-3h9h-qgrv-r5c6, CGA-3hww-v62g-8hr8, CGA-3jr7-pj82-9fj5, CGA-3wrr-rjjg-fmg7, CGA-43w8-q76g-7875, CGA-44jp-7838-2gv6, CGA-45cx-2754-49pw, CGA-45hx-fxxq-jmmw, CGA-465r-x4f9-xcvc, CGA-4c94-qh3w-3xc2, CGA-4cj7-99p5-92m2, CGA-4cqc-gj7r-9536, CGA-4qp7-h7cp-rp3r, CGA-4qr5-96vg-8hc8, CGA-4v9r-2cjg-42j6, CGA-4x29-fpx9-f763, CGA-4xr9-mvxx-p249, CGA-54cf-f4qp-fwmr, CGA-562q-9qmm-f2q9, CGA-56g3-w7rj-qfh3, CGA-56hr-58rq-qv3g, CGA-57mj-4fxj-49w6, CGA-59m3-5xcr-m474, CGA-5h3m-9m8j-xm5x, CGA-5h42-9r46-ppqc, CGA-5j3c-r446-7rcv, CGA-5jq7-mj73-68fm, CGA-5m2g-6px7-mw7c, CGA-5mf2-x3v3-83qv, CGA-5mgr-q8v5-gg36, CGA-5q92-vfv3-v4xp, CGA-5w3c-fcg3-ffch, CGA-5x5w-hj5c-8mf9, CGA-6225-573m-48r3, CGA-636g-wh8f-hchg, CGA-655f-8r8m-7hx4, CGA-6589-cgpg-hpvc, CGA-66fg-5fcg-4x3m, CGA-68vf-fx4v-fqhg, CGA-6cg9-p8pc-7mw9, CGA-6cpp-p9fq-cpg8, CGA-6hx4-h5xx-8q9p, CGA-6j2m-mj5c-f9jj, CGA-6jj4-mjm3-mjvj, CGA-6pqv-qj75-h8r3, CGA-6r5w-8c33-jr89, CGA-6rr9-2x87-jfm5, CGA-72rq-x287-4pcw, CGA-737v-qqc9-jwr7, CGA-73qq-v52q-wm37, CGA-77g2-p7q9-wrcv, CGA-77w3-hcv8-3q27, CGA-79w6-cprh-rwc3, CGA-7g5h-h95g-j6q8, CGA-7j69-vwvj-rff6, CGA-7jp8-877f-jxp9, CGA-7mg9-qqgp-7xj2, CGA-7pqc-5937-5g98, CGA-7qp2-4wg3-xhmh, CGA-7xr5-r79w-5jvx, CGA-84pv-wf9j-4qwj, CGA-8539-c3jr-xq4h, CGA-85cw-qprw-wgg2, CGA-85h2-gfwc-gw36, CGA-86pp-4545-x4r4, CGA-8726-qg3f-fvwx, CGA-8784-w84h-vcfg, CGA-89f7-hv97-8h9v, CGA-89g8-7642-ch8r, CGA-8fcq-29xx-c87j, CGA-8fqr-f682-3f2q, CGA-8gq5-q32w-xm8h, CGA-8gxx-rxqf-333r, CGA-8j7h-2r4p-q46x, CGA-8jh9-q527-23w5, CGA-8pq6-v3cr-8j76, CGA-8rvw-378x-wf57, CGA-8vq2-jrpg-3385, CGA-8x8f-ch28-h4wh, CGA-8xcg-777f-fpf7, CGA-8xq7-9phw-cw9g, CGA-94cm-56xg-36v4, CGA-98ww-5wvj-wf6w, CGA-992w-c423-42x2, CGA-99gj-hv54-c5mc, CGA-9f73-55r6-537c, CGA-9fgv-62qw-qr8p, CGA-9hhw-7f3c-8hc4, CGA-9mjh-q4hf-7x8r, CGA-9qhh-rq59-7f4p, CGA-9r2r-qx2f-93rm, CGA-9rhp-4vxx-p734, CGA-9rjx-ffx3-rv6v, CGA-9rmf-wrx3-xxcp, CGA-9rpm-4cv3-3w5m, CGA-9vg8-6rhp-fxwx, CGA-c25x-9r77-v4mv, CGA-c2cq-vvv4-fq5w, CGA-c4w2-h6fm-mfqm, CGA-c593-7g38-67qc, CGA-c657-5q44-g367, CGA-c698-gcvq-f2jg, CGA-c8fg-c639-q89x, CGA-cf7c-8qfx-xm28, CGA-cf99-722w-c7j3, CGA-chr5-j29p-p69v, CGA-cjm6-r3c9-h5rj, CGA-cmhh-c538-7jhx, CGA-cq46-rhmc-f2mx, CGA-cqqx-cfxq-9vm2, CGA-cqw8-5j86-5mq3, CGA-cr23-5c74-m34q, CGA-crmm-33fj-pv38, CGA-cv54-q7m5-hxjh, CGA-cv7c-w92f-cq75, CGA-cvhw-m2c4-v32h, CGA-cx67-xcp3-65cw, CGA-f3f5-wqqj-q295, CGA-f467-jfpm-mwqv, CGA-f5gq-xm6r-39xg, CGA-f62v-prvg-3qj6, CGA-f6hj-7gf9-33x4, CGA-f76h-c4x7-xjf9, CGA-fcjc-2fjp-x9f5, CGA-ffgr-c3p9-796h, CGA-fh6j-6j93-33mr, CGA-fhx5-fvqw-mpm3, CGA-fpf2-g92v-v9v4, CGA-fpfh-mg5h-9g28, CGA-fpgw-gq4p-rw5m, CGA-fq56-m77p-wwg5, CGA-fr9m-cj4m-fwwm, CGA-frcv-mv68-pwq3, CGA-fvh7-jjhx-g2q4, CGA-g29w-9c8x-7hvc, CGA-g43f-3rcv-cv5c, CGA-g446-w23x-ghj4, CGA-g53m-w89x-63vw, CGA-g554-wmc2-rw89, CGA-g7xq-68jp-f2xr, CGA-g839-qpp6-4557, CGA-g8mg-2qmj-qcjw, CGA-g9r2-h5vp-h2xq, CGA-ggm4-x3xf-w2wx, CGA-gvrg-9qj2-wqh2, CGA-gwm3-89xh-xjpf, CGA-gx4j-2q73-272h, CGA-gxhr-3gc3-fjh8, CGA-h33m-9hqg-9fxj, CGA-h3fc-5xq3-r794, CGA-h3hw-6wrw-28hj, CGA-h432-3gp3-54g5, CGA-h4h6-cpw6-q3mp, CGA-h58h-hh2r-prcr, CGA-h59v-9hgq-r89c, CGA-h724-qpqj-jm6v, CGA-hc6v-rcrc-rwgh, CGA-hcrh-5f94-93jc, CGA-hgc4-gpm3-ggjr, CGA-hh2c-f9xj-34j5, CGA-hjc4-8gvq-66jc, CGA-hprh-4q7r-6wgg, CGA-hvf7-8w3c-253c, CGA-hw5q-5h53-hq7c, CGA-hwhx-3vx5-m3xf, CGA-hx47-7hwc-rmgj, CGA-j3j5-wqr7-q34h, CGA-j3rm-q3g6-g4vr, CGA-j42h-6g7h-jxx3, CGA-j67f-2wfq-9gjr, CGA-j9vg-pgxj-wmfw, CGA-jcff-rxmc-8g38, CGA-jg9q-mqfv-4phj, CGA-jgf8-xm3v-g23p, CGA-jjrv-3rfj-w92v, CGA-jm29-h6xj-h84g, CGA-jrc6-g665-qhvh, CGA-jrw6-v72p-hg7h, CGA-jwh4-f9w4-p48p, CGA-m29h-f3pr-8mw8, CGA-m2cg-hm89-g2m4, CGA-m38m-h35v-5993, CGA-m6rh-6c3g-mj29, CGA-m727-w7jq-4q5g, CGA-m86p-g6m9-rxq5, CGA-m878-9h5f-9499, CGA-m8hp-h33x-9cjj, CGA-mf89-whc5-38xw, CGA-mg6c-hw76-2mjm, CGA-mgfm-hf7h-mp39, CGA-mgmv-cqfv-j4xw, CGA-mq83-pvv8-xp26, CGA-mrfp-gcm4-j4qr, CGA-mrjr-8g6j-wm7m, CGA-mw7h-39wg-vpqg, CGA-mwq5-xh23-gmgf, CGA-p44f-2974-phmc, CGA-p45c-63p2-2633, CGA-p556-j479-2chr, CGA-p6f9-h52g-q26h, CGA-p7hq-8vq4-4mc7, CGA-pc28-3cxj-vrfx, CGA-pfc5-68m7-cvhq, CGA-pmxc-q244-q8pj, CGA-pp6g-788f-q4qq, CGA-ppfp-wv59-jp3p, CGA-pq6q-wpx5-vm7f, CGA-pqh6-cqxj-9f58, CGA-pqqx-hcmx-v3wp, CGA-prqm-w2cx-833p, GHSA-6hg6-v5c8-fphq, CGA-pxfw-v9qm-5j2g, CGA-q237-7hv9-g49p, CGA-q247-g4rh-p285, CGA-q379-6v2r-qgvx, CGA-q394-gv96-rpgr, CGA-q4p3-hwfx-qc5v, CGA-q5x7-hgmg-xjj5, CGA-q6wq-mpq4-v3j5, CGA-q6xv-cch8-37qf, CGA-q7cx-g297-hj7h, CGA-qhvj-g85j-mfm3, CGA-qm56-7mf3-56jq, CGA-qm88-h8xh-q9w7, CGA-qpq2-4gg4-3jf4, CGA-qqc4-r955-rxp3, CGA-qrvh-gxjw-vwgv, CGA-qxx3-vmrr-f9f2, CGA-r2pj-f5q6-6hqq, CGA-r43g-v6x6-4g8f, CGA-r6f6-w98w-247m, CGA-r6r7-23vp-m5gw, CGA-rg3r-p89c-95p7, CGA-rgvh-hjh3-9hp3, CGA-rjwc-f4jh-mq5v, CGA-rqgc-wcj4-rrg2, CGA-rr6c-w3mv-3mwj, CGA-rrj9-wvgh-3vvr, CGA-rw3g-827q-xpf8, CGA-rwq7-62fx-gx3p, CGA-v39m-jpm2-rxj4, CGA-v7f3-769w-rrp6, CGA-v9cv-7mq5-vp38, CGA-vcrq-6qmw-mm83, CGA-vff8-4qm7-m769, CGA-vh5v-832h-gw9m, CGA-vhg8-8f9c-2889, CGA-vqxm-475g-959p, CGA-vxjr-89jc-mp6q, CGA-vxrx-82wm-7jxr, CGA-w2hq-6fhq-j7hm, CGA-w6j2-4r37-43m2, CGA-w6m6-2mvg-vgrv, CGA-w848-85g2-cxp5, CGA-wf7m-qjqm-9p2w, CGA-wfqm-4m9v-xx8v, CGA-wr32-x7qf-7833, CGA-wxfp-c689-77vc, CGA-wxwh-rq72-5p9w, CGA-x32j-346h-6wcj, CGA-x46c-6hj6-f3fm, CGA-x56c-q65c-9m7p, CGA-x5jp-76jq-qwr6, CGA-x5mx-6892-6cg9, CGA-x6f9-jrrv-j772, CGA-x6rp-4xf4-gvv7, CGA-x75f-j3fr-9x24, CGA-x8vh-wrpx-9v2j, CGA-xhq8-q66x-qwjp, CGA-xj9q-hqgw-p6p2, CGA-xjwv-3wph-gp4x, CGA-xm2x-6j6h-9xjc, CGA-xm6w-269v-xx5q, CGA-xmmm-8fm4-pq79, CGA-xphq-gr69-wcmr, CGA-xqg7-hmpv-qgvg, CGA-xqq3-xm83-gpm6, CGA-xqq6-fwhx-gvpx, CGA-xw7j-wcv4-7qhf, CGA-xx73-2grg-cqp6
- Record: https://cvemate.com/vulnerability/CVE-2026-34477 · JSON: https://cvemate.com/vulnerability/CVE-2026-34477/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) 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
- EPSS: 0.569%, percentile 48.595%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 189)

- apache software foundation apache log4j core: ≥ 2.12.0, \< 2.25.4 \| ≥ 3.0.0-alpha1, ≤ 3.0.0-beta3
- apache log4j: ≥ 2.12.0, \< 2.25.4 \| 3.0.0:alpha1 \| 3.0.0:alpha1\_rc1 \| 3.0.0:alpha1\_rc2 \| 3.0.0:beta1 \| 3.0.0:beta2 \| 3.0.0:beta3
- chainguard airflow-2 (Chainguard): All versions (No fix recorded)
- chainguard airflow-3 (Chainguard): \< 3.2.1-r1
- chainguard akhq (Chainguard): \< 0.27.0-r2
- chainguard apache-activemq-5.19 (Chainguard): \< 5.19.6-r2
- chainguard apache-activemq-6.1 (Chainguard): \< 6.1.8-r3
- chainguard apache-activemq-artemis (Chainguard): \< 2.53.0-r5
- chainguard apache-activemq-fips-5.19 (Chainguard): \< 5.19.6-r2
- chainguard apache-activemq-fips-6.1 (Chainguard): \< 6.1.8-r3
- chainguard apache-camel-karavan-devmode (Chainguard): \< 4.14.2-r8
- chainguard apache-pulsar-4.0 (Chainguard): \< 4.0.9-r11
- chainguard apache-pulsar-4.1 (Chainguard): All versions (No fix recorded)
- chainguard apache-pulsar-4.2 (Chainguard): \< 4.2.1-r0
- chainguard apache-pulsar-fips-4.0 (Chainguard): \< 4.0.9-r11
- chainguard apache-pulsar-fips-4.1 (Chainguard): All versions (No fix recorded)
- chainguard apache-pulsar-fips-4.2 (Chainguard): \< 4.2.1-r0
- chainguard apache-tika-fips-3.0 (Chainguard): \< 3.0.0-r7
- chainguard apache-tika-fips-3.1 (Chainguard): \< 3.1.0-r8
- chainguard apache-tika-fips-3.2 (Chainguard): \< 3.2.3-r5

## References

- <https://github.com/apache/logging-log4j2/pull/4075>
- <https://logging.apache.org/security.html#CVE-2026-34477>
- <https://logging.apache.org/cyclonedx/vdr.xml>
- <https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName>
- <https://lists.apache.org/thread/lkx8cl46t2bvkcwfcb2pd43ygc097lq4>
- <https://ubuntu.com/security/CVE-2026-34477>
- <https://www.cve.org/CVERecord?id=CVE-2026-34477>
- <https://repo.maven.apache.org/maven2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34477.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34477>
- <https://github.com/apache/logging-log4j2>

---

Data as of 2026-12-05T05:13:30.366Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
