Intel

AIKIDO-2025-10906

tomcat is vulnerable to Infinite Loop

Infinite LoopCVE-2020-13935 Published Dec 9, 2025

75

High Risk

This Affects:

JAVAtomcat
7.0.27 - 7.0.104
Fixed in 7.0.105
8.5.0 - 8.5.56
Fixed in 8.5.57
9.0.0 - 9.0.36
Fixed in 9.0.37
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

tomcat is vulnerable to Infinite Loop in versions 7.0.27 - 7.0.104, 8.5.0 - 8.5.56 and 9.0.0 - 9.0.36.

How to fix this

Upgrade the org.apache.tomcat:tomcat library to the patch version.

Links

Other

lists.opensuse.org/opensuse-security-announce/2020-07/msg00084.html
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00084.html
lists.opensuse.org/opensuse-security-announce/2020-07/msg00088.html
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00088.html
kc.mcafee.com/corporate/index?page=content&id=SB10332
https://kc.mcafee.com/corporate/index?page=content&id=SB10332
lists.apache.org/thread.html/r4e5d3c09f4dd2923191e972408b40fb8b42dbff0bc7904d44b651e50%40%3Cusers.tomcat.apache.org%3E
https://lists.apache.org/thread.html/r4e5d3c09f4dd2923191e972408b40fb8b42dbff0bc7904d44b651e50%40%3Cusers.tomcat.apache.org%3E
lists.apache.org/thread.html/rd48c72bd3255bda87564d4da3791517c074d94f8a701f93b85752651%40%3Cannounce.tomcat.apache.org%3E
https://lists.apache.org/thread.html/rd48c72bd3255bda87564d4da3791517c074d94f8a701f93b85752651%40%3Cannounce.tomcat.apache.org%3E
lists.debian.org/debian-lts-announce/2020/07/msg00017.html
https://lists.debian.org/debian-lts-announce/2020/07/msg00017.html
security.netapp.com/advisory/ntap-20200724-0003/
https://security.netapp.com/advisory/ntap-20200724-0003/
usn.ubuntu.com/4448-1/
https://usn.ubuntu.com/4448-1/
usn.ubuntu.com/4596-1/
https://usn.ubuntu.com/4596-1/
debian.org/security/2020/dsa-4727
https://www.debian.org/security/2020/dsa-4727
oracle.com//security-alerts/cpujul2021.html
https://www.oracle.com//security-alerts/cpujul2021.html
oracle.com/security-alerts/cpuApr2021.html
https://www.oracle.com/security-alerts/cpuApr2021.html
oracle.com/security-alerts/cpuapr2022.html
https://www.oracle.com/security-alerts/cpuapr2022.html
oracle.com/security-alerts/cpujan2021.html
https://www.oracle.com/security-alerts/cpujan2021.html
oracle.com/security-alerts/cpujan2022.html
https://www.oracle.com/security-alerts/cpujan2022.html
oracle.com/security-alerts/cpuoct2020.html
https://www.oracle.com/security-alerts/cpuoct2020.html
oracle.com/security-alerts/cpuoct2021.html
https://www.oracle.com/security-alerts/cpuoct2021.html