CVE-2020-7595
libxml as used in Nokogiri has an infinite loop in a certain end-of-file situation
Also known as GHSA-7553-jr98-vx47
Mitigation
- Upgrade nokogiri to 1.10.8 or later.
Who should check
- Projects that depend on RubyGems package nokogiri (< 1.10.8)
- Anyone running n/a (versions: see the vendor advisory)
- Anyone running Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5
- Anyone running Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5
- Anyone running Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5
Vulnerability facts
- Affected
- nokogiri < 1.10.8
- Fixed in
- 1.10.8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 7.84% chance of exploitation in 30 days (percentile 95, 2026-11-26)
- CWE
- CWE-835
- Modified
Description
xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| RubyGems nokogiri | < 1.10.8 | 1.10.8 | osv |
| n/a | — | — | nvd |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | — | nvd |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | — | nvd |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | — | nvd |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | — | nvd |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-7595. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-7595.md Affected: nokogiri < 1.10.8 Fixed in: 1.10.8 Steps: 1. Search this machine and project for nokogiri (RubyGems), n/a, 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: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/545SPOI3ZPPNPX4TFRIVE4JVRTJRKULL/
- https://usn.ubuntu.com/4274-1/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5R55ZR52RMBX24TQTWHCIWKJVRV6YAWI/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JDPF3AAVKUAKDYFMFKSIQSVVS3EEFPQH/
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00047.html
- https://security.gentoo.org/glsa/202010-04
- https://nvd.nist.gov/vuln/detail/CVE-2020-7595
Patches
Other
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://security.netapp.com/advisory/ntap-20200702-0005/
- https://lists.debian.org/debian-lts-announce/2020/09/msg00009.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-292794.pdf
- https://us-cert.cisa.gov/ics/advisories/icsa-21-103-08
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://cert-portal.siemens.com/productcert/html/ssa-292794.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://github.com/sparklemotion/nokogiri/issues/1992
- https://usn.ubuntu.com/4274-1
- https://security.netapp.com/advisory/ntap-20200702-0005
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JDPF3AAVKUAKDYFMFKSIQSVVS3EEFPQH
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5R55ZR52RMBX24TQTWHCIWKJVRV6YAWI
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/545SPOI3ZPPNPX4TFRIVE4JVRTJRKULL
- https://github.com/sparklemotion/nokogiri
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2020-7595.yml
FAQ
Is CVE-2020-7595 being exploited?
There is no confirmed exploitation: CVE-2020-7595 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 7.84% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-7595?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2020-7595?
nokogiri < 1.10.8.
Is there a fix for CVE-2020-7595?
Yes. Fixed in 1.10.8. Upgrade nokogiri to 1.10.8 or later.
How do I check if I'm affected by CVE-2020-7595?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.