Intel

AIKIDO-2026-819522

tornado is vulnerable to Denial of Service

CVE-2025-67725Published Jul 17, 2026
July 17, 2026

75

CVE Score

High

Denial of Service

Are you affected? Scan for Free

TL;DR

The HTTPHeaders.add method in Tornado accumulates values using string concatenation when the same header name is repeated. Due to Python string immutability, each concatenation copies the entire string, resulting in O(n^2) time complexity. Given Tornado's single event loop architecture, a single maliciously crafted HTTP request can block the server's event loop for an extended period, causing a Denial of Service (DoS).

How do I fix this?

Upgrade the tornado library to the patch version.

Who does this affect?

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

Package

Versions

0.0.0 - 6.5.2

Fixed in 6.5.3

Background info

tornado is vulnerable to Denial of Service in versions 0.0.0 - 6.5.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea