CVE-2020-7595 json
libxml as used in Nokogiri has an infinite loop in a certain end-of-file situation
published 2020-01-21 6 y ago modified 2026-10-14 25 d 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
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-pythonaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Do 1 openshiftdo/odo-init-image-rhel7 1.1.3-2fixed: 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.el8fixed: 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.5fixed: vendor fix RHSA-2020:3996
+2 more productsfewer
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 -
Red Hat JBoss Core Servicesfixed: 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 morefixed: 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.5affected: 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
-
Siemens SINEMA Remote Connect Server <V3.0affected: fixed in V3.0 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 SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 11 mo ago
Exploit prediction
7.84% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
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
-
gitlab.gnome.org
/GNOME/libxml2/commit/0e1a49c89076
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuoct2021.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/545SPOI3ZPPNPX4TFRIVE4JVRTJRKULL/
vendor-advisory, web
-
usn.ubuntu.com
/4274-1/
vendor-advisory, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/5R55ZR52RMBX24TQTWHCIWKJVRV6YAWI/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/JDPF3AAVKUAKDYFMFKSIQSVVS3EEFPQH/
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2020-05/msg00047.html
vendor-advisory, web, broken-link
-
security.gentoo.org
/glsa/202010-04
vendor-advisory, web, third-party-advisory
-
oracle.com
/security-alerts/cpujul2020.html
web, third-party-advisory
-
security.netapp.com
/advisory/ntap-20200702-0005/
third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2020/09/msg00009.html
mailing-list, web, third-party-advisory
-
cert-portal.siemens.com
/productcert/pdf/ssa-292794.pdf
web, third-party-advisory
-
us-cert.cisa.gov
/ics/advisories/icsa-21-103-08
web, third-party-advisory, us-government-resource
-
oracle.com
/security-alerts/cpujul2022.html
web
- cert-portal.siemens.com /productcert/html/ssa-292794.html
- cert-portal.siemens.com /productcert/html/ssa-398330.html
-
nvd.nist.gov
/vuln/detail/CVE-2020-7595
advisory
-
github.com
/sparklemotion/nokogiri/issues/1992
web
-
usn.ubuntu.com
/4274-1
web
-
security.netapp.com
/advisory/ntap-20200702-0005
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/JDPF3AAVKUAKDYFMFKSIQSVVS3EEFPQH
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/5R55ZR52RMBX24TQTWHCIWKJVRV6YAWI
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/545SPOI3ZPPNPX4TFRIVE4JVRTJRKULL
web
-
github.com
/sparklemotion/nokogiri
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2020-7595.yml
web
Sources
- CVE List CVE-2020-7595
- GitHub Advisory GHSA-7553-jr98-vx47
- NVD CVE-2020-7595
- OSV JLSEC-2025-68
Fencer Vulns 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.