{"id":"CVE-2025-6170","summary":"Libxml2: stack buffer overflow in xmllint interactive shell command handling","details":"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.","modified":"2026-11-12T05:00:27.555697875Z","published":"2025-06-16T15:24:05.410Z","related":["ALSA-2026:36734","ALSA-2026:39304","ALSA-2026:39317","SUSE-SU-2025:02260-1","SUSE-SU-2025:02275-1","SUSE-SU-2025:02294-1","SUSE-SU-2025:02314-1","SUSE-SU-2025:02355-1","SUSE-SU-2025:20564-1","SUSE-SU-2025:20607-1","openSUSE-SU-2025:15321-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"InverseAffectedRanges","range":[{"fixed":"0:2.12.5-10.el10_2.2"},{"fixed":"0:2.12.5-9.el10_0.2"},{"fixed":"0:2.9.7-21.el8_10.6"},{"fixed":"0:2.9.7-21.el8_10.6"},{"fixed":"0:2.9.7-9.el8_4.20"},{"fixed":"0:2.9.7-9.el8_4.20"},{"fixed":"0:2.9.7-13.el8_6.15"},{"fixed":"0:2.9.7-13.el8_6.15"},{"fixed":"0:2.9.7-16.el8_8.15"},{"fixed":"0:2.9.7-16.el8_8.15"},{"fixed":"0:2.9.13-14.el9_8.2"},{"fixed":"0:2.9.13-14.el9_8.2"},{"fixed":"0:2.9.13-3.el9_2.12"},{"fixed":"0:2.9.13-13.el9_4.2"},{"fixed":"0:2.9.13-12.el9_6.3"},{"fixed":"1791371080"},{"fixed":"1791371069"},{"fixed":"1791788287"},{"fixed":"1791378395"},{"fixed":"1791970484"},{"fixed":"1791459707"},{"fixed":"1791459711"},{"fixed":"1791459759"},{"fixed":"1789029076"},{"fixed":"1791966259"},{"fixed":"1790223279"},{"fixed":"1790223719"},{"fixed":"1790272426"},{"fixed":"1790589998"},{"fixed":"1790589912"},{"fixed":"1790589914"},{"fixed":"1790589855"},{"fixed":"1790598593"},{"fixed":"1790621714"},{"fixed":"1790621718"},{"fixed":"1790621713"},{"fixed":"1791425869"},{"fixed":"1791427182"},{"fixed":"1791803821"},{"fixed":"1791473631"},{"fixed":"1791818357"},{"fixed":"1791473614"},{"fixed":"1784821670"},{"fixed":"1784821750"},{"fixed":"1793206758"},{"fixed":"1793194817"},{"fixed":"1793194815"},{"fixed":"1793194834"},{"fixed":"1793135861"},{"fixed":"1793194815"},{"fixed":"1793135863"},{"fixed":"2.15.2-0.3.hum1"},{"fixed":"1786433656"},{"fixed":"1790276886"},{"fixed":"1790276884"},{"fixed":"1790277045"},{"fixed":"1790276889"},{"fixed":"1790276974"},{"fixed":"1790703497"},{"fixed":"1790703506"},{"fixed":"1790703590"},{"fixed":"1790703568"},{"fixed":"1790703586"},{"fixed":"1790703494"},{"fixed":"1790703615"},{"fixed":"1790703516"},{"fixed":"1790703524"},{"fixed":"1790703601"},{"fixed":"1790703516"},{"fixed":"1790703608"},{"fixed":"1790703579"},{"fixed":"1790703516"},{"fixed":"1791231820"},{"fixed":"1791232257"},{"fixed":"1790703542"},{"fixed":"1790703539"},{"fixed":"1790703553"},{"fixed":"1790703631"},{"fixed":"1790703597"},{"fixed":"1790703641"},{"fixed":"1790703630"},{"fixed":"1790703541"},{"fixed":"1790703545"},{"fixed":"1790703552"},{"fixed":"1790703656"},{"fixed":"1790703557"},{"fixed":"1790703707"},{"fixed":"1790703645"},{"fixed":"1790703554"},{"fixed":"1790703554"},{"fixed":"1790703630"},{"fixed":"1790703706"},{"fixed":"1784794818"},{"fixed":"1784794778"},{"fixed":"1784795112"},{"fixed":"1784794289"},{"fixed":"1784795076"},{"fixed":"1787241211"},{"fixed":"1787135742"},{"fixed":"1787241260"}]}]},{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"fixed":"2.14.5"}]}]}],"cna_assigner":"redhat","cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6170.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://access.redhat.com/jbossnetwork/restricted/listSoftware.html"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00014.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36734"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:39304"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:39317"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:44481"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:46836"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:53371"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:58981"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:70596"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:70639"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72394"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72395"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72399"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72470"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72475"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72476"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72502"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:73859"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:73909"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:73929"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:73930"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:73959"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:73960"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:73961"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:73962"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74359"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74360"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74361"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74362"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74363"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74364"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74365"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74450"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74458"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74459"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74460"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74461"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74462"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74463"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74674"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74677"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74678"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74679"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74681"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74683"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74685"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74687"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74688"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74771"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:7519"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:75652"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:75654"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:75655"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:75657"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:75658"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:75659"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:75660"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:76042"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:79118"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:79119"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:79120"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:79121"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:80756"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:81127"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82059"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82061"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82066"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82304"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82322"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82336"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82347"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82354"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82368"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82371"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82372"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82415"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82857"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82888"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:92449"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:92452"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:93473"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-6170"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6170.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6170"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2372952"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/libxml2/-/issues/941"},{"type":"PACKAGE","url":"https://gitlab.gnome.org/GNOME/libxml2/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gnome/libxml2","events":[{"introduced":"2189b59b1005976970ebadb65edbb289f9e091ff"},{"last_affected":"2189b59b1005976970ebadb65edbb289f9e091ff"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*","range":[{"introduced":"6.0"},{"last_affected":"6.0"}],"source":"CPE_STRING"}]}}],"versions":["6.0","LIBXML2_6_0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-6170.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"}]}