Read the docs
TI-2026-36748 Aliases CVE-2026-49844GHSA-qv9r-c865-cp47

Apache Log4j API: Improper serialization of non-finite floating-point values in MapMessage.asJson()

Priority LOW 29CWE-116Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · None · None
Fix status
Partial Red Hat: 24 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00595 48th percentileScored 2026-11-07
Fix Partial Apache Log4j API (Apache Software Foundation): 2.25.5, 2.26.1org.apache.logging.log4j:log4j-api (Maven): 2.25.5, 2.26.1Red Hat: 24 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Log4j API2.13.1 to before 2.25.5; 2.26.0 to before 2.26.1; 3.0.0-alpha1 – 3.0.0-beta22.25.5, 2.26.1Patch availableCNA
—org.apache.logging.log4j:log4j-api (Maven)2.13.1 to before 2.25.52.25.5Patch availableGHSA-qv9r-c865-cp47
—org.apache.logging.log4j:log4j-api (Maven)2.26.0 to before 2.26.12.26.1Patch availableGHSA-qv9r-c865-cp47
  • Apache Log4j API VendorApache Affected 2.13.1 to before 2.25.5; 2.26.0 to before 2.26.1; 3.0.0-alpha1 – 3.0.0-beta2 Fixed in 2.25.5, 2.26.1 Patch available CNA
  • org.apache.logging.log4j:log4j-api (Maven) Vendor— Affected 2.13.1 to before 2.25.5 Fixed in 2.25.5 Patch available GHSA-qv9r-c865-cp47
  • org.apache.logging.log4j:log4j-api (Maven) Vendor— Affected 2.26.0 to before 2.26.1 Fixed in 2.26.1 Patch available GHSA-qv9r-c865-cp47

CPE configurations NVD · 7

CPEVersionsRoleVendor
cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*2.13.1 to before 2.25.5VulnerableApache
cpe:2.3:a:apache:log4j:2.26.0:*:*:*:*:*:*:*2.26.0VulnerableApache
cpe:2.3:a:apache:log4j:3.0.0:alpha1:*:*:*:*:*:*3.0.0 alpha1VulnerableApache
cpe:2.3:a:apache:log4j:3.0.0:alpha1_rc1:*:*:*:*:*:*3.0.0 alpha1_rc1VulnerableApache
cpe:2.3:a:apache:log4j:3.0.0:alpha1_rc2:*:*:*:*:*:*3.0.0 alpha1_rc2VulnerableApache
cpe:2.3:a:apache:log4j:3.0.0:beta1:*:*:*:*:*:*3.0.0 beta1VulnerableApache
cpe:2.3:a:apache:log4j:3.0.0:beta2:*:*:*:*:*:*3.0.0 beta2VulnerableApache
  • cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:* Versions 2.13.1 to before 2.25.5 Vulnerable ·Apache
  • cpe:2.3:a:apache:log4j:2.26.0:*:*:*:*:*:*:* Versions 2.26.0 Vulnerable ·Apache
  • cpe:2.3:a:apache:log4j:3.0.0:alpha1:*:*:*:*:*:* Versions 3.0.0 alpha1 Vulnerable ·Apache
  • cpe:2.3:a:apache:log4j:3.0.0:alpha1_rc1:*:*:*:*:*:* Versions 3.0.0 alpha1_rc1 Vulnerable ·Apache
  • cpe:2.3:a:apache:log4j:3.0.0:alpha1_rc2:*:*:*:*:*:* Versions 3.0.0 alpha1_rc2 Vulnerable ·Apache
  • cpe:2.3:a:apache:log4j:3.0.0:beta1:*:*:*:*:*:* Versions 3.0.0 beta1 Vulnerable ·Apache
  • cpe:2.3:a:apache:log4j:3.0.0:beta2:*:*:*:*:*:* Versions 3.0.0 beta2 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Log4j API (Apache Software Foundation) Fixed in 2.25.5, 2.26.1
  • Fix · GHSA-qv9r-c865-cp47 org.apache.logging.log4j:log4j-api (Maven) Fixed in 2.25.5 Advisory →
  • Fix · GHSA-qv9r-c865-cp47 org.apache.logging.log4j:log4j-api (Maven) Fixed in 2.26.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Cryostat 4AffectedNo fix yet: Fix deferred
OpenShift ServerlessAffectedNo fix yet: Fix deferred
Red Hat AI Inference ServerAffectedNo fix yet: Fix deferred
Red Hat AMQ Broker 7AffectedNo fix yet: Fix deferred
Red Hat AMQ ClientsAffectedNo fix yet: Fix deferred
Red Hat Data Grid 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet: Fix deferred
Red Hat Fuse 7Affected—
Red Hat JBoss Enterprise Application Platform 7AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform 8AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform Expansion PackAffectedNo fix yet: Fix deferred
Red Hat JBoss Web Server 5AffectedNo fix yet: Fix deferred
Red Hat Offline Knowledge PortalAffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Dev SpacesAffectedNo fix yet: Fix deferred
Red Hat Single Sign-On 7AffectedNo fix yet: Fix deferred
Red Hat build of Apache Camel - HawtIO 4AffectedNo fix yet: Fix deferred
Red Hat build of Apache Camel 4 for Quarkus 3AffectedNo fix yet
Red Hat build of Apache Camel for Spring Boot 4AffectedNo fix yet: Fix deferred
Red Hat build of Apicurio Registry 3Affected—
streams for Apache Kafka 2AffectedNo fix yet: Fix deferred
streams for Apache Kafka 3AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-49844
  2. 2026-10-03 Alias added: GHSA-qv9r-c865-cp47
  3. 2026-10-21 EPSS moved to the below the 50th percentile
  4. 2026-10-30 Affected versions changed · Red Hat

References

  • TI-2021-19919 Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints KEVCVSS 3.1CRITICAL 10.0
  • TI-2021-20393 Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack KEVCVSS 3.1CRITICAL 9.0
  • TI-2017-03645 Deserialization of untrusted data in Apache Log4j CVSS 3.1CRITICAL 9.8
  • TI-2019-13113 Deserialization of untrusted data in Apache Log4j CVSS 3.1CRITICAL 9.8
  • TI-2022-07428 SQL injection in JDBC Appender in Apache Log4j V1 CVSS 3.1CRITICAL 9.8
  • TI-2022-07425 Deserialization of untrusted data in JMSSink in Apache Log4j 1.x CVSS 3.1HIGH 8.8
See all 19 →

Sources