Loop with Unreachable Exit Condition ('Infinite Loop') Affecting tomcat8 package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
92.32% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-TOMCAT8-1144572
  • published22 Aug 2025
  • disclosed14 Jul 2020

Introduced: 14 Jul 2020

CVE-2020-13935  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:18.04 tomcat8.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat8 package and not the tomcat8 package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1