Back to Database
Status published
Unknown
CVE-2022-40674
libexpat before 2.4.9 has a use-after-free in the doContent function...
Vulnerability Description
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-40674
Credits & Attribution
No credits recorded in the NVD database.
References
- https://github.com/libexpat/libexpat/pull/629
- https://github.com/libexpat/libexpat/pull/640
- https://www.debian.org/security/2022/dsa-5236
- https://lists.debian.org/debian-lts-announce/2022/09/msg00029.html
- https://security.gentoo.org/glsa/202209-24
- 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/J2IGJNHFV53PYST7VQV3T4NHVYAMXA36/
- https://security.netapp.com/advisory/ntap-20221028-0008/
- 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/XCGBVQQ47URGJAZWHCISHDWF6QBTV2LE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LQB6FJAM5YQ35SF5B2MN25Y2FX56EOEZ/
- https://security.gentoo.org/glsa/202211-06
More from libexpat project
View All →CVE-2025-66382
In libexpat through 2.7.3, a crafted file with an approximate...
Low
2.9
CVE-2025-59375
libexpat in Expat before 2.7.2 allows attackers to trigger large...
High
7.5
CVE-2022-43680
In libexpat through 2.4.9, there is a use-after free caused...
Unknown
0
CVE-2022-25315
In Expat (aka libexpat) before 2.4.5, there is an integer...
Unknown
0
CVE-2022-25314
In Expat (aka libexpat) before 2.4.5, there is an integer...
Unknown
0
Affected Vendor
libexpat project
View all reports →Affected Software
libexpat, debian linux, fedora
Vulnerable Versions:
0, 10.0, 11.0, 35, 36, 37
Timeline
Official Publish:
September 14th, 2022
Last Modified:
May 30th, 2025
Added to House:
July 21st, 2026
CVSS Vectors
No vector data available
Weaknesses (CWE)
No CWE data available
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.