Log corruption via bare non-finite JSON tokens
Published Jul 10, 2026 · Updated Jul 10, 2026
Improper JSON encoding in Apache Log4j API affected releases allows attackers to corrupt JSON log output using non-finite values. MapMessage.asJson() and its JSON formatted-message path emit NaN and positive or negative Infinity as bare tokens instead of valid RFC 8259 values in 2.13.1 through 2.25.4, 2.26.0, and 3.0.0-alpha1 through 3.0.0-beta2. The issue is reachable only when an application uses a layout that calls either path and logs an attacker-controlled floating-point value, causing conformant downstream parsers to reject or lose the enclosing record.
Summary
What happened
Improper JSON encoding in Apache Log4j API affected releases allows attackers to corrupt JSON log output using non-finite values. MapMessage.asJson() and its JSON formatted-message path emit NaN and positive or negative Infinity as bare tokens instead of valid RFC 8259 values in 2.13.1 through 2.25.4, 2.26.0, and 3.0.0-alpha1 through 3.0.0-beta2. The issue is reachable only when an application uses a layout that calls either path and logs an attacker-controlled floating-point value, causing conformant downstream parsers to reject or lose the enclosing record.
The record
- CVE
- CVE-2026-49844
- Published
- Jul 10, 2026
- Updated
- Jul 10, 2026
- Vendor
- The Apache Software Foundation
- Product
- Apache Log4j API
- Classifications
- Unavailable
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Jul 10, 2026CVE publishedPublication date reported by the CVE source.
- Jul 10, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.13.1 <2.25.5
- Affected versionversion=2.26.0 <2.26.1
- Affected versionversion=3.0.0-alpha1 <=3.0.0-beta2
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
No sourced classifications are available.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo