cve.bz

CVE-2020-13935 Infinite Loop

7.5 highEPSS 87%Fix available

High (7.5). EPSS 87% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 10.0.0-M7, 7.0.105, 8.5.57.

On this page
The payload length in a WebSocket frame was not correctly validated in Apache Tomcat 10.0.0-M1 to 10.0.0-M6, 9.0.0.M1 to 9.0.36, 8.5.0 to 8.5.56 and 7.0.27 to 7.0.104. Invalid payload lengths could trigger an infinite loop. Multiple requests with invalid payload lengths could lead to a denial of service.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
87% (unchanged from 87% a week ago; 87% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-13935 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-13935?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-13935?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-13935 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2020-13935

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2020-13935](https://cve.bz/cve/badge/CVE-2020-13935.svg)](https://cve.bz/cve/CVE-2020-13935)

HTML:

<a href="https://cve.bz/cve/CVE-2020-13935"><img src="https://cve.bz/cve/badge/CVE-2020-13935.svg" alt="CVE-2020-13935"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:tomcatfrom 7.0.27 through 7.0.104
apache:tomcatfrom 8.5.0 through 8.5.56
apache:tomcatfrom 9.0.1 through 9.0.36
apache:tomcat9.0.0:milestone1
apache:tomcat9.0.0:milestone10
apache:tomcat9.0.0:milestone11
apache:tomcat9.0.0:milestone12
apache:tomcat9.0.0:milestone13
apache:tomcat9.0.0:milestone14
apache:tomcat9.0.0:milestone15
apache:tomcat9.0.0:milestone16
apache:tomcat9.0.0:milestone17
apache:tomcat9.0.0:milestone18
apache:tomcat9.0.0:milestone19
apache:tomcat9.0.0:milestone2
apache:tomcat9.0.0:milestone20
apache:tomcat9.0.0:milestone21
apache:tomcat9.0.0:milestone22
apache:tomcat9.0.0:milestone23
apache:tomcat9.0.0:milestone24
apache:tomcat9.0.0:milestone25
apache:tomcat9.0.0:milestone26
apache:tomcat9.0.0:milestone27
apache:tomcat9.0.0:milestone3
apache:tomcat9.0.0:milestone4
apache:tomcat9.0.0:milestone5
apache:tomcat9.0.0:milestone6
apache:tomcat9.0.0:milestone7
apache:tomcat9.0.0:milestone8
apache:tomcat9.0.0:milestone9
apache:tomcat10.0.0:milestone1
apache:tomcat10.0.0:milestone2
apache:tomcat10.0.0:milestone3
apache:tomcat10.0.0:milestone4
apache:tomcat10.0.0:milestone5
apache:tomcat10.0.0:milestone6
debian:debian_linux9.0
debian:debian_linux10.0
netapp:oncommand_system_managerfrom 3.0.0 through 3.1.3
opensuse:leap15.1
opensuse:leap15.2
canonical:ubuntu_linux16.04
canonical:ubuntu_linux20.04
mcafee:epolicy_orchestrator5.9.0
mcafee:epolicy_orchestrator5.9.1
mcafee:epolicy_orchestrator5.10.0
mcafee:epolicy_orchestrator5.10.0:update_1
mcafee:epolicy_orchestrator5.10.0:update_2
mcafee:epolicy_orchestrator5.10.0:update_3
mcafee:epolicy_orchestrator5.10.0:update_4
mcafee:epolicy_orchestrator5.10.0:update_5
mcafee:epolicy_orchestrator5.10.0:update_6
mcafee:epolicy_orchestrator5.10.0:update_7
mcafee:epolicy_orchestrator5.10.0:update_8
oracle:agile_engineering_data_management6.2.1.0
oracle:agile_product_lifecycle_management9.3.3
oracle:agile_product_lifecycle_management9.3.5
oracle:agile_product_lifecycle_management9.3.6
oracle:blockchain_platformbefore 21.1.2
oracle:commerce_guided_search11.3.2
oracle:communications_cloud_native_core_policy1.14.0
oracle:communications_instant_messaging_server10.0.1.5.0
oracle:fmw_platform12.2.1.3.0
oracle:fmw_platform12.2.1.4.0
oracle:instantis_enterprisetrack17.1
oracle:instantis_enterprisetrack17.2
oracle:instantis_enterprisetrack17.3
oracle:managed_file_transfer12.2.1.3.0
oracle:managed_file_transfer12.2.1.4.0
oracle:mysql_enterprise_monitorthrough 8.0.21
oracle:siebel_ui_frameworkthrough 20.12
oracle:workload_manager12.2.0.1
oracle:workload_manager18c
oracle:workload_manager19c

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m7jv-hq7h-mq7cMavenorg.apache.tomcat:tomcat>=10.0.0-M1 <10.0.0-M710.0.0-M7
GHSA-m7jv-hq7h-mq7cMavenorg.apache.tomcat:tomcat>=9.0.0.M1 <9.0.379.0.37
GHSA-m7jv-hq7h-mq7cMavenorg.apache.tomcat:tomcat>=8.5.0 <8.5.578.5.57
GHSA-m7jv-hq7h-mq7cMavenorg.apache.tomcat:tomcat>=7.0.27 <7.0.1057.0.105
GHSA-m7jv-hq7h-mq7cMavenorg.apache.tomcat.embed:tomcat-embed-websocket>=7.0.27 <7.0.1057.0.105
GHSA-m7jv-hq7h-mq7cMavenorg.apache.tomcat.embed:tomcat-embed-websocket>=8.5.0 <8.5.578.5.57
GHSA-m7jv-hq7h-mq7cMavenorg.apache.tomcat.embed:tomcat-embed-websocket>=9.0.0.M1 <9.0.379.0.37
GHSA-m7jv-hq7h-mq7cMavenorg.apache.tomcat.embed:tomcat-embed-websocket>=10.0.0-M1 <10.0.0-M710.0.0-M7
GHSA-m7jv-hq7h-mq7cMavenorg.apache.tomcat:tomcat-websocket>=10.0.0-M1 <10.0.0-M710.0.0-M7
GHSA-m7jv-hq7h-mq7cMavenorg.apache.tomcat:tomcat-websocket>=9.0.0.M1 <9.0.379.0.37
GHSA-m7jv-hq7h-mq7cMavenorg.apache.tomcat:tomcat-websocket>=8.5.0 <8.5.578.5.57
GHSA-m7jv-hq7h-mq7cMavenorg.apache.tomcat:tomcat-websocket>=7.0.27 <7.0.1057.0.105

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9tomcat88.5.54-0+deb9u3DLA-2286-1
Debian10tomcat99.0.31-1~deb10u2DSA-4727-1
Debian12, 13, 14tomcat99.0.37-1DEBIAN-CVE-2020-13935
Ubuntu16.04:LTStomcat88.0.32-1ubuntu1.13UBUNTU-CVE-2020-13935 USN-4448-1
Ubuntu20.04:LTStomcat99.0.31-1ubuntu0.1UBUNTU-CVE-2020-13935 USN-4596-1
UbuntuPro:14.04:LTS, Pro:16.04:LTStomcat7no fix listedUBUNTU-CVE-2020-13935
UbuntuPro:18.04:LTStomcat8, tomcat9no fix listedUBUNTU-CVE-2020-13935
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moretomcat, tomcat-lib, tomcat-jsvc and 7 more0:7.0.76-15.el7RHSA-2020:4004
Red Hatjboss_enterprise_application_platform:6::el5jbossweb0:7.5.31-2.Final_redhat_2.1.ep6.el5RHSA-2020:3383
Red Hatjboss_enterprise_application_platform:6::el6jboss-as-ee, jboss-as-cli, jboss-as-cmp and 59 more0:7.5.24-2.Final_redhat_00001.1.ep6.el6RHSA-2022:5459
Red Hatjboss_enterprise_application_platform:6::el6jbossas-javadocs0:7.5.24-1.Final_redhat_00001.1.ep6.el6RHSA-2022:5459
Red Hatjboss_enterprise_application_platform:6::el6jbossts1:4.17.45-2.Final_redhat_2.1.ep6.el6RHSA-2022:5459
Red Hatjboss_enterprise_application_platform:6::el6jbossweb0:7.5.31-2.Final_redhat_2.1.ep6.el6RHSA-2020:3383
Red Hatjboss_enterprise_application_platform:6::el6jbossweb0:7.5.32-2.Final_redhat_1.2.ep6.el6RHSA-2022:5459
Red Hatjboss_enterprise_application_platform:6::el7jboss-as-ee, jboss-as-cli, jboss-as-cmp and 59 more0:7.5.24-2.Final_redhat_00001.1.ep6.el7RHSA-2022:5460
Red Hatjboss_enterprise_application_platform:6::el7jbossas-javadocs0:7.5.24-1.Final_redhat_00001.1.ep6.el7RHSA-2022:5460
Red Hatjboss_enterprise_application_platform:6::el7jbossts1:4.17.45-2.Final_redhat_2.1.ep6.el7RHSA-2022:5460
Red Hatjboss_enterprise_application_platform:6::el7jbossweb0:7.5.31-2.Final_redhat_2.1.ep6.el7RHSA-2020:3383
Red Hatjboss_enterprise_application_platform:6::el7jbossweb0:7.5.32-2.Final_redhat_1.2.ep6.el7RHSA-2022:5460
7 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 8 moretomcat8.0.53-29.37.1SUSE-SU-2020:2611-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moretomcat9.0.36-3.65.2SUSE-SU-2020:2045-1
SUSELinux Enterprise Module for Web and Scripting 15 SP1tomcat9.0.36-4.41.2SUSE-SU-2020:2046-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2tomcat9.0.36-3.6.1SUSE-SU-2020:2047-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moretomcat9.0.36-3.45.1SUSE-SU-2020:2037-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5tomcat9.0.115-3.160.1SUSE-SU-2026:1058-1
openSUSELeap 15.1tomcat9.0.36-lp151.3.27.1openSUSE-SU-2020:1102-1
openSUSELeap 15.2tomcat9.0.36-lp152.2.4.1openSUSE-SU-2020:1111-1
openSUSETumbleweedtomcat9.0.43-8.1openSUSE-SU-2024:12103-1
openSUSETumbleweedtomcat1010.1.14-1.1openSUSE-SU-2024:13441-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Certificate System 10.0 as well as Red Hat Enterprise Linux 8's Identity Management, are using a vulnerable version of Tomcat, bundled into the pki-servlet-engine component. However, there is no entry point for WebSockets, thus it is not possible to trigger the flaw in a supported setup. A future update may fix the code. Similarly, Red Hat OpenStack Platform 13 does not ship with WebSocket functionality enabled by default.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update as soon as possible.

ProductPackageStateAdvisory
EAP 6.4.24 releaseFixed 2022-06-30RHSA-2022:5458
Red Hat Enterprise Linux 7tomcat-0:7.0.76-15.el7Fixed 2020-09-29RHSA-2020:4004
Red Hat Fuse 7.9tomcatFixed 2021-08-11RHSA-2021:3140
Red Hat JBoss Enterprise Application Platform 6.4 asyncjbosswebFixed 2020-08-10RHSA-2020:3382
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5jbossweb-0:7.5.31-2.Final_redhat_2.1.ep6.el5Fixed 2020-08-10RHSA-2020:3383
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6jbossweb-0:7.5.31-2.Final_redhat_2.1.ep6.el6Fixed 2020-08-10RHSA-2020:3383
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6jboss-as-appclient-0:7.5.24-2.Final_redhat_00001.1.ep6.el6Fixed 2022-06-30RHSA-2022:5459
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6jbossas-appclient-0:7.5.24-2.Final_redhat_00001.1.ep6.el6Fixed 2022-06-30RHSA-2022:5459
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6jbossas-bundles-0:7.5.24-2.Final_redhat_00001.1.ep6.el6Fixed 2022-06-30RHSA-2022:5459
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6jboss-as-cli-0:7.5.24-2.Final_redhat_00001.1.ep6.el6Fixed 2022-06-30RHSA-2022:5459
Red Hat Decision Manager 7tomcatNot affected
Red Hat Enterprise Linux 6tomcat6Not affected
Red Hat Enterprise Linux 8pki-deps:10.6/pki-servlet-engineFix deferred
Red Hat Enterprise Linux 9tomcatNot affected
Red Hat JBoss Data Grid 6jbosswebOut of support scope
Red Hat JBoss Data Virtualization 6jbosswebOut of support scope
Red Hat JBoss Fuse 6tomcatOut of support scope
Red Hat OpenStack Platform 10 (Newton)opendaylightOut of support scope
Red Hat OpenStack Platform 13 (Queens)opendaylightWill not fix
Red Hat Process Automation 7tomcatNot affected
138 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-13935.

References

Check your stackJSON