Vulnerabilities · 2022 · Libexpat Project
CVE-2022-40674
Libexpat Project Libexpat vulnerability
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
Affected products
Libexpat, Debian Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libexpat Project Libexpat runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/libexpat/libexpat/pull/629 · Patch
- github.com/libexpat/libexpat/pull/640 · Patch
- lists.debian.org/debian-lts-announce/2022/09/msg00029.html · Third Party Advisory
- security.gentoo.org/glsa/202209-24 · Third Party Advisory
- security.gentoo.org/glsa/202211-06 · Third Party Advisory
- security.netapp.com/advisory/ntap-20221028-0008/ · Third Party Advisory
- www.debian.org/security/2022/dsa-5236 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G
- nvd.nist.gov/vuln/detail/CVE-2022-40674
- cve.org/CVERecord?id=CVE-2022-40674
More vulnerabilities in Libexpat Project products
CVE-2026-24515CVE-2025-66382CVE-2025-59375CVE-2024-50602CVE-2024-45492CVE-2024-45491CVE-2024-45490CVE-2024-28757All 41
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.