CVE-2022-40304
published high CVSS 3.1 · 7.8libxml2: dict corruption caused by entity reference cycles
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-1996 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-096 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | libxml2 | Advisory build | 2.9.7-15.el8_7.1 | ALSA-2023:0173 |
| Alpine Linux | edge | libxml2 | Fixed | 2.10.3-r0 | Package fix record |
Show 101 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-097 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | libxml2 | Advisory build | 2.9.10+dfsg-6.7+deb11u3 | DSA-5271-1 |
| Oracle Linux | 8 | libxml2aarch64 | Advisory build | 0:2.9.7-15.el8_7.1 | ELSA-2023-0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2aarch64 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| AlmaLinux | 8 | libxml2-devel | Advisory build | 2.9.7-15.el8_7.1 | ALSA-2023:0173 |
| AlmaLinux | 8 | python3-libxml2 | Advisory build | 2.9.7-15.el8_7.1 | ALSA-2023:0173 |
| AlmaLinux | 9 | libxml2 | Advisory build | 2.9.13-3.el9_1 | ALSA-2023:0338 |
| AlmaLinux | 9 | libxml2-devel | Advisory build | 2.9.13-3.el9_1 | ALSA-2023:0338 |
| AlmaLinux | 9 | python3-libxml2 | Advisory build | 2.9.13-3.el9_1 | ALSA-2023:0338 |
| Alpine Linux | v3.13 | libxml2 | Fixed | 2.9.14-r2 | Package fix record |
| Alpine Linux | v3.14 | libxml2 | Fixed | 2.9.14-r2 | Package fix record |
| Alpine Linux | v3.15 | libxml2 | Fixed | 2.9.14-r2 | Package fix record |
| Alpine Linux | v3.16 | libxml2 | Fixed | 2.9.14-r2 | Package fix record |
| Alpine Linux | v3.17 | libxml2 | Fixed | 2.10.3-r0 | Package fix record |
| Alpine Linux | v3.18 | libxml2 | Fixed | 2.10.3-r0 | Package fix record |
| Alpine Linux | v3.19 | libxml2 | Fixed | 2.10.3-r0 | Package fix record |
| Alpine Linux | v3.20 | libxml2 | Fixed | 2.10.3-r0 | Package fix record |
| Alpine Linux | v3.21 | libxml2 | Fixed | 2.10.3-r0 | Package fix record |
| Alpine Linux | v3.22 | libxml2 | Fixed | 2.10.3-r0 | Package fix record |
| Alpine Linux | v3.23 | libxml2 | Fixed | 2.10.3-r0 | Package fix record |
| Alpine Linux | v3.24 | libxml2 | Fixed | 2.10.3-r0 | Package fix record |
| Debian | buster | libxml2 | Advisory build | 2.9.4+dfsg1-7+deb10u5 | DLA-3172-1 |
| Oracle Linux | 8 | libxml2x86_64 | Advisory build | 0:2.9.7-15.el8_7.1 | ELSA-2023-0173 |
| Oracle Linux | 8 | libxml2-develaarch64 | Advisory build | 0:2.9.7-15.el8_7.1 | ELSA-2023-0173 |
| Oracle Linux | 8 | libxml2-develx86_64 | Advisory build | 0:2.9.7-15.el8_7.1 | ELSA-2023-0173 |
| Oracle Linux | 8 | python3-libxml2aarch64 | Advisory build | 0:2.9.7-15.el8_7.1 | ELSA-2023-0173 |
| Oracle Linux | 8 | python3-libxml2x86_64 | Advisory build | 0:2.9.7-15.el8_7.1 | ELSA-2023-0173 |
| Oracle Linux | 9 | libxml2aarch64 | Advisory build | 0:2.9.13-3.el9_1 | ELSA-2023-0338 |
| Oracle Linux | 9 | libxml2x86_64 | Advisory build | 0:2.9.13-3.el9_1 | ELSA-2023-0338 |
| Oracle Linux | 9 | libxml2-develaarch64 | Advisory build | 0:2.9.13-3.el9_1 | ELSA-2023-0338 |
| Oracle Linux | 9 | libxml2-develx86_64 | Advisory build | 0:2.9.13-3.el9_1 | ELSA-2023-0338 |
| Oracle Linux | 9 | python3-libxml2aarch64 | Advisory build | 0:2.9.13-3.el9_1 | ELSA-2023-0338 |
| Oracle Linux | 9 | python3-libxml2x86_64 | Advisory build | 0:2.9.13-3.el9_1 | ELSA-2023-0338 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2aarch64 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2i686 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2i686 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2ppc64le | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2ppc64le | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2s390x | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2s390x | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2src | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2src | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2x86_64 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2x86_64 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfoaarch64 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfoaarch64 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfoi686 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfoi686 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfoppc64le | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfoppc64le | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfos390x | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfos390x | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfox86_64 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfox86_64 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsourceaarch64 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsourceaarch64 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsourcei686 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsourcei686 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsourceppc64le | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsourceppc64le | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsources390x | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsources390x | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsourcex86_64 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsourcex86_64 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-develaarch64 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-develaarch64 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-develi686 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-develi686 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-develppc64le | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-develppc64le | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-devels390x | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-devels390x | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-develx86_64 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-develx86_64 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2aarch64 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2aarch64 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2ppc64le | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2ppc64le | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2s390x | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2s390x | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2x86_64 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2x86_64 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfoaarch64 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfoaarch64 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfoi686 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfoi686 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfoppc64le | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfoppc64le | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfos390x | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfos390x | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfox86_64 | Advisory build | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfox86_64 | Advisory build | 2.9.7-15.el8_7.1 | RHSA-2023:0173 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2aarch64 | Advisory build | 2.9.13-3.el9_1 | RHSA-2023:0338 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2i686 | Advisory build | 2.9.13-3.el9_1 | RHSA-2023:0338 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2ppc64le | Advisory build | 2.9.13-3.el9_1 | RHSA-2023:0338 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2s390x | Advisory build | 2.9.13-3.el9_1 | RHSA-2023:0338 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2src | Advisory build | 2.9.13-3.el9_1 | RHSA-2023:0338 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2x86_64 | Advisory build | 2.9.13-3.el9_1 | RHSA-2023:0338 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-debuginfoaarch64 | Advisory build | 2.9.13-3.el9_1 | RHSA-2023:0338 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
2- n/a
- CWE-415 CWE-415 Double Free
References
20- 20221220 APPLE-SA-2022-12-13-2 iOS 15.7.2 and iPadOS 15.7.2 http://seclists.org/fulldisclosure/2022/Dec/21
- 20221220 APPLE-SA-2022-12-13-5 macOS Monterey 12.6.2 http://seclists.org/fulldisclosure/2022/Dec/24
- 20221220 APPLE-SA-2022-12-13-6 macOS Big Sur 11.7.2 http://seclists.org/fulldisclosure/2022/Dec/25
- 20221220 APPLE-SA-2022-12-13-7 tvOS 16.2 http://seclists.org/fulldisclosure/2022/Dec/26
- 20221220 APPLE-SA-2022-12-13-8 watchOS 9.2 http://seclists.org/fulldisclosure/2022/Dec/27
- https://cert-portal.siemens.com/productcert/html/ssa-337522.html
- https://cert-portal.siemens.com/productcert/html/ssa-341067.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-556635.html
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80b
- https://gitlab.gnome.org/GNOME/libxml2/-/tags
- https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3
- https://security.netapp.com/advisory/ntap-20221209-0003/
- https://support.apple.com/kb/HT213531
- https://support.apple.com/kb/HT213533
- https://support.apple.com/kb/HT213534
- https://support.apple.com/kb/HT213535
- https://support.apple.com/kb/HT213536
Provider assertions
4mitre · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 662d8ea14afa2ba00500d397888c20231a10f925458ec4010920d2d6e88bddac
- Ingested
- 14 Oct 2026, 20:24:42 UTC
- Source record
- Official CVE record