CVE-2025-6170

Libxml2: stack buffer overflow in xmllint interactive shell command handling

LOW 2.5

At a glance

Source
NVD
EPSS
EPSS 0.32 % · percentile 25 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-121 — Stack-based Buffer Overflow

References

Scores

VersionScoreVectorScored by
CVSS 3.1LOW 2.5CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:Lredhat
CVSS 3.1LOW 2.5CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:LNVD · secalert@redhat.com (Secondary)
CVSS 3.1LOW 2.5CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:LNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
libxml2affected 0 < 2.14.5
Red Hat · Red Hat Enterprise Linux 10unaffected 0:2.12.5-10.el10_2.2 < *
Red Hat · Red Hat Enterprise Linux 10.0 Extended Update Supportunaffected 0:2.12.5-9.el10_0.2 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:2.9.7-21.el8_10.6 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:2.9.7-21.el8_10.6 < *
Red Hat · Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunaffected 0:2.9.7-13.el8_6.15 < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onunaffected 0:2.9.7-13.el8_6.15 < *
Red Hat · Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceunaffected 0:2.9.7-16.el8_8.15 < *
Red Hat · Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsunaffected 0:2.9.7-16.el8_8.15 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:2.9.13-14.el9_8.2 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:2.9.13-14.el9_8.2 < *
Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunaffected 0:2.9.13-3.el9_2.12 < *
Red Hat · Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsunaffected 0:2.9.13-13.el9_4.2 < *
Red Hat · Red Hat Enterprise Linux 9.6 Extended Update Supportunaffected 0:2.9.13-12.el9_6.3 < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.17unaffected 1791371080 < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.17unaffected 1791371069 < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.17unaffected 1791788287 < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.17unaffected 1791378395 < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.17unaffected 1791970484 < *
Red Hat · Cert Manager support for Red Hat OpenShift release 1.18unaffected 1791459707 < *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD