CVE-2026-34481

Apache Log4j JSON Template Layout: Improper serialization of non-finite floating-point values in JsonTemplateLayout

HIGH
7.5
CVSS Score
Published: April 10, 2026 at 03:43 PM UTC
Updated: October 26, 2026 at 10:10 PM UTC
2 products affected across 1 vendorLog4jlog4j_layout_template_json

Using Apache Log4j JSON Template Layout by Apache Software Foundation?

Get instant alerts when new vulnerabilities affect Apache Log4j JSON Template Layout - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

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 containing an attacker-controlled floating-point value. Users are advised to upgrade to Apache Log4j JSON Template Layout 2.25.4, which corrects this issue.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Affected range stops below 2.25.4, so it looks safe — our inference, not a vendor statement

References (6)

PatchIssue Tracking
Source: cverecord
https://github.com/apache/logging-log4j2/pull/4080
Vendor AdvisoryProduct
Source: cverecord
https://logging.apache.org/cyclonedx/vdr.xml
Vendor AdvisoryMailing List
Source: cverecord
https://lists.apache.org/thread/n34zdv00gbkdbzt2rx9rf5mqz6lhopcv
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2026/04/10/10

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-116

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card