🛡️ CVE-2025-6170 on Debian — libxml2
Description
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.
Distribution advisory
This page covers CVE-2025-6170 as tracked by Debian, for the package libxml2. The fix is available in version 2.12.7+dfsg+really2.9.14-2.1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is high, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability low.
Weakness class
DEBIAN-CVE-2025-6170 is classified as CWE-121: Stack-based Buffer Overflow. An oversized write to a stack buffer overwrites saved state such as return addresses, which can redirect execution.
Affected software
DEBIAN-CVE-2025-6170 is recorded against 1 package.
- libxml2 (fixed in 2.12.7+dfsg+really2.9.14-2.1)
Timeline and source
Published on 16 June 2025 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2025-6170 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libxml2 | — | 2.12.7+dfsg+really2.9.14-2.1 |
References
Similar Threats
- Unknown ALPINE-CVE-2025-49794
- Unknown ALPINE-CVE-2025-49795
- Unknown ALPINE-CVE-2025-49796
- Unknown ALPINE-CVE-2025-6021
- Unknown ALPINE-CVE-2025-32415
Free Vulnerability Check
Is your site affected by DEBIAN-CVE-2025-6170?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against DEBIAN-CVE-2025-6170 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.