Quick answers
- Is CVE-2025-6170 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2025-6170 being exploited in the wild.
- How severe is CVE-2025-6170?
- Low severity, with a CVSS score of 2.5, published 16 June 2025.
- Which products and versions are affected?
- Siemens SINEC OS before V4.0.
- Is there a fix for CVE-2025-6170?
- A patch was published on 2025-07-26: Debian released fixed libxml2 packages Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2025-6170 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2025-6170?
- Check whether you run Siemens SINEC OS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A stack-based buffer overflow (CWE-121) exists in the xmllintShell function within shell.c of libxml2. The vulnerability is caused by a lack of bounds checking in a while loop that copies user-supplied command arguments into a fixed-size 400-byte stack buffer ('arg'). An attacker who can provide input to the interactive shell can trigger an out-of-bounds write by supplying an argument exceeding 400 bytes. While this reliably causes a crash (Denial of Service), arbitrary code execution is only theoretically possible on systems lacking modern exploit mitigations like stack canaries or NX-bits. The attack requires local access and user interaction to input the malicious string into the xmllint shell.
Affected products
- GNOME libxml2 versions before 2.15.2-0.3.hum1 (Red Hat), 2.9.10+dfsg-6.7+deb11u8 (Debian)
- Red Hat Enterprise Linux 6.0, 7.0, 8.0, 9.0, 10.0
- Siemens SINEC OS before V4.0
Timeline
- 2025-06-16: disclosed: Initial report and CVE assignment
- 2025-07-26: patched: Debian released fixed libxml2 packages
- 2026-04-10: patched: Red Hat released security advisory RHSA-2026:7519
- 2026-06-02: advisory: Siemens published advisory SSA-253495
References
- https://access.redhat.com/errata/RHSA-2026:7519
- https://access.redhat.com/security/cve/CVE-2025-6170
- https://bugzilla.redhat.com/show_bug.cgi?id=2372952
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/941
- https://lists.debian.org/debian-lts-announce/2025/07/msg00014.html
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html