Skip to content
VulniPulse
Advisory severityMedium6.3Apache Software Foundation

Medium [CVE-2026-34481] Apache Log4j's JsonTemplateLayout https://logging.apache.org/log4j/2.x/manual/json-template-layout.html , in versions up to and…

This medium-severity Apache Software Foundation advisory covers CVE-2026-34481 affecting Apache Log4j, Apache Log4j JSON, Log4j.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2026-34481 Source published Source updated

VulniPulse record published

Affected products & platforms
Apache Software FoundationLog4j
Open source advisory

Android app · Google Play

Monitor future Apache Software Foundation CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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 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 versions
  • 2.25.3

Official advisory · high-confidence parse· fetched 3 months ago·verify at source

Fixed versions
  • 2.25.4

Official advisory · high-confidence parse· fetched 3 months ago·verify at source

Mitigation

Upgrade to a fixed release: 2.25.4. That is the remediation for this advisory.

The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.

Official advisory · high-confidence parse· fetched 3 months ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.