Skip to main content
Mallory
MediumVulnerability

CVE-2026-49844: Malformed JSON in Apache Log4j API MapMessage Serialization

Published Jul 10, 2026 · Updated 4 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days8 mentions · peak 2 in a dayToday
CVSS6.3Medium · v4
EPSS0.81%54th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Apache Software Foundation
IdentifiersCVE-2026-49844CWE-116 · Improper Encoding or Escaping of…

CVE-2026-49844 is an improper output encoding vulnerability in Apache Log4j API versions 2.13.1 through 2.25.4 and version 2.26.0. When a MapMessage contains a non-finite IEEE 754 floating-point value such as NaN, Infinity, or -Infinity, MapMessage.asJson() emits the value as a bare token prohibited by RFC 8259. The issue affects the JsonTemplateLayout message resolver and other layouts using MapMessage.asJson() or MapMessage.getFormattedMessage(new String[]{"JSON"}). It results from serialization code paths not covered by the fix for CVE-2026-34481. Attacker-controlled non-finite values can produce malformed JSON, corrupting log records or disrupting downstream processing.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the integrity and usability of structured logging output. Conformant JSON parsers reject affected documents, potentially causing enclosing log records to be rejected or corrupted and disrupting downstream log ingestion and parsing. Code execution, privilege escalation, and confidential data disclosure are not established consequences of this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Until an update is deployed, validate floating-point values before adding them to MapMessage and reject or sanitize NaN, Infinity, and -Infinity. Avoid passing attacker-controlled non-finite values through JsonTemplateLayout's message resolver or other layouts using the affected JSON serialization methods.

Remediation

Patch, then assume compromise.

Upgrade Apache Log4j API to version 2.25.5 or 2.26.1, which serialize non-finite values as RFC 8259-compliant JSON. Update related Log4j packages as appropriate. For products bundling Log4j, apply the corresponding vendor-supported security update.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationLog4japplication
Apache Software FoundationLog4J-Apiapplication
FAQ

Frequently asked questions

Is CVE-2026-49844 exploited in the wild?
As of Nov 24, 2026, Mallory has no reports of CVE-2026-49844 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-49844?
As of Nov 24, 2026, Mallory has found no public exploit for CVE-2026-49844.
Is there a patch for CVE-2026-49844?
Upgrade Apache Log4j API to version 2.25.5 or 2.26.1, which serialize non-finite values as RFC 8259-compliant JSON. Update related Log4j packages as appropriate.
What products are affected by CVE-2026-49844?
Apache Software Foundation Log4j and Apache Software Foundation Log4J-Api.
How severe is CVE-2026-49844?
CVE-2026-49844 has a CVSS v4 score of 6.3 (Medium) and an EPSS score of 0.81% (54th percentile) as of Nov 24, 2026.
Activity feed

Recent activity

42 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable nessus pluginsNews · Nov 19, 2026Oracle Business Intelligence Enterprise Edition (OAS 26.01) (N... | Tenable®Listed in the Oracle Business Intelligence Enterprise Edition (OAS 26.01) vulnerability plugin. Individual technical details are not provided.Read more ↗tenable nessus pluginsNews · Nov 19, 2026Oracle Business Intelligence Enterprise Edition (OAS 8.2) (Nov... | Tenable®Referenced in the Oracle Business Intelligence Enterprise Edition (OAS 8.2) vulnerability plugin. No flaw-specific technical details are provided. The plugin lists a patch publication date of November 17, 2026.Read more ↗tenable nessus pluginsNews · Oct 23, 2026Oracle WebLogic Server (October 2026 CPU) | Tenable®Referenced by the Oracle WebLogic Server October 2026 patch-check plugin. No vulnerability-specific technical details are provided.Read more ↗tenable cloud security pluginsNews · Oct 2, 2026Echo: org.apache.logging.log4j:log4j-api: security update to 2... | Tenable®Apache Log4j API incorrectly serializes NaN, Infinity, and -Infinity as bare JSON tokens. Exploitation requires an application to log an attacker-controlled floating-point value in a MapMessage using JsonTemplateLayout's message resolver or another layout relying on MapMessage JSON serialization. Malformed output can corrupt log records or disrupt downstream ingestion and parsing. Fixed versions are 2.25.5 and 2.26.1; version 2.26.0 remains affected. The reference rates the vulnerability Medium, with CVSS v3 5.9 and CVSS v4 6.3.Read more ↗
+4 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity20Community discussion across Reddit, Mastodon, and other social sources.