Red Hat VEX
RHVEX-CVE-2026-49844
org.apache.logging.log4j/log4j-api: Apache Log4j API: Malformed JSON output due to improper encoding of floating-point values
Details
A flaw was found in Apache Log4j API. This vulnerability occurs due to improper encoding of non-finite floating-point values during JSON serialization of MapMessages, leading to invalid JSON output. An attacker who can supply a non-finite value can exploit this to cause the affected logging layout to emit malformed JSON. This can corrupt log records or disrupt downstream log ingestion and parsing, potentially leading to a Denial of Service (DoS) or information integrity issues.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | resteasy | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | resteasy-javadoc | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | pki-resteasy-client | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | pki-resteasy-core | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | pki-resteasy-jackson2-provider | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | pki-resteasy-servlet-initializer | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | resteasy | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2026-49844
- https://bugzilla.redhat.com/show_bug.cgi?id=2499304
- https://www.cve.org/CVERecord?id=CVE-2026-49844
- https://nvd.nist.gov/vuln/detail/CVE-2026-49844
- https://github.com/apache/logging-log4j2/pull/4163
- https://logging.apache.org/cyclonedx/vdr.xml
- https://logging.apache.org/log4j/2.x/manual/json-template-layout.html#event-template-resolver-message
- https://logging.apache.org/security.html#CVE-2026-49844