CVE-2026-34480: Apache Log4j Core - Denial of Service
- Cve: CVE-2026-34480
- Name: Apache Log4j Core - Denial of Service
- Description: 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.
- Impact: Attackers can cause malformed XML or logging failures, disrupting log processing and potentially dropping log records.
- Remediation: Upgrade to Apache Log4j Core version 2.25.4 or later.
- Vulnerability type: misconfiguration
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.01064
- Epss percentile: 0.65365
- Assignee: [email protected]
- Published at: 2026-04-10T16:16:31Z
- Age in days: 228
- Modified at: 2026-10-26T22:10:00Z
- Patch available: yes
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-34480
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-116 | Improper Encoding or Escaping of Output |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/apache/logging-log4j2/pull/4077 | Issue Tracking, Patch |
| https://logging.apache.org/security.html#CVE-2026-34480 | Vendor Advisory |
| https://lists.apache.org/thread/5x0hcnng0chhghp6jgjdp3qmbbhfjzhb | Mailing List, Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2026/04/10/9 | Mailing List, Third Party Advisory |
| https://logging.apache.org/cyclonedx/vdr.xml | Product |
| https://logging.apache.org/log4j/2.x/manual/layouts.html#XmlLayout | Technical Description |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:log4j | = 3.0.0 alpha1; = 3.0.0 alpha1_rc1; = 3.0.0 alpha1_rc2; = 3.0.0 beta1; = 3.0.0 beta2; = 3.0.0 beta3; >= 2.0, < 2.25.4 | no | nvd | /v1/products/apache/log4j |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/logging-log4j2 | package, pull | yes | /v1/repositories/apache/logging-log4j2 |
Index
- Repositories: 551
- Repositories high signal: 318
- Packages: 1
Exploitation
- Remote: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts