CVE-2026-27633

TinyWeb has Unbounded Content-Length Memory Exhaustion (DoS)

Published Feb 25, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
TinyWeb is a web server (HTTP, HTTPS) written in Delphi for Win32. Versions prior to version 2.02 have a Denial of Service (DoS) vulnerability via memory exhaustion. Unauthenticated remote attackers can send an HTTP POST request to the server with an exceptionally large `Content-Length` header (e.g., `2147483647`). The server continuously allocates memory for the request body (`EntityBody`) while streaming the payload without enforcing any maximum limit, leading to all available memory being consumed and causing the server to crash. Anyone hosting services using TinyWeb is impacted. Version 2.02 fixes the issue. The patch introduces a `CMaxEntityBodySize` limit (set to 10MB) for the maximum size of accepted payloads. As a temporary workaround if upgrading is not immediately possible, consider placing the server behind a Web Application Firewall (WAF) or reverse proxy (like nginx or Cloudflare) configured to explicitly limit the maximum allowed HTTP request body size (e.g., `client_max_body_size` in nginx).

Analysis

AI-generated

Technical impact

TinyWeb, a Delphi‑based HTTP/HTTPS server, allows an unauthenticated attacker to trigger a denial of service by sending a POST request whose Content‑Length header is exceptionally large. The server streams the incoming payload into memory without enforcing a maximum limit, allocating memory continuously for the body until system memory is exhausted and the process terminates. The weakness aligns with CWE‑400 (Uncontrolled Resource Consumption) and CWE‑770 (Allocation of Unbounded Resources).

Affected Systems

All hosts running TinyWeb versions earlier than 2.02 are vulnerable. The affected vendor is maximmasiutin (TinyWeb). The security advisory specifies that any deployment of TinyWeb before the 2.02 release is impacted.

Risk and Exploitability

The flaw achieves remote denial of service; no authentication is required. The CVSS base score is 8.7, indicating high severity. EPSS indicates a very low exploitation probability (<1 %), and the vulnerability is not listed in CISA’s KEV catalog, suggesting no known large‑scale attacks yet. Nevertheless, the remote attacker can easily send the crafted POST request to cause the server to crash, disrupting services until a reboot or reimplementation occurs.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade TinyWeb to version 2.02 or later, which implements a 10 MB maximum entity body size.
  • If an immediate upgrade is not possible, apply the patch from the referenced commit that introduces the CMaxEntityBodySize limit.
  • Configure a front‑end WAF or reverse proxy such as nginx or Cloudflare to enforce a lower maximum request body size (e.g., client_max_body_size) to block oversized POST requests before they reach TinyWeb.

Generated by OpenCVE AI on April 17, 2026 at 14:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Ritlabs
Ritlabs tinyweb
Weaknesses CWE-770
CPEs cpe:2.3:a:ritlabs:tinyweb:*:*:*:*:*:*:*:*
Vendors & Products Ritlabs
Ritlabs tinyweb
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Maximmasiutin
Maximmasiutin tinyweb
Vendors & Products Maximmasiutin
Maximmasiutin tinyweb
Type Values Removed Values Added
Description TinyWeb is a web server (HTTP, HTTPS) written in Delphi for Win32. Versions prior to version 2.02 have a Denial of Service (DoS) vulnerability via memory exhaustion. Unauthenticated remote attackers can send an HTTP POST request to the server with an exceptionally large `Content-Length` header (e.g., `2147483647`). The server continuously allocates memory for the request body (`EntityBody`) while streaming the payload without enforcing any maximum limit, leading to all available memory being consumed and causing the server to crash. Anyone hosting services using TinyWeb is impacted. Version 2.02 fixes the issue. The patch introduces a `CMaxEntityBodySize` limit (set to 10MB) for the maximum size of accepted payloads. As a temporary workaround if upgrading is not immediately possible, consider placing the server behind a Web Application Firewall (WAF) or reverse proxy (like nginx or Cloudflare) configured to explicitly limit the maximum allowed HTTP request body size (e.g., `client_max_body_size` in nginx).
Title TinyWeb has Unbounded Content-Length Memory Exhaustion (DoS)
Weaknesses CWE-400
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 26, 2026, 4:51 PM
Reserved
Feb 20, 2026, 10:02 PM
Status
Analyzed
Published
Feb 26, 2026, 12:16 AM
Modified
Jun 17, 2026, 10:27 AM