CVE-2022-40674 libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
HighCVSS 8.1
EPSS 2.4%
- Published
- Updated
- Exploit status
- No public exploit known
Description
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| ubuntu/cadaver(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/coin3(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/expat(Ubuntu:22.04) | < 2.4.7-1ubuntu0.1 | 2.4.7-1ubuntu0.1 |
| ubuntu/matanza(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/tdom(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/thunderbird(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/wbxml2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/swish-e(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/xmlrpc-c(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/cadaver(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/coin3(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/matanza(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/tdom(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/thunderbird(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/wbxml2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/swish-e(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/xmlrpc-c(Ubuntu:24.04) | All versions | No fix listed |
| alpine/expat(Alpine:v3.13) | < 2.2.10-r7 | 2.2.10-r7 |
| alpine/expat(Alpine:v3.14) | < 2.4.9-r0 | 2.4.9-r0 |
| alpine/expat(Alpine:v3.15) | < 2.4.9-r0 | 2.4.9-r0 |
| alpine/expat(Alpine:v3.16) | < 2.4.9-r0 | 2.4.9-r0 |
| alpine/expat(Alpine:v3.17) | < 2.4.9-r0 | 2.4.9-r0 |
Show 37 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/expat(Alpine:v3.18) | < 2.4.9-r0 | 2.4.9-r0 |
| alpine/expat(Alpine:v3.19) | < 2.4.9-r0 | 2.4.9-r0 |
| alpine/expat(Alpine:v3.20) | < 2.4.9-r0 | 2.4.9-r0 |
| alpine/expat(Alpine:v3.21) | < 2.4.9-r0 | 2.4.9-r0 |
| alpine/expat(Alpine:v3.22) | < 2.4.9-r0 | 2.4.9-r0 |
| alpine/expat(Alpine:v3.23) | < 2.4.9-r0 | 2.4.9-r0 |
| alpine/expat(Alpine:v3.24) | < 2.4.9-r0 | 2.4.9-r0 |
| ubuntu/cadaver(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/coin3(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/matanza(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/tdom(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/thunderbird(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/wbxml2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/xmlrpc-c(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/swish-e(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/cadaver(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/coin3(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/matanza(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/swish-e(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/tdom(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/thunderbird(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/wbxml2(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/xmlrpc-c(Ubuntu:26.10) | All versions | No fix listed |
| libexpat project libexpat | < 2.4.9 | 2.4.9 |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| fedoraproject fedora | = 36 | No fix listed |
| fedoraproject fedora | = 37 | No fix listed |
| debian/expat(Debian:12) | < 2.4.8-2 | 2.4.8-2 |
| debian/expat(Debian:14) | < 2.4.8-2 | 2.4.8-2 |
| debian/expat(Debian:13) | < 2.4.8-2 | 2.4.8-2 |
| debian/libxmltok(Debian:12) | All versions | No fix listed |
| debian/libxmltok(Debian:12) | = 1.2-4 | No fix listed |
| debian/libxmltok(Debian:12) | = 1.2-4.1 | No fix listed |
| debian/libxmltok(Debian:12) | = 1.2-4.1~exp1 | No fix listed |
| debian/libxmltok(Debian:12) | = 1.2-4.2 | No fix listed |
References
- Debian Security Tracker CVE-2022-40674 vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- DSA-5236 third-party-advisory vendor-advisory
- [debian-lts-announce] 20220925 [SECURITY] [DLA 3119-1] expat security update issue-tracking mailing-list third-party-advisory
- GLSA-202209-24 third-party-advisory vendor-advisory
- FEDORA-2022-15ec504440 vendor-advisory
- FEDORA-2022-c68d90efc3 vendor-advisory
- security.netapp.com third-party-advisory
- FEDORA-2022-d93b3bd8b9 vendor-advisory
- FEDORA-2022-c22feb71ba vendor-advisory
- FEDORA-2022-dcb1d7bcb1 vendor-advisory
- GLSA-202211-06 third-party-advisory vendor-advisory
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- Ubuntu CVE tracker vendor-advisory
- USN-5638-1 vendor-advisory
- USN-5726-1 vendor-advisory
- USN-5638-2 vendor-advisory
- USN-5638-4 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking