Skip to content
Fencer Intel
high 7.5

CVE-2020-7595 json

libxml as used in Nokogiri has an infinite loop in a certain end-of-file situation

published 6y ago modified 26d ago also EUVD-2020-0292 , GHSA-7553-jr98-vx47 , JLSEC-2025-68

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
7.8%
EPSS 7.8% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

Summary

xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation.

Patch / fix

  • rubygems nokogiri 1.10.8
  • julia XML2_jll 2.9.12+0
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • libxml2 Debian 14, Debian 13, Debian 12 2.9.10+dfsg-2.1

debian advisories DEBIAN-CVE-2020-7595

  • libxml2 Ubuntu 16.04 LTS 2.9.3+dfsg1-1ubuntu0.7
  • libxml2 Ubuntu 18.04 LTS 2.9.4+dfsg1-6.1ubuntu1.3
  • libxml2 Ubuntu Pro 14.04 LTS 2.9.1+dfsg1-3ubuntu4.13+esm1

ubuntu advisories UBUNTU-CVE-2020-7595

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libxml2 RHEL 7 2.9.1-6.el7.5
  • libxml2-python RHEL 7 2.9.1-6.el7.5
  • libxml2 RHEL 8 2.9.7-8.el8
  • python3-libxml2 RHEL 8 2.9.7-8.el8
  • jbcs-httpd24-curl jboss core services 1 7.64.1-36.jbcs.el6
  • jbcs-httpd24-curl jboss core services 1 7.64.1-36.jbcs.el7
  • jbcs-httpd24-httpd jboss core services 1 2.4.37-57.jbcs.el6
  • jbcs-httpd24-httpd jboss core services 1 2.4.37-57.jbcs.el7

red hat advisories RHSA-2020:3996RHSA-2020:4479RHSA-2020:2644

  • libxml2 SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 2.7.6-0.77.36.1
  • libxml2-python SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 2.7.6-0.77.36.1
  • libxml2 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 2.9.4-46.34.1
  • python-libxml2 SLES for SAP 12 SP5, SLES 12 SP5 2.9.4-46.34.1
  • libxml2 SLE Module for Basesystem 15 SP1 2.9.7-3.19.8
  • python-libxml2-python SLE Module for Python 2 15 SP1, SLE Module for Basesystem 15 SP1 2.9.7-3.19.10
  • mariadb OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 10.2.31-4.17.3
  • ardana-mq OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1581024906.fbf0be3-3.16.3

suse advisories SUSE-SU-2021:14729-1SUSE-SU-2020:2609-1SUSE-SU-2020:1299-1SUSE-SU-2020:0640-1

  • rubygem-nokogiri openSUSE Tumbleweed 1.18.9-1.4
  • rubygem-nokogiri openSUSE Tumbleweed 1.18.2-1.1
  • rubygem-nokogiri openSUSE Tumbleweed 1.15.5-1.5
  • libxml2 openSUSE Tumbleweed 2.9.12-1.2
  • rubygem-nokogiri openSUSE Tumbleweed 1.13.3-1.1
  • ruby3.2-rubygem-nokogiri openSUSE Tumbleweed 1.13.9-1.7
  • libxml2 openSUSE Leap 15.1 2.9.7-lp151.5.9.1
  • python-libxml2-python openSUSE Leap 15.1 2.9.7-lp151.5.9.1

opensuse advisories openSUSE-SU-2026:10356-1openSUSE-SU-2025:14697-1openSUSE-SU-2024:14174-1openSUSE-SU-2024:11016-1openSUSE-SU-2024:11912-1openSUSE-SU-2024:13165-1

  • libxml2 Alpine 3.11 2.9.8-r2
  • libxml2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 2.9.8-r3

alpine advisories ALPINE-CVE-2020-7595

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libxml2 Arch Linux 2.9.10-6

arch linux advisories AVG-1263

Is CVE-2020-7595 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-7595 updated cvss 7.5

libxml2: infinite loop in xmlStringLenDecodeEntities in some end-of-file situations

  • Red Hat Enterprise Linux 5 libxml2 Red Hat Enterprise Linux 6 libxml2, libxml2-python
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Do 1 openshiftdo/odo-init-image-rhel7 1.1.3-2
    fixed: vendor fix RHSA-2021:0949
  • Red Hat Enterprise Linux AppStream (v. 8) libxml2-devel 2.9.7-8.el8, libxml2-debuginfo 2.9.7-8.el8, libxml2-debugsource 2.9.7-8.el8, python3-libxml2-debuginfo 2.9.7-8.el8 Red Hat Enterprise Linux BaseOS (v. 8) libxml2 2.9.7-8.el8, python3-libxml2 2.9.7-8.el8
    fixed: vendor fix RHSA-2020:4479
  • Red Hat Enterprise Linux Client (v. 7) libxml2 2.9.1-6.el7.5, libxml2-python 2.9.1-6.el7.5 Red Hat Enterprise Linux Client Optional (v. 7) libxml2-devel 2.9.1-6.el7.5, libxml2-static 2.9.1-6.el7.5, libxml2-debuginfo 2.9.1-6.el7.5 Red Hat Enterprise Linux ComputeNode (v. 7) libxml2 2.9.1-6.el7.5, libxml2-python 2.9.1-6.el7.5 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libxml2-devel 2.9.1-6.el7.5, libxml2-static 2.9.1-6.el7.5, libxml2-debuginfo 2.9.1-6.el7.5 Red Hat Enterprise Linux Server (v. 7) libxml2 2.9.1-6.el7.5, libxml2-python 2.9.1-6.el7.5 Red Hat Enterprise Linux Server Optional (v. 7) libxml2-static 2.9.1-6.el7.5, libxml2-debuginfo 2.9.1-6.el7.5
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 7) libxml2 2.9.1-6.el7.5, libxml2-python 2.9.1-6.el7.5 Red Hat Enterprise Linux Workstation Optional (v. 7) libxml2-static 2.9.1-6.el7.5, libxml2-debuginfo 2.9.1-6.el7.5
    fixed: vendor fix RHSA-2020:3996
  • Red Hat JBoss Core Services
    fixed: vendor fix RHSA-2020:2646
  • Red Hat JBoss Core Services on RHEL 6 Server jbcs-httpd24-curl 7.64.1-36.jbcs.el6, jbcs-httpd24-httpd 2.4.37-57.jbcs.el6, jbcs-httpd24-mod_md 2.0.8-24.jbcs.el6, jbcs-httpd24-libcurl 7.64.1-36.jbcs.el6, jbcs-httpd24-mod_ssl 2.4.37-57.jbcs.el6, jbcs-httpd24-nghttp2 1.39.2-25.jbcs.el6, +12 more Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-curl 7.64.1-36.jbcs.el7, jbcs-httpd24-httpd 2.4.37-57.jbcs.el7, jbcs-httpd24-mod_md 2.0.8-24.jbcs.el7, jbcs-httpd24-libcurl 7.64.1-36.jbcs.el7, jbcs-httpd24-mod_ssl 2.4.37-57.jbcs.el7, jbcs-httpd24-nghttp2 1.39.2-25.jbcs.el7, +13 more
    fixed: vendor fix RHSA-2020:2644

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-348-10 updated cvss 7.5

Siemens SIMATIC S7-1500

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5
    affected: fixed in V3.1.5, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-21-103-08 updated cvss 7.5

Siemens SINEMA Remote Connect Server

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
11mo ago

Exploit prediction

7.84% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
rubygems nokogiri
<1.10.8
1.10.8
julia XML2_jll
>=2.9.10+0, <2.9.12+0
2.9.12+0

Affected products

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-835 Loop with Unreachable Exit Condition

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.