CVEMETERBack to radar
OFFICIAL RECORD · Java packages

CVE-2026-34480

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 6.9 · medium

Apache Log4j Core: Silent log event loss in XmlLayout due to unescaped XML 1.0 forbidden 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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 1.064% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 6.9 · published by apache
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
Assessment source · checked 2026-11-19T12:58:24.298Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:58:24.298ZCVE Program
epssverified2026-11-19T16:04:49.143ZFIRST EPSS
patchesverified2026-11-19T12:52:09.801ZOSV
affectedverified2026-11-19T12:58:24.298ZCVE Program
lifecycleverified2026-11-19T12:58:24.298ZCVE Program

Affected versions and configuration

Apache Software Foundation Apache Log4j Core; default status: unaffected: 2.0-alpha1 to < 2.25.4 [affected; scheme: maven]; 3.0.0-alpha1 to ≤ 3.0.0-beta3 [affected; scheme: maven]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "cpes": [
        "cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*"
      ],
      "vendor": "Apache Software Foundation",
      "product": "Apache Log4j Core",
      "versions": [
        {
          "status": "affected",
          "version": "2.0-alpha1",
          "lessThan": "2.25.4",
          "versionType": "maven"
        },
        {
          "status": "affected",
          "version": "3.0.0-alpha1",
          "versionType": "maven",
          "lessThanOrEqual": "3.0.0-beta3"
        }
      ],
      "packageURL": "pkg:maven/org.apache.logging.log4j/log4j-core",
      "packageName": "org.apache.logging.log4j:log4j-core",
      "collectionURL": "https://repo.maven.apache.org/maven2",
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "http://www.openwall.com/lists/oss-security/2026/04/10/9"
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2026-04-10T16:18:19.775Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-34480",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-04-10T17:43:51.255638Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-04-10T17:45:07.434Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-3pxv-7cmr-fjr4",
  "aliases": [
    "CVE-2026-34480"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "2.0-alpha1"
            },
            {
              "fixed": "2.25.4"
            }
          ]
        }
      ],
      "package": {
        "name": "org.apache.logging.log4j:log4j-core",
        "purl": "pkg:maven/org.apache.logging.log4j/log4j-core",
        "ecosystem": "Maven"
      },
      "versions": [
        "2.0",
        "2.0-alpha1",
        "2.0-alpha2",
        "2.0-beta1",
        "2.0-beta2",
        "2.0-beta3",
        "2.0-beta4",
        "2.0-beta5",
        "2.0-beta6",
        "2.0-beta7",
        "2.0-beta8",
        "2.0-beta9",
        "2.0-rc1",
        "2.0-rc2",
        "2.0.1",
        "2.0.2",
        "2.1",
        "2.10.0",
        "2.11.0",
        "2.11.1",
        "2.11.2",
        "2.12.0",
        "2.12.1",
        "2.12.2",
        "2.12.3",
        "2.12.4",
        "2.13.0",
        "2.13.1",
        "2.13.2",
        "2.13.3",
        "2.14.0",
        "2.14.1",
        "2.15.0",
        "2.16.0",
        "2.17.0",
        "2.17.1",
        "2.17.2",
        "2.18.0",
        "2.19.0",
        "2.2",
        "2.20.0",
        "2.21.0",
        "2.21.1",
        "2.22.0",
        "2.22.1",
        "2.23.0",
        "2.23.1",
        "2.24.0",
        "2.24.1",
        "2.24.2",
        "2.24.3",
        "2.25.0",
        "2.25.1",
        "2.25.2",
        "2.25.3",
        "2.3",
        "2.3.1",
        "2.3.2",
        "2.4",
        "2.4.1",
        "2.5",
        "2.6",
        "2.6.1",
        "2.6.2",
        "2.7",
        "2.8",
        "2.8.1",
        "2.8.2",
        "2.9.0",
        "2.9.1"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-3pxv-7cmr-fjr4/GHSA-3pxv-7cmr-fjr4.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "3.0.0-alpha1"
            },
            {
              "last_affected": "3.0.0-beta3"
            }
          ]
        }
      ],
      "package": {
        "name": "org.apache.logging.log4j:log4j-core",
        "purl": "pkg:maven/org.apache.logging.log4j/log4j-core",
        "ecosystem": "Maven"
      },
      "versions": [
        "3.0.0-alpha1",
        "3.0.0-beta1",
        "3.0.0-beta2",
        "3.0.0-beta3"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-3pxv-7cmr-fjr4/GHSA-3pxv-7cmr-fjr4.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "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"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34480",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/apache/logging-log4j2/pull/4077",
      "type": "WEB"
    },
    {
      "url": "https://github.com/apache/logging-log4j2",
      "type": "PACKAGE"
    },
    {
      "url": "https://lists.apache.org/thread/5x0hcnng0chhghp6jgjdp3qmbbhfjzhb",
      "type": "WEB"
    },
    {
      "url": "https://logging.apache.org/cyclonedx/vdr.xml",
      "type": "WEB"
    },
    {
      "url": "https://logging.apache.org/log4j/2.x/manual/layouts.html#XmlLayout",
      "type": "WEB"
    },
    {
      "url": "https://logging.apache.org/security.html#CVE-2026-34480",
      "type": "WEB"
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2026/04/10/9",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-116"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2026-04-10T16:16:31Z",
    "github_reviewed_at": "2026-04-10T21:16:41Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryMaven / packageorg.apache.logging.log4j:log4j-coreNot a distribution channel2.25.4Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history