Skip to content
Heist/ feed
Back to feed
MediumFix available

libxerces2-java — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-23437

There's a vulnerability within the Apache Xerces Java (XercesJ) XML parser when handling specially crafted XML document payloads. This causes, the XercesJ XML parser to wait in an infinite loop, which may sometimes consume system resources for prolonged duration. This vulnerability is present within XercesJ version 2.12.1 and the previous versions.

Products
libxerces2-java
Affected versions
Not specified
Fixed versions
2.12.2-1
CVEs
CVE-2022-23437
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 11:07 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-23437

core-osv · Original source

Published 24 Jan 2022, 15:15 UTC

There's a vulnerability within the Apache Xerces Java (XercesJ) XML parser when handling specially crafted XML document payloads. This causes, the XercesJ XML parser to wait in an infinite loop, which may sometimes consume system resources for prolonged duration. This vulnerability is present within XercesJ version 2.12.1 and the previous versions.

osv:DEBIAN-CVE-2022-23437

libxerces2-java

Fixed versions: 2.12.2-1

libxerces2-java

Fixed versions: 2.12.2-1

libxerces2-java

Fixed versions: 2.12.2-1

Complete source record
{
  "id": "99bd80e2f2560085dd7cfe8d833940999f1631cc0f76836162fd2558cbd98ce5",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-23437",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-23437",
    "summary": "There's a vulnerability within the Apache Xerces Java (XercesJ) XML parser when handling specially crafted XML document payloads. This causes, the XercesJ XML parser to wait in an infinite loop, which may sometimes consume system resources for prolonged duration. This vulnerability is present within XercesJ version 2.12.1 and the previous versions.",
    "evidence": "osv:DEBIAN-CVE-2022-23437",
    "products": [
      {
        "name": {
          "value": "libxerces2-java",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.12.2-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxerces2-java",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.12.2-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxerces2-java",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.12.2-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2022-23437",
      "aliases": [
        "DEBIAN-CVE-2022-23437"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.12.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libxerces2-java",
            "purl": "pkg:deb/debian/libxerces2-java?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-23437.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.12.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libxerces2-java",
            "purl": "pkg:deb/debian/libxerces2-java?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-23437.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.12.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libxerces2-java",
            "purl": "pkg:deb/debian/libxerces2-java?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-23437.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-09T09:47:29.296766673Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-23437"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-23437"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-23437",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 111566,
  "published_at": "2022-01-24T15:15:09.317+00:00"
}