Buffer overflow in Xmlsoft Libxml2

CVE-2025-6170

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.

Vulnerability class: Buffer Overflow

EPSS: 0.002 (11.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 2.5 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-6170?
CVE-2025-6170 is a low-severity vulnerability in Xmlsoft Libxml2, classified under Stack-based Buffer Overflow. CVSS score: 2.5/10. Published 2025-06-16.
How severe is CVE-2025-6170?
Low severity. CVSS v3 base score is 2.5 out of 10.
Is CVE-2025-6170 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.