CVE-2022-40674
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
Published Sep 14, 2022 · updated Oct 14, 2026 · libexpat project libexpat
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Sep 14, 2022 · NIST NVD
Detected
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
Oct 14, 2026 · NIST NVD
Updated
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
Affected
- cpe debian/debian linux10.0
- cpe debian/debian linux11.0
- cpe fedoraproject/fedora35
- cpe fedoraproject/fedora36
- cpe fedoraproject/fedora37
- cpe libexpat project/libexpatversion unspecified
Sources
- CVE.orgVulnerability recordCVE-2022-40674
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2022-40674
30-day exploitation probability 2.3%
first.org - NIST NVDVulnerability recordCVE-2022-40674
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
nvd.nist.gov