Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-43680

In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-43680
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 16:48 UTC · Revision 1

Source evidence

CVE-2022-43680

core-osv · Original source

Published 24 Oct 2022, 00:00 UTC

In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.

osv:CVE-2022-43680
Complete source record
{
  "id": "83ae53f329ee184371e9b919feaa414eecebc327953a77609f8551187eb5d22c",
  "url": "https://osv.dev/vulnerability/CVE-2022-43680",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-43680",
    "summary": "In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.",
    "evidence": "osv:CVE-2022-43680",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-43680",
      "aliases": [
        "A-255449293",
        "ASB-A-255449293",
        "CVE-2022-43680"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libexpat/libexpat",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "d77291a4824d78e697c5dc2b8024fd65ab31e209"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.4.9"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "cpe": "cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.4.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "R_2_4_9",
            "R_2_4_8",
            "R_2_4_7",
            "R_2_4_6",
            "R_2_4_5",
            "R_2_4_4",
            "R_2_4_3",
            "R_2_4_2",
            "R_2_4_1",
            "R_2_4_0",
            "R_2_3_0",
            "R_2_2_10",
            "R_2_2_9",
            "R_2_2_8",
            "R_2_2_7",
            "R_2_2_6",
            "R_2_2_5",
            "R_2_2_4",
            "R_2_2_3",
            "R_2_2_2",
            "R_2_2_1",
            "R_2_2_0",
            "R_2_1_1",
            "R_2_1_0",
            "R_2_0_1",
            "R_2_0_0",
            "R_1_95_8",
            "R_1_95_7",
            "R_1_95_6",
            "R_1_95_5",
            "R_1_95_4",
            "R_1_95_3",
            "R_1_95_2",
            "R_1_95_0",
            "libexpat-alpha-1",
            "start",
            "sourceforge_init",
            "jclark-orig",
            "V20000512",
            "V19991013",
            "V19990728",
            "V19990709",
            "V19990626",
            "V1_1",
            "V19990425",
            "V1990307",
            "V19990109",
            "V19981231",
            "V19981122",
            "V1_0",
            "beta4",
            "beta3",
            "beta2",
            "REC1_0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-43680.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.496223849Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-892048.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43680.json",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AJ5VY2VYXE4WTRGQ6LMGLF6FV3SY37YE/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BY4OPSIB33ETNUXZY2UPZ4NGQ3OKDY4D/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DPQVIF6TOJNY2T3ZZETFKR4G34FFREBQ/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFCOMBSOJKLIKCGCJWHLJXO4EVYBG7AR/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUJ2BULJTZ2BMSKQHB6US674P55UCWWS/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XG5XOOB7CD55CEE6OJYKSACSIMQ4RWQ6/",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-43680",
        "https://security.gentoo.org/glsa/202210-38",
        "https://security.netapp.com/advisory/ntap-20221118-0007/",
        "https://www.debian.org/security/2022/dsa-5266",
        "https://github.com/libexpat/libexpat/issues/649",
        "https://github.com/libexpat/libexpat/pull/616",
        "https://github.com/libexpat/libexpat/pull/650",
        "https://lists.debian.org/debian-lts-announce/2022/10/msg00033.html"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43680.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-43680",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497548,
  "published_at": "2022-10-24T00:00:00+00:00"
}