CVE-2026-34481

EUVD-2026-21412
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 49.76%
Affected Products (NVD)
VendorProductVersion
apachelog4j
2.14.0 ≤
𝑥
< 2.25.4
apachelog4j
3.0.0:alpha1
apachelog4j
3.0.0:alpha1_rc1
apachelog4j
3.0.0:alpha1_rc2
apachelog4j
3.0.0:beta1
apachelog4j
3.0.0:beta2
apachelog4j
3.0.0:beta3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
apache-log4j1.2
bookworm
1.2.17-11
fixed
bullseye
1.2.17-10+deb11u1
fixed
forky
1.2.17-11
fixed
sid
1.2.17-11
fixed
trixie
1.2.17-11
fixed
apache-log4j2
bookworm
no-dsa
bullseye
vulnerable
bullseye (security)
vulnerable
forky
vulnerable
sid
vulnerable
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
apache-log4j1.2
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage
trusty
needs-triage
xenial
needs-triage
apache-log4j2
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage
xenial
needs-triage
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
log4j
suse enterprise desktop 15 SP7
2.20.0-150200.4.33.1
fixed
suse enterprise sap 15 SP7
2.20.0-150200.4.33.1
fixed
suse enterprise server 15 SP4
2.20.0-150200.4.33.1
fixed
suse enterprise server 15 SP7
2.20.0-150200.4.33.1
fixed
log4j-javadoc
suse enterprise desktop 15 SP7
2.20.0-150200.4.33.1
fixed
suse enterprise sap 15 SP7
2.20.0-150200.4.33.1
fixed
suse enterprise server 15 SP4
2.20.0-150200.4.33.1
fixed
suse enterprise server 15 SP7
2.20.0-150200.4.33.1
fixed
log4j-jcl
suse enterprise desktop 15 SP7
2.20.0-150200.4.33.1
fixed
suse enterprise sap 15 SP7
2.20.0-150200.4.33.1
fixed
suse enterprise server 15 SP4
2.20.0-150200.4.33.1
fixed
suse enterprise server 15 SP7
2.20.0-150200.4.33.1
fixed
log4j-slf4j
suse enterprise desktop 15 SP7
2.20.0-150200.4.33.1
fixed
suse enterprise sap 15 SP7
2.20.0-150200.4.33.1
fixed
suse enterprise server 15 SP4
2.20.0-150200.4.33.1
fixed
suse enterprise server 15 SP7
2.20.0-150200.4.33.1
fixed