Tinyproxy Integer Overflow Vulnerability in HTTP Chunked Transfer Encoding Parser Leading to Denial-of-Service

Vulnerability

A denial-of-service vulnerability has been identified in Tinyproxy versions through 1.11.3. The issue arises from an integer overflow in the HTTP chunked transfer encoding parser, located in 'src/reqs.c'. This vulnerability allows an unauthenticated remote attacker to cause service disruption by sending crafted chunk sizes that bypass existing validation checks. The improper handling of large chunk sizes leads to signed integer overflows during size calculations, causing the proxy to read excessive amounts of request-body data. This behavior exhausts available worker connections, holding them open indefinitely and preventing new connections, thereby causing complete service unavailability.

Impact

Exploitation of this vulnerability leads to remote denial-of-service conditions, causing connection exhaustion and service unavailability.

Reproduction

To reproduce this vulnerability, send an HTTP request with a chunked transfer encoding that includes a chunk size crafted to trigger the integer overflow. The parser will incorrectly calculate the size, causing the proxy to read an excessive amount of data and hold the connection open. This can be done by manipulating the chunk size to approach the maximum value, bypassing the validation that checks for negative lengths.

Remediation

Users can upgrade to Tinyproxy version 1.11.4 or later, where this vulnerability has been addressed.

Added: Mar 30, 2026, 8:20 AM
Updated: Mar 30, 2026, 8:20 AM

Vulnerability Rating

Custom Algorithm
spread
2.6
impact
2.5
exploitability
8.0
remediation
7.7
relevance
4.9
threat
4.8
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.