Description
An issue was discovered in libxml2 before 2.10.4. When hashing empty dict strings in a crafted XML document, xmlDictComputeFastKey in dict.c can produce non-deterministic values, leading to various logic and memory errors, such as a double free. This behavior occurs because there is an attempt to use the first byte of an empty string, and any value is possible (not solely the '\0' value).
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 |
References
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/510Issue Tracking, Vendor Advisory
- https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.4Release Notes
- https://lists.debian.org/debian-lts-announce/2023/04/msg00031.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230601-0006/
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/510Issue Tracking, Vendor Advisory
- https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.4Release Notes
- https://lists.debian.org/debian-lts-announce/2023/04/msg00031.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230601-0006/
- 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
Timeline
- Published
- Apr 24, 2023
- Last modified
- Oct 14, 2026
- NVD status
- Modified