{
  "id": "CVE-2026-34479",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-34479",
  "published_at": "2026-04-10T15:41:07.888Z",
  "title": "Apache Log4j 1 to Log4j 2 bridge: Silent log event loss in Log4j1XmlLayout due to unescaped XML 1.0 forbidden characters",
  "vendor": "Apache Software Foundation",
  "product": "Apache Log4j 1 to Log4j 2 bridge",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The Log4j1XmlLayout from the Apache Log4j 1-to-Log4j 2 bridge fails to escape characters forbidden by the XML 1.0 standard, producing malformed XML output. Conforming XML parsers are required to reject documents containing such characters with a fatal error, which may cause downstream log processing systems to drop or fail to index affected records.\n\nTwo groups of users are affected:\n\n  *  Those using Log4j1XmlLayout directly in a Log4j Core 2 configuration file.\n  *  Those using the Log4j 1 configuration compatibility layer with org.apache.log4j.xml.XMLLayout specified as the layout class.\n\n\nUsers are advised to upgrade to Apache Log4j 1-to-Log4j 2 bridge version 2.25.4, which corrects this issue.\n\nNote: The Apache Log4j 1-to-Log4j 2 bridge is deprecated and will not be present in Log4j 3. Users are encouraged to consult the  Log4j 1 to Log4j 2 migration guide https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html , and specifically the section on eliminating reliance on the bridge.",
  "cwe": "CWE-116",
  "cpes": [
    "cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:apache:log4j:3.0.0:alpha1:*:*:*:*:*:*",
    "cpe:2.3:a:apache:log4j:3.0.0:alpha1_rc1:*:*:*:*:*:*",
    "cpe:2.3:a:apache:log4j:3.0.0:alpha1_rc2:*:*:*:*:*:*",
    "cpe:2.3:a:apache:log4j:3.0.0:beta1:*:*:*:*:*:*",
    "cpe:2.3:a:apache:log4j:3.0.0:beta2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.9,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache Log4j 1 to Log4j 2 bridge",
        "ranges": [
          "\u003e= 2.7, \u003c 2.25.4",
          "\u003e= 3.0.0-alpha1, \u003c= 3.0.0-beta2"
        ],
        "fixed_in": [
          "2.25.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Apache Log4j 1 to Log4j 2 bridge to 2.25.4 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/apache/logging-log4j2/pull/4078"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://logging.apache.org/security.html#CVE-2026-34479"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://logging.apache.org/cyclonedx/vdr.xml"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://lists.apache.org/thread/gd0hp6mj17rn3kj279vgy4p7kd4zz5on"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
