CVE-2026-49844: Apache Software Foundation Apache Log4j API vulnerability
Apache Software Foundation · Apache Log4j API
Vendor fix available · Affected: Apache Software Foundation Apache Log4j API · Exploitation: public proof of concept (unverified)
Verdict
Patch this cycleExploit code is public; no attacks reported yet.
- NoAttacks seen
- YesPublic exploit code since 7 Aug
- 0.6%Chance of exploitation in 30 days, higher than 49% of scored CVEs
- YesFix available: Vendor fix available
How we decide
Patch now: attacks are on record (CISA KEV, the EU exploited list, CISA marking exploitation active, or a report of exploitation), or exploit code is public for a flaw reachable over the network with no login that has exploit odds of 10% or more, or is rated critical with odds of at least 1%. Patch this cycle: any other public exploit code, scanning observed, or exploit odds of 10% or more. Routine: a fix exists and none of those. No verdict yet: no fix on record and nothing else known. The verdict says how soon to act, not how severe the flaw is, and it changes when these facts change.
What it isNVD
Improper encoding of non-finite floating-point values during MapMessage JSON serialization in Apache Log4j API produces output that is not valid JSON. This issue affects Apache Log4j API versions 2.13.1 through 2.25.4 and version 2.26.0. The fix for CVE-2026-34481 did not cover all code paths: when a MapMessage contains a non-finite IEEE 754 value (NaN, Infinity, or -Infinity), MapMessage.asJson() emits the corresponding bare token.
RFC 8259 does not permit these tokens, so a conformant parser rejects the resulting document.
The defect is reachable only when both of the following conditions hold: * The application uses the message resolver https://logging.apache.org/log4j/2.x/manual/json-template-layout.html#event-template-resolver-message of JsonTemplateLayout or any other layout that relies on MapMessage.asJson() or MapMessage.getFormattedMessage(new String[]{"JSON"}). * The application logs a MapMessage that contains an attacker-controlled floating-point value.
An attacker who can supply a non-finite value can cause the affected layout to emit malformed JSON, which may corrupt the enclosing log record or disrupt downstream log ingestion and parsing. Users are advised to upgrade to Apache Log4j API 2.25.5 or 2.26.1, both of which emit RFC 8259-compliant JSON for non-finite values.
Exploit requirementsfrom the CVSS 4.0 vector
- Where from
- Remotely, over the network
- Login
- None needed
- User action
- None needed
- Conditions
- The target must be in a specific state or configuration
Higher than 49% of scored CVEs
ExploitationProof of concept public
ExploitationProof of concept public
Not in CISA KEV as of catalogue 2026.11.25 (25 Nov)
- Proof of concept public1 public GitHub repository (unverified), listed by PoC-in-GitHub7 Aug
Not seen so far: in CISA KEV · exploited (reported) · scanning observed.
Weakness and public checksImproper Encoding or Escaping of Output
Weakness and public checks
- Public check
- No public nuclei template
- Weakness
- Improper Encoding or Escaping of Output · Injection and Smuggling
Related CVEsApache Log4j API
Other CVEs in Apache Log4j API
Every published CVE for Apache Software Foundation Apache Log4j API, by how far exploitation has gone. This one is among them.
What changed1 change, latest 7 Aug
What changed
- PoC-in-GitHub lists 1 public GitHub repository (unverified) PoC-in-GitHub
Coverage1 article · 1 outlet
Coverage1 article · 1 outlet
First in our coverage: SecurityOnline, 13 Jul.
- Apache Log4j CVE-2026-49844 flaw can hide attacks via JSON logs.SecurityOnline · first in our coverage
New articles also arrive in the RSS feed.