Impact of CVE-2026-34480, CVE-2025-68161, CVE-2026-34477, CVE-2026-49844 affecting Log4j in Enterprise Vault

book

Article ID: 1000766308

calendar_today

Updated On:

Description

CVE-2026-34480: Apache Log4j Core's XmlLayout fails to sanitize characters

Apache Log4j Core's XmlLayout https://logging.apache.org/log4j/2.x/manual/layouts.html#XmlLayout , in versions up to and including 2.25.3, fails to sanitize characters forbidden by the XML 1.0 specification https://www.w3.org/TR/xml/#charsets producing invalid XML output whenever a log message or MDC value contains such characters. The impact depends on the StAX implementation in use: * JRE built-in StAX: Forbidden characters are silently written to the output, producing malformed XML. Conforming parsers must reject such documents with a fatal error, which may cause downstream log-processing systems to drop the affected records. * Alternative StAX implementations (e.g., Woodstox https://github.com/FasterXML/woodstox , a transitive dependency of the Jackson XML Dataformat module): An exception is thrown during the logging call, and the log event is never delivered to its intended appender, only to Log4j's internal status logger. Users are advised to upgrade to Apache Log4j Core 2.25.4, which corrects this issue by sanitizing forbidden characters before XML output.
https://nvd.nist.gov/vuln/detail/CVE-2026-34480

Affected versions/From (including): 2.0

Not affected versions/Up to (excluding): 2.25.4

CVSS 4.x Severity and Vector Strings

- NIST: NVD
- N/A
- NVD assessment not yet provided.
- Nist CVSS score does not match with CNA score
- CNA: Apache Software Foundation
- CVSS-B 6.9 MEDIUM
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N

CVSS 3.x Severity and Vector Strings

- NIST: NVD
- Base Score: 7.5 HIGH
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N


CVE-2025-68161: Socket Appender in Apache Log4j Core does not perform TLS hostname verification of the peer certificate

The Socket Appender in Apache Log4j Core versions 2.0-beta9 through 2.25.2 does not perform TLS hostname verification of the peer certificate, even when the verifyHostName https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName configuration attribute or the log4j2.sslVerifyHostName https://logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName system property is set to true. This issue may allow a man-in-the-middle attacker to intercept or redirect log traffic under the following conditions: * The attacker is able to intercept or redirect network traffic between the client and the log receiver. * The attacker can present a server certificate issued by a certification authority trusted by the Socket Appender’s configured trust store (or by the default Java trust store if no custom trust store is configured). Users are advised to upgrade to Apache Log4j Core version 2.25.3, which addresses this issue. As an alternative mitigation, the Socket Appender may be configured to use a private or restricted trust root to limit the set of trusted certificates.
https://nvd.nist.gov/vuln/detail/CVE-2025-68161

Affected versions/From (including): 2.0.1

Not affected versions/Up to (excluding): 2.25.3

CVSS 4.x Severity and Vector Strings:

- NIST: NVD
- N/A
- NVD assessment not yet provided.
- Nist CVSS score does not match with CNA score
- CNA: Apache Software Foundation
- CVSS-B 6.3 MEDIUM
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N

CVSS 3.x Severity and Vector Strings:

- NIST: NVD
- Base Score: 4.8 MEDIUM
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N


CVE-2026-34477: The fix for CVE-2025-68161 was incomplete

The fix for CVE-2025-68161 https://logging.apache.org/security.html#CVE-2025-68161 was incomplete: it addressed hostname verification only when enabled via the log4j2.sslVerifyHostName https://logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName system property, but not when configured through the verifyHostName https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName attribute of the element. Although the verifyHostName configuration attribute was introduced in Log4j Core 2.12.0, it was silently ignored in all versions through 2.25.3, leaving TLS connections vulnerable to interception regardless of the configured value. A network-based attacker may be able to perform a man-in-the-middle attack when all of the following conditions are met: * An SMTP, Socket, or Syslog appender is in use. * TLS is configured via a nested element. * The attacker can present a certificate issued by a CA trusted by the appender's configured trust store, or by the default Java trust store if none is configured. This issue does not affect users of the HTTP appender, which uses a separate verifyHostname https://logging.apache.org/log4j/2.x/manual/appenders/network.html#HttpAppender-attr-verifyHostName attribute that was not subject to this bug and verifies host names by default. Users are advised to upgrade to Apache Log4j Core 2.25.4, which corrects this issue.
https://nvd.nist.gov/vuln/detail/CVE-2026-34477

Affected versions/From (including): 2.12.0

Not affected versions/Up to (excluding): 2.25.4

CVSS 4.x Severity and Vector Strings:

- NIST: NVD
- N/A
- NVD assessment not yet provided.
- Nist CVSS score does not match with CNA score
- CNA: Apache Software Foundation
- CVSS-B 6.3 MEDIUM
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N

CVSS 3.x Severity and Vector Strings:

- NIST: NVD
- Base Score: 5.9 MEDIUM
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N


CVE-2026-49844: Improper encoding of non-finite floating-point values during MapMessage JSON serialization produces output that is not valid JSON

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.
https://nvd.nist.gov/vuln/detail/CVE-2026-49844

Affected versions/From (including): 2.13.1

Not affected versions/Up to (excluding): 2.25.5

CVSS 4.x Severity and Vector Strings:

- NIST: NVD
- N/A
- NVD assessment not yet provided.
- Nist CVSS score does not match with CNA score
- CNA: Apache Software Foundation
- CVSS-B 6.3 MEDIUM
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N

CVSS 3.x Severity and Vector Strings:

- NIST: NVD
- Base Score: 5.9 MEDIUM
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Environment

THE SECURITY ADVISORY IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. VERITAS TECHNOLOGIES LLC AND/OR ARCTERA US LLC AND/OR CLOUD SOFTWARE GROUP, INC SHALL NOT BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE FURNISHING, PERFORMANCE, OR USE OF THIS DOCUMENTATION. THE INFORMATION CONTAINED IN THIS DOCUMENTATION IS SUBJECT TO CHANGE WITHOUT NOTICE.

Cause

For questions or problems regarding these vulnerabilities please contact Technical Support.

Resolution

Per ElasticSearch's official position, Enterprise Vault 15 is not impacted by any of the above four CVEs. The Log4j that is bundled in ElasticSearch is flagged only by version-based scanning. The above vulnerabilities are gated behind Log4j appender/layout configurations, e.g. XmlLayout, Socket/SMTP/Syslog TLS appenders, JsonTemplateLayout/MapMessage, which are not present in the unmodified Elasticsearch configuration shipped with Enterprise Vault;

While an impacted version of Log4j may be present in ElasticSearch on the Enterprise Vault servers, Enterprise Vault does not use the affected module or workflow. Therefore the vulnerability is not exposed and can not be exploited.

As Enterprise Vault is not affected, no mitigation or resolution is required.

Note - It is NOT recommended to attempt upgrading the Log4j component independently as this can cause unexpected product behaviour in Enterprise Vault.

Issue/Introduction

Impact of CVE-2026-34480, CVE-2025-68161, CVE-2026-34477, CVE-2026-49844 affecting Log4j in Enterprise Vault