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

Published · last modified .

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.

EPSS exploit prediction

EPSS 0.003, 27.5th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 4 other repositories (8-cm/kube-dump, Lekssays/Lekssays, meyayl/docker-languagetool, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References