Search covers the description text, product and vendor names and weakness types (also partial words).
CVE-2022-40674libexpat project libexpat
Exploit probability (EPSS) 2.4% within the next 30 days
Published 14 September 2022
Last modified: 14 October 2026
In short This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.
A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.
Special conditions are required for a successful attack, which makes exploitation harder.
Weakness type: Use after free.
✨ AI commentary
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
Watch an ad to unlock AI commentary
Official description libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
CVSS: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-416 – Use after free
Affected products
Sources NVD – CVE-2022-40674 CVE.org – CVE-2022-40674
https://github.com/libexpat/libexpat/pull/629 (Issue Tracking, Patch, Third Party Advisory) https://github.com/libexpat/libexpat/pull/640 (Issue Tracking, Patch, Third Party Advisory) https://lists.debian.org/debian-lts-announce/2022/09/msg00029.html (Issue Tracking, Third Party Advisory) https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSVZN3IJ6OCPSJL7AEX3ZHSHAHFOGESK/ https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J2IGJNHFV53PYST7VQV3T4NHVYAMXA36/ https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LQB6FJAM5YQ35SF5B2MN25Y2FX56EOEZ/ https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WE2ZKEPGFCZ7R6DRVH3K6RBJPT42ZBEG/ https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XCGBVQQ47URGJAZWHCISHDWF6QBTV2LE/ https://security.gentoo.org/glsa/202209-24 (Third Party Advisory) https://security.gentoo.org/glsa/202211-06 (Third Party Advisory) https://security.netapp.com/advisory/ntap-20221028-0008/ (Third Party Advisory) https://www.debian.org/security/2022/dsa-5236 (Third Party Advisory) https://github.com/libexpat/libexpat/pull/629 (Issue Tracking, Patch, Third Party Advisory) https://github.com/libexpat/libexpat/pull/640 (Issue Tracking, Patch, Third Party Advisory) https://lists.debian.org/debian-lts-announce/2022/09/msg00029.html (Issue Tracking, Third Party Advisory) https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSVZN3IJ6OCPSJL7AEX3ZHSHAHFOGESK/ https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J2IGJNHFV53PYST7VQV3T4NHVYAMXA36/ https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LQB6FJAM5YQ35SF5B2MN25Y2FX56EOEZ/ https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WE2ZKEPGFCZ7R6DRVH3K6RBJPT42ZBEG/ https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XCGBVQQ47URGJAZWHCISHDWF6QBTV2LE/ https://security.gentoo.org/glsa/202209-24 (Third Party Advisory) https://security.gentoo.org/glsa/202211-06 (Third Party Advisory) https://security.netapp.com/advisory/ntap-20221028-0008/ (Third Party Advisory) https://www.debian.org/security/2022/dsa-5236 (Third Party Advisory) https://cert-portal.siemens.com/productcert/html/ssa-398330.html https://cert-portal.siemens.com/productcert/html/ssa-558014.html https://cert-portal.siemens.com/productcert/html/ssa-892048.html
Latest in the same category CVE-2026-130472 Medium 6.1
An out-of-bounds read vulnerability exists in the Foxit PDF Editor/Reader’s handling of malformed images with soft masks. Insufficient validation of image-decoding data may result in an out-of-bounds read and…
Memory corruption · 1 December 2026
CVE-2026-140050 Medium 5.5
A vulnerability has been found in NASA Trick up to 25.1.1. Affected by this vulnerability is the function Trick::MonteCarlo::handle_initialization of the file…
Memory corruption · 1 December 2026
CVE-2026-140042 High 8.6
A vulnerability has been found in WAVLINK WL-WN530BE1-A M30BE1_V251117. This affects the function FUN_0001f94c of the file /protocol.csp of the component ioos. The manipulation of the argument device_name leads to…
Memory corruption · 1 December 2026
CVE-2026-119003 Medium 5.1
OOB read vulnerability in the image processing module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.
Memory corruption · 1 December 2026
CVE-2026-119002 High 8.4
OOB read vulnerability in the image processing module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.
Memory corruption · 1 December 2026
CVE-2026-119001 High 8.4
OOB write vulnerability in the image processing module. Impact: Successful exploitation of this vulnerability may affect availability.
Memory corruption · 1 December 2026