CVE-2022-40674
HIGHCVSS 8.1/10EPSS 1.66%
Last modified
CVE-2022-40674 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.. EPSS estimates a 1.66% chance of exploitation in the next 30 days.
Description
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libexpat Project | Libexpat | < 2.4.9 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
| Fedoraproject | Fedora | 37 |
References
- https://github.com/libexpat/libexpat/pull/629Issue Tracking, Patch, Third Party Advisory
- https://github.com/libexpat/libexpat/pull/640Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/09/msg00029.htmlIssue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/202209-24Third Party Advisory
- https://security.gentoo.org/glsa/202211-06Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221028-0008/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5236Third Party Advisory
- https://github.com/libexpat/libexpat/pull/629Issue Tracking, Patch, Third Party Advisory
- https://github.com/libexpat/libexpat/pull/640Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/09/msg00029.htmlIssue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/202209-24Third Party Advisory
- https://security.gentoo.org/glsa/202211-06Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221028-0008/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5236Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-40674?
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
How severe is CVE-2022-40674?
CVE-2022-40674 has a CVSS score of 8.1/10 (HIGH severity). The EPSS model estimates a 1.66% probability of exploitation in the next 30 days.
How do I fix CVE-2022-40674?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2022-40674?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
