CVE-2026-34481
ADVISORY - githubSummary
Apache Log4j's JsonTemplateLayout, 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
MapMessagecontaining an attacker-controlled floating-point value.
Users are advised to upgrade to Apache Log4j JSON Template Layout 2.25.4, which corrects this issue.
Common Weakness Enumeration (CWE)
Improper Encoding or Escaping of Output
Improper Encoding or Escaping of Output
NIST
3.9
CVSS SCORE
6.3mediumGitHub
-
CVSS SCORE
6.3mediumDebian
-
CVSS SCORE
N/AlowUbuntu
3.9
CVSS SCORE
7.5mediumChainguard
CGA-jfgg-24j2-8jcc
-
minimos
MINI-28rp-w5rw-j3fj
-
minimos
MINI-2p74-j755-fc4r
-
minimos
MINI-386x-qf27-4268
-
minimos
MINI-3f92-66mg-v4pq
-
minimos
MINI-42mw-mr2x-q8mr
-
minimos
MINI-59rw-jmfv-g7hg
-
minimos
MINI-648w-qvhj-jmqf
-
minimos
MINI-7c5r-qf3h-fxpp
-
minimos
MINI-8cff-mhc4-wrh5
-
minimos
MINI-9mgh-f6qm-qfxp
-
minimos
MINI-g8pp-89mj-2738
-
minimos
MINI-h9g5-qh2j-fq8h
-
minimos
MINI-hrxq-qc52-rq8f
-
minimos
MINI-m7rp-v6wr-hhpp
-
minimos
MINI-mjfv-pjcg-5pgr
-
minimos
MINI-pv49-5g8p-jxx5
-
minimos
MINI-v5f8-ph87-37g5
-
minimos
MINI-vpw7-4m27-mhx9
-
minimos
MINI-wr35-4qpp-q237
-
minimos
MINI-xcwf-44p5-h5pj
-