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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-40668Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-40669Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-4067Cross-site Scripting (XSS) - Stored in GitHub repository lib…5.4
- CVE-2022-40671Cross-Site Request Forgery (CSRF) vulnerability in Rate my P…4.3
- CVE-2022-40672Authenticated (admin+) Stored Cross-Site Scripting (XSS) vul…4.8
- CVE-2022-40673KDiskMark before 3.1.0 lacks authorization checking for D-Bu…7.8
- CVE-2022-40675Some cryptographic issues in Fortinet FortiNAC versions 9.4.…7.4
- CVE-2022-40676A improper neutralization of input during web page generatio…5.4
- CVE-2022-40677A improper neutralization of argument delimiters in a comman…8.8
- CVE-2022-40678An insufficiently protected credentials in Fortinet FortiNAC…7.8
- CVE-2022-40679An improper neutralization of special elements used in an OS…7.8
- CVE-2022-4068A user is able to enable their own account if it was disable…5.4
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
