Skip to content
Noroxi
NVD / CVE Program· CNA redhat

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

Noroxi assessment

Priority: Monitor (action score 10/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.32% (FIRST EPSS).
  • Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. Special conditions such as timing or configuration are required.
  • Fixed version: gitlab.gnome.org/GNOME/libxml2/ libxml2 2.14.5.

Low priority for now. Upgrade to gitlab.gnome.org/GNOME/libxml2/ libxml2 2.14.5 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

LowCVSS 2.5 · v3.1—No exploit Fix available
Published
Jun 16, 2025
Updated
Nov 6, 2026
EPSS
0.3% · 25th percentile

Report tools

JSON

Action score

10

Monitor

Low priority for now.

CVSS
10 / 40 · 2.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
2.5
CNA · redhat
2.5
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2025-6170

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
redhatjboss core services
redhatopenshift container platform
redhatenterprise linux
xmlsoftlibxml2

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • redhat enterprise linux10.0
  • redhat enterprise linux6.0
  • redhat enterprise linux7.0
  • redhat enterprise linux8.0
  • redhat enterprise linux9.0
  • redhat jboss core servicesall versions
  • redhat openshift container platform4.0
  • xmlsoft libxml2all versions

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • gitlab.gnome.org/GNOME/libxml2/ libxml2

    • before 2.14.5affected · semver
  • Red Hat Cert Manager support for Red Hat OpenShift release 1.17

    • 1791371080 and laternot affected · rpm
    • 1791371069 and laternot affected · rpm
    • 1791788287 and laternot affected · rpm
    • 1791378395 and laternot affected · rpm
    • 1791970484 and laternot affected · rpm
  • Red Hat Cert Manager support for Red Hat OpenShift release 1.18

    • 1791459707 and laternot affected · rpm
    • 1791459711 and laternot affected · rpm
    • 1791459759 and laternot affected · rpm
    • 1789029076 and laternot affected · rpm
    • 1791966259 and laternot affected · rpm
  • Red Hat Cert Manager support for Red Hat OpenShift release 1.20

    • 1790223279 and laternot affected · rpm
    • 1790223719 and laternot affected · rpm
    • 1790272426 and laternot affected · rpm
    • 1790589998 and laternot affected · rpm
    • 1790589912 and laternot affected · rpm
    • 1790589914 and laternot affected · rpm
    • 1790589855 and laternot affected · rpm
    • 1790598593 and laternot affected · rpm
  • Red Hat Red Hat AI Inference Server 3.2

    • 1790621714 and laternot affected · rpm
    • 1790621718 and laternot affected · rpm
    • 1790621713 and laternot affected · rpm
  • Red Hat Red Hat AI Inference Server 3.5

    • 1791425869 and laternot affected · rpm
    • 1791427182 and laternot affected · rpm
    • 1791803821 and laternot affected · rpm
    • 1791473631 and laternot affected · rpm
    • 1791818357 and laternot affected · rpm
    • 1791473614 and laternot affected · rpm
  • Red Hat Red Hat Discovery 2

    • 1784821670 and laternot affected · rpm
    • 1784821750 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 10

    • 0:2.12.5-10.el10_2.2 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support

    • 0:2.12.5-9.el10_0.2 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 6

    • all versionsunknown
  • Red Hat Red Hat Enterprise Linux 7

    • all versionsunknown
  • Red Hat Red Hat Enterprise Linux 8

    • 0:2.9.7-21.el8_10.6 and laternot affected · rpm
    • 0:2.9.7-21.el8_10.6 and laternot affected · rpm

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:10libxml2before 2.12.5-10.el10_2.22.12.5-10.el10_2.2
AlmaLinux:10libxml2-develbefore 2.12.5-10.el10_2.22.12.5-10.el10_2.2
AlmaLinux:10libxml2-staticbefore 2.12.5-10.el10_2.22.12.5-10.el10_2.2
AlmaLinux:10python3-libxml2before 2.12.5-10.el10_2.22.12.5-10.el10_2.2
AlmaLinux:8libxml2before 2.9.7-21.el8_10.62.9.7-21.el8_10.6
AlmaLinux:8libxml2-develbefore 2.9.7-21.el8_10.62.9.7-21.el8_10.6
AlmaLinux:8python3-libxml2before 2.9.7-21.el8_10.62.9.7-21.el8_10.6
AlmaLinux:9libxml2before 2.9.13-14.el9_8.22.9.13-14.el9_8.2
AlmaLinux:9libxml2-develbefore 2.9.13-14.el9_8.22.9.13-14.el9_8.2
AlmaLinux:9python3-libxml2before 2.9.13-14.el9_8.22.9.13-14.el9_8.2
Alpine:v3.21libxml2before 2.13.9-r02.13.9-r0
Debian:11libxml2before 2.9.10+dfsg-6.7+deb11u82.9.10+dfsg-6.7+deb11u8
Debian:12libxml2before 2.9.14+dfsg-1.3~deb12u32.9.14+dfsg-1.3~deb12u3
Debian:13libxml2before 2.12.7+dfsg+really2.9.14-2.12.12.7+dfsg+really2.9.14-2.1
openSUSE:Leap 15.6libxml2before 2.10.3-150500.5.29.12.10.3-150500.5.29.1
openSUSE:Leap 15.6libxml2-pythonbefore 2.10.3-150500.5.29.12.10.3-150500.5.29.1
openSUSE:Leap 15.6python-libxml2-pythonbefore 2.9.7-150000.3.82.12.9.7-150000.3.82.1
openSUSE:Tumbleweedlibxml2before 2.13.8-2.12.13.8-2.1
Red Hat:enterprise_linux_eus:10.0libxml2before 0:2.12.5-9.el10_0.20:2.12.5-9.el10_0.2
Red Hat:enterprise_linux_eus:10.0libxml2-debuginfobefore 0:2.12.5-9.el10_0.20:2.12.5-9.el10_0.2
Red Hat:enterprise_linux_eus:10.0libxml2-debugsourcebefore 0:2.12.5-9.el10_0.20:2.12.5-9.el10_0.2
Red Hat:enterprise_linux_eus:10.0libxml2-develbefore 0:2.12.5-9.el10_0.20:2.12.5-9.el10_0.2
Red Hat:enterprise_linux_eus:10.0libxml2-staticbefore 0:2.12.5-9.el10_0.20:2.12.5-9.el10_0.2
Red Hat:enterprise_linux_eus:10.0python3-libxml2before 0:2.12.5-9.el10_0.20:2.12.5-9.el10_0.2

+70

Other highest-scoring records for the same primary product.

  • CVE-2016-9598libxml2, as used in Red Hat JBoss Core Services, allows context-dependent attackers to cause a denial of service (out-of-bounds read and app
    26Monitor
  • CVE-2016-9596libxml2, as used in Red Hat JBoss Core Services and when in recovery mode, allows context-dependent attackers to cause a denial of service (
    26Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
gitlab.gnome.org/GNOME/libxml2/ libxml22.14.5Vendor (CNA)
almalinux:libxml22.9.7-21.el8_10.6 · AlmaLinux:8Package registry (OSV)
almalinux:libxml2-devel2.9.7-21.el8_10.6 · AlmaLinux:8Package registry (OSV)
almalinux:libxml2-static2.12.5-10.el10_2.2 · AlmaLinux:10Package registry (OSV)
almalinux:python3-libxml22.9.7-21.el8_10.6 · AlmaLinux:8Package registry (OSV)
alpine:libxml22.13.9-r0 · Alpine:v3.21Package registry (OSV)
debian:libxml22.9.14+dfsg-1.3~deb12u3 · Debian:12Package registry (OSV)
opensuse:libxml22.10.3-150500.5.29.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:libxml2-python2.10.3-150500.5.29.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:python-libxml2-python2.9.7-150000.3.82.1 · openSUSE:Leap 15.6Package registry (OSV)
red hat:libxml20:2.9.7-21.el8_10.6 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:libxml2-160:2.15.2-0.3.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:libxml2-debuginfo0:2.9.7-21.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:libxml2-debugsource0:2.9.7-21.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:libxml2-devel0:2.9.7-21.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:libxml2-static0:2.12.5-10.el10_2.2 · Red Hat:enterprise_linux:10.2Package registry (OSV)
red hat:python3-libxml20:2.9.7-21.el8_10.6 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:python3-libxml2-debuginfo0:2.9.7-21.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
rocky linux:libxml20:2.9.7-21.el8_10.6 · Rocky Linux:8Package registry (OSV)
suse:libxml22.12.10-150700.4.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7Package registry (OSV)
suse:libxml22.9.7-150000.3.82.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPackage registry (OSV)
suse:libxml2-python2.10.3-150500.5.29.1 · SUSE:Linux Enterprise Micro 5.5Package registry (OSV)
suse:libxml2-python2.12.10-150700.4.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7Package registry (OSV)
suse:python-libxml22.9.4-46.87.1 · SUSE:Linux Enterprise Server 12 SP5-LTSSPackage registry (OSV)
suse:python-libxml2-python2.9.7-150000.3.82.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
none
Integrity
none
Availability
low · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
Low

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓
  2. SSVC exploitation— → none

For records you follow, these changes also arrive as notifications. →

References

All records