CVE-2026-34481
No exploitation reported by the sources we read.
- Published2026-04-10
- Fixed in2.25.4
- WeaknessCWE-116
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
Apache Log4j's JsonTemplateLayout https://logging.apache.org/log4j/2.x/manual/json-template-layout.html , in versions up to and including 2.25.3, produces invalid JSON output when log events contain non-finite floating-point values (NaN, Infinity, or -Infinity), which are prohibited by RFC 8259. This may cause downstream log processing systems to reject or fail to index affected records. An attacker can exploit this issue only if both of the following conditions are met: * The application uses JsonTemplateLayout. * The application logs a MapMessage, or logs an object directly (e.g., via Logger.info(Object), which wraps it in an ObjectMessage), where the message contains an attacker-controlled floating-point value. Users are advised to upgrade to Apache Log4j JSON Template Layout 2.25.4, which corrects this issue. Note: The fix released in version 2.25.4 did not cover all affected code paths. CVE-2026-49844 was assigned to the remaining issue, which concerns the MapMessage.asJson() serialization in Apache Log4j API and is fixed in versions 2.25.5 and 2.26.1.
Timeline
dates in UTC- 2026-04-1016:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.x | ≥ 2.14.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 JSON Template Layoutother versions: not affected
package org.apache.logging.log4j:log4j-layout-template-jsonhttps://repo.maven.apache.org/maven2
Affected- ≥ 2.14.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-07-11
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
- apache-camel-karavan-devmodeChainguardall versions · fixed in 4.14.2-r8
- apache-log4j1.2Ubuntu:Pro:14.04:LTSall versions · no fixed version listed
- apache-log4j1.2Ubuntu:26.04:LTSall versions · no fixed version listed
- apache-log4j1.2Ubuntu:24.04:LTSall versions · no fixed version listed
- apache-log4j1.2Ubuntu:22.04:LTSall versions · no fixed version listed
- apache-log4j1.2Ubuntu:20.04:LTSall versions · no fixed version listed
- apache-log4j1.2Ubuntu:18.04:LTSall versions · no fixed version listed
- apache-log4j2Ubuntu:Pro:26.04:LTSall versions · no fixed version listed
95 more package ranges on OSV.dev
Vendor advisories
org.apache.logging.log4j: Apache Log4j JsonTemplateLayout: Denial of Service via invalid JSON output
log4j-jcl as a component of Red Hat Enterprise Linux 9 · log4j-slf4j as a component of Red Hat Enterprise Linux 9 · log4j.src as a component of Red Hat Enterprise Linux 9 · +2 more
Red Hat Security Advisory: Red Hat AMQ Broker 7.13.6 release and security update
Red Hat Security Advisory: Red Hat AMQ Broker 7.14.1 release and security update
Red Hat Security Advisory: Streams for Apache Kafka 3.2.1 release and security update
Red Hat Security Advisory: Red Hat Build of Apache Camel 4.18.1.P1 for Spring Boot release.
Red Hat Security Advisory: Red Hat Data Grid 8.6.1 security update
1 more advisory
Fix
- Update Apache Log4j to 2.25.4
- Vendor fix Red Hat Product Security RHSA-2026:66545 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings. The References section of this erratum contains a download link (you must log in to download the update).
- Vendor fix Red Hat Product Security RHSA-2026:54435 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2026:22619 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- 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:66545 · 1 productMitigation 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-34481 · 1 productAffected
Advisories and patches
- lists.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.17.5read 2026-10-27
- CNAweakness (CWE)CWE-116known since 2026-10-27
- FIRST EPSSEPSS score0.7 %2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2026-04-10
- Microsoft MSRCadvisory—
Identifiers
- CGA-25mv-r7f3-c9rfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2ph8-m8rq-r96wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2rgr-rh3w-8vxpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-34ch-rr3h-wf6jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-426q-2r8p-jp24same flawChainguard · CC-BY-NC-ND-4.0
- CGA-444c-6jxr-f7vrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-446h-6w6j-pp73same flawChainguard · CC-BY-NC-ND-4.0
- CGA-474f-6rj6-cgprsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4cp3-cr4h-qq5jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4g9g-4m4v-494vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4p49-p595-pvvwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-55mf-vw6v-xgj2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5f4x-hp9x-jq26same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5g46-47gc-v693same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5hjv-mjfr-hh9xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5j7q-8hrj-jr93same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5jjg-v8w7-v688same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5mf3-qgpp-83v9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6348-w76p-j2qrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-653q-mq52-4mfwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-68fv-56c2-m6r4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-692v-m6rp-38jcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6xmf-jp9x-34mgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-736w-g6r5-223gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-75xw-g245-9fp2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7hfg-3mc8-rvpvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7mmq-fr2v-frg4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7x6v-2rrx-2prjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7xrp-5mj9-rqxpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-83gq-g5vv-fq8wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8q26-x99p-m6g5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8qj9-h585-9vqqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9287-jcvx-p8g4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9c2r-8p4p-h7jjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9j3p-vx88-8crwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9m8q-2wgr-2fc6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9qr8-7jfg-7c4hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9r8q-9938-x54hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c4j5-5mxm-m627same flawChainguard · CC-BY-NC-ND-4.0
- CGA-cj67-f9g3-f8wrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cm4m-46v9-g2x9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-cw2x-m7mv-6ccxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f4x9-p8fx-hcmqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f6wm-h74h-c6v7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-fgh4-86v8-w3jgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fm4j-2pg4-vfwcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fm8j-x6cq-pmhvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fmjp-pc7h-j5gvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fp4h-4vhr-pjccsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fq86-8899-pv9wsame flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 4.0 vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/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
- Modified
- MSRC title
- Apache Log4j JSON Template Layout: Improper serialization of non-finite floating-point values in JsonTemplateLayout
- GitHub advisory
- GHSA-w35j-pv5h-q9q9
Frequently asked questions
What is CVE-2026-34481?
Is CVE-2026-34481 actively exploited?
What is the CVSS score for CVE-2026-34481?
Running org.apache.logging.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.
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-w35j-pv5h-q9q9
- 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