{"id":"CVE-2022-40674","aliases":["CVE-2022-40674"],"related":[],"kind":"vulnerability","state":"published","title":"libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.","summary":"libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.","source":"cvelist"},{"lang":"es","text":"libexpat versiones anteriores a 2.4.9, presenta un uso de memoria previamente liberada en la función doContent en el archivo xmlparse.c","source":"nvd"}],"published":"2022-09-14T00:00:00.000Z","modified":"2026-10-14T18:17:05.450Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.4.9"}],"vendor":"libexpat_project","product":"libexpat","cpe":"cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"35"},{"status":"affected","version":"36"},{"status":"affected","version":"37"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/libexpat/libexpat/pull/629","tags":["issue-tracking","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/libexpat/libexpat/pull/640","tags":["issue-tracking","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2022/dsa-5236","tags":["third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00029.html","tags":["issue-tracking","mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202209-24","tags":["third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WE2ZKEPGFCZ7R6DRVH3K6RBJPT42ZBEG/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J2IGJNHFV53PYST7VQV3T4NHVYAMXA36/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20221028-0008/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSVZN3IJ6OCPSJL7AEX3ZHSHAHFOGESK/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XCGBVQQ47URGJAZWHCISHDWF6QBTV2LE/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LQB6FJAM5YQ35SF5B2MN25Y2FX56EOEZ/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202211-06","tags":["third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-558014.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-892048.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-05-30T19:17:58.194Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-40674","url":"https://www.cve.org/CVERecord?id=CVE-2022-40674","licence":"CVE Terms of Use","modified":"2026-10-14T18:06:41.595Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-40674","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40674","licence":"Public domain","modified":"2026-10-14T18:17:05.450Z"}],"updatedAt":"2026-11-25T22:58:14.927Z","epss":{"score":0.0254,"percentile":0.85437,"date":"2026-12-02T12:00:21.000Z"}}