CVE-2022-29824
publishedlibxml2: integer overflows in xmlBuf and xmlBuffer lead to out-of-bounds write
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-2022-1848 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-096 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Debian | bullseye | libxml2 | Advisory build | 2.9.10+dfsg-6.7+deb11u2 | DSA-5142-1 |
Show 100 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 |
| Oracle Linux | 8 | libxml2aarch64 | Advisory build | 0:2.9.7-13.el8_6.1 | ELSA-2022-5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2aarch64 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| SUSE / openSUSE | SLE-12-SP2 | libxml2-2x86_64 | Advisory build | 2.9.4-46.54.3 | SUSE-SU-2022:1833-1 |
| Alpine Linux | edge | libxslt | Fixed | 0 | Package fix record |
| Alpine Linux | v3.12 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.13 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.14 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.15 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.16 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.16 | libxslt | Fixed | 0 | Package fix record |
| Alpine Linux | v3.17 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.17 | libxslt | Fixed | 0 | Package fix record |
| Alpine Linux | v3.18 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.18 | libxslt | Fixed | 0 | Package fix record |
| Alpine Linux | v3.19 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.19 | libxslt | Fixed | 0 | Package fix record |
| Alpine Linux | v3.20 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.20 | libxslt | Fixed | 0 | Package fix record |
| Alpine Linux | v3.21 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.21 | libxslt | Fixed | 0 | Package fix record |
| Alpine Linux | v3.22 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.22 | libxslt | Fixed | 0 | Package fix record |
| Alpine Linux | v3.23 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.23 | libxslt | Fixed | 0 | Package fix record |
| Alpine Linux | v3.24 | libxml2 | Fixed | 2.9.14-r0 | Package fix record |
| Alpine Linux | v3.24 | libxslt | Fixed | 0 | Package fix record |
| Debian | buster | libxml2 | Advisory build | 2.9.4+dfsg1-7+deb10u4 | DSA-5142-1 |
| Debian | stretch | libxml2 | Advisory build | 2.9.4+dfsg1-2.2+deb9u7 | DLA-3012-1 |
| Oracle Linux | 8 | libxml2x86_64 | Advisory build | 0:2.9.7-13.el8_6.1 | ELSA-2022-5317 |
| Oracle Linux | 8 | libxml2-develaarch64 | Advisory build | 0:2.9.7-13.el8_6.1 | ELSA-2022-5317 |
| Oracle Linux | 8 | libxml2-develx86_64 | Advisory build | 0:2.9.7-13.el8_6.1 | ELSA-2022-5317 |
| Oracle Linux | 8 | python3-libxml2aarch64 | Advisory build | 0:2.9.7-13.el8_6.1 | ELSA-2022-5317 |
| Oracle Linux | 8 | python3-libxml2x86_64 | Advisory build | 0:2.9.7-13.el8_6.1 | ELSA-2022-5317 |
| Oracle Linux | 9 | libxml2aarch64 | Advisory build | 0:2.9.13-1.el9_0.1 | ELSA-2022-5250 |
| Oracle Linux | 9 | libxml2x86_64 | Advisory build | 0:2.9.13-1.el9_0.1 | ELSA-2022-5250 |
| Oracle Linux | 9 | libxml2-develaarch64 | Advisory build | 0:2.9.13-1.el9_0.1 | ELSA-2022-5250 |
| Oracle Linux | 9 | libxml2-develx86_64 | Advisory build | 0:2.9.13-1.el9_0.1 | ELSA-2022-5250 |
| Oracle Linux | 9 | python3-libxml2aarch64 | Advisory build | 0:2.9.13-1.el9_0.1 | ELSA-2022-5250 |
| Oracle Linux | 9 | python3-libxml2x86_64 | Advisory build | 0:2.9.13-1.el9_0.1 | ELSA-2022-5250 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2i686 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2ppc64le | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2s390x | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2src | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2x86_64 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfoaarch64 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfoi686 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfoppc64le | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfos390x | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debuginfox86_64 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsourceaarch64 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsourcei686 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsourceppc64le | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsources390x | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-debugsourcex86_64 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-develaarch64 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-develi686 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-develppc64le | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-devels390x | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2-develx86_64 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2aarch64 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2ppc64le | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2s390x | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2x86_64 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfoaarch64 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfoi686 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfoppc64le | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfos390x | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libxml2-debuginfox86_64 | Advisory build | 2.9.7-13.el8_6.1 | RHSA-2022:5317 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2aarch64 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2i686 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2ppc64le | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2s390x | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2src | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2x86_64 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-debuginfoaarch64 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-debuginfoi686 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-debuginfoppc64le | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-debuginfos390x | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-debuginfox86_64 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-debugsourceaarch64 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-debugsourcei686 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-debugsourceppc64le | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-debugsources390x | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-debugsourcex86_64 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-develaarch64 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-develi686 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-develppc64le | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-devels390x | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2-develx86_64 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libxml2aarch64 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libxml2ppc64le | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libxml2s390x | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libxml2x86_64 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libxml2-debuginfoaarch64 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libxml2-debuginfoi686 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libxml2-debuginfoppc64le | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libxml2-debuginfos390x | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libxml2-debuginfox86_64 | Advisory build | 2.9.13-1.el9_0.1 | RHSA-2022:5250 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
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
1- n/a
References
15- http://packetstormsecurity.com/files/167345/libxml2-xmlBufAdd-Heap-Buffer-Overflow.html
- http://packetstormsecurity.com/files/169825/libxml2-xmlParseNameComplex-Integer-Overflow.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/2554a2408e09f13652049e5ffb0d26196b02ebab
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/6c283d83eccd940bcde15634ac8c7f100e3caefd
- https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.9.14
- https://gitlab.gnome.org/GNOME/libxslt/-/tags
- [debian-lts-announce] 20220516 [SECURITY] [DLA 3012-1] libxml2 security update https://lists.debian.org/debian-lts-announce/2022/05/msg00023.html
- FEDORA-2022-9136d646e4 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FZOBT5Y6Y2QLDDX2HZGMV7MJMWGXORKK/
- FEDORA-2022-f624aad735 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P3NVZVWFRBXBI3AKZZWUWY6INQQPQVSF/
- FEDORA-2022-be6d83642a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P5363EDV5VHZ5C77ODA43RYDCPMA7ARM/
- GLSA-202210-03 https://security.gentoo.org/glsa/202210-03
- https://security.netapp.com/advisory/ntap-20220715-0006/
- DSA-5142 https://www.debian.org/security/2022/dsa-5142
- https://www.oracle.com/security-alerts/cpujul2022.html
Provider assertions
3mitre · cna
siemens-SADP · adp
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1b995e654e392ae0fa45575f50c327ca656863411554cf43e7db341ec0be4f44
- Ingested
- 14 Oct 2026, 20:24:42 UTC
- Source record
- Official CVE record