CVE-2025-6170: Libxml2: stack buffer overflow in xmllint interactive shell command handling

Published Jun 16, 2025
·
Updated

A flaw was found in the interactive shell of the xmllint command-line tool, used for parsing XML files. When a user inputs an overly long command, the program does not check the input size properly, which can cause it to crash. This issue might allow attackers to run harmful code in rare configurations without modern protections.

Affected Software

9 affected components
Libxml2 xmllint
redhat JBoss Core Services
redhat OpenShift Container Platform=4.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0
Xmlsoft Libxml2

Event History

Feb 19, 2024
News Published
via The Register·01:29 AM
Mar 11, 2024
News Published
via The Register·04:28 AM
Jun 17, 2024
News Published
via The Register·01:59 AM
Nov 25, 2024
News Published
via The Register·01:30 AM
Feb 17, 2025
News Published
via The Register·02:25 AM
Mar 16, 2025
News Published
via The Register·10:58 PM
Mar 30, 2025
News Published
via The Register·10:45 PM
Jun 16, 2025
Data Sourced
via Red Hat·06:00 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·03:24 PM
Data Sourced
via MITRE·03:24 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
Affected Software
Jun 23, 2025
News Published
via The Register·12:33 AM
Feb 8, 2026
News Published
via The Register·10:25 PM
News Published
via The Register·10:28 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-6170?

CVE-2025-6170 has a high severity rating due to the potential for a crash and exploitation of the xmllint command-line tool.

2

How do I fix CVE-2025-6170?

To fix CVE-2025-6170, update to the latest version of the xmllint tool where this vulnerability has been patched.

3

What impact does CVE-2025-6170 have on my system?

CVE-2025-6170 may allow attackers to execute arbitrary code or cause a denial of service by crashing the xmllint tool.

4

Who is affected by CVE-2025-6170?

CVE-2025-6170 affects any user or application that utilizes the xmllint command-line tool for parsing XML files.

5

Is CVE-2025-6170 a remote vulnerability?

CVE-2025-6170 is not classified as a remote vulnerability since it requires a local command execution to trigger the flaw.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203