Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-3945

CVE-2026-3945: Tinyproxy Integer Overflow DoS Vulnerability

CVE-2026-3945 is an integer overflow denial of service vulnerability in tinyproxy's HTTP chunked transfer encoding parser. Attackers can exhaust worker connections and cause service unavailability. This post covers technical details, affected versions, impact, and mitigation.

Published: April 2, 2026

CVE-2026-3945 Overview

An integer overflow vulnerability exists in the HTTP chunked transfer encoding parser in tinyproxy up to and including version 1.11.3. This vulnerability allows an unauthenticated remote attacker to cause a denial of service (DoS) condition by exhausting all available worker connections.

The issue occurs because chunk size values are parsed using strtol() without properly validating overflow conditions (e.g., errno == ERANGE). A crafted chunk size such as 0x7fffffffffffffff (LONG_MAX) bypasses the existing validation check (chunklen < 0), leading to a signed integer overflow during arithmetic operations (chunklen + 2). This results in incorrect size calculations, causing the proxy to attempt reading an extremely large amount of request-body data and holding worker connections open indefinitely.

Critical Impact

An attacker can exploit this behavior to exhaust all available worker slots, preventing new connections from being accepted and causing complete service unavailability for the tinyproxy service.

Affected Products

  • tinyproxy version 1.11.3 and earlier
  • All tinyproxy installations using HTTP chunked transfer encoding
  • Systems relying on tinyproxy for proxy services without the upstream patch

Discovery Timeline

  • 2026-03-30 - CVE CVE-2026-3945 published to NVD
  • 2026-03-30 - Last updated in NVD database

Technical Details for CVE-2026-3945

Vulnerability Analysis

This vulnerability is classified as CWE-190 (Integer Overflow or Wraparound). The root issue lies in the HTTP chunked transfer encoding parser within tinyproxy's request handling code. When processing HTTP requests with chunked transfer encoding, the parser reads the chunk size from the incoming data and converts it from hexadecimal using strtol().

The vulnerability exploits a gap in the validation logic. While the code checked for negative values (chunklen < 0), it failed to account for the case where strtol() returns LONG_MAX when parsing an extremely large hexadecimal value like 0x7fffffffffffffff. Since LONG_MAX is positive, it passes the negative check. When the code subsequently performs arithmetic operations such as chunklen + 2, the signed integer wraps around, producing undefined behavior and incorrect buffer size calculations.

The practical impact is that the proxy enters a state where it attempts to read an impossibly large amount of data, effectively hanging the worker thread indefinitely. Since tinyproxy uses a fixed pool of worker threads, an attacker can systematically exhaust all available workers by sending multiple malicious requests, rendering the service completely unavailable.

Root Cause

The root cause is improper input validation in the HTTP chunked transfer encoding parser within src/reqs.c. The strtol() function was used to parse chunk sizes without checking for errno == ERANGE, which indicates that the parsed value exceeds the representable range. Additionally, the original validation only checked for negative values, failing to reject extremely large positive values that would cause integer overflow in subsequent arithmetic operations.

Attack Vector

This vulnerability is exploitable over the network without authentication. An attacker can send a specially crafted HTTP request with chunked transfer encoding containing an oversized chunk length value. The attack requires:

  1. Network access to a tinyproxy instance
  2. Ability to send HTTP requests with custom chunked transfer encoding headers
  3. No authentication or special privileges required

The attack can be automated to rapidly exhaust all worker threads, causing a complete denial of service.

The initial patch in commit 969852c added a check for negative values:

c
                }
 
                chunklen = strtol (buffer, (char**)0, 16);
+                if (chunklen < 0) goto ERROR_EXIT;
 
                if (pull_client_data (connptr, chunklen+2, 0) < 0)
                        goto ERROR_EXIT;

Source: GitHub Commit Details - 969852c

However, this initial fix was insufficient. The complete fix in commit bb7edc4 addresses both negative values and extremely large positive values that could cause overflow:

c
                }
 
                chunklen = strtol (buffer, (char**)0, 16);
-                if (chunklen < 0) goto ERROR_EXIT;
+                /* prevent negative or huge values causing overflow */
+                if (chunklen < 0 || chunklen > 0x0fffffff) goto ERROR_EXIT;
 
                if (pull_client_data (connptr, chunklen+2) < 0)
                        goto ERROR_EXIT;

Source: GitHub Commit Details - bb7edc4

Detection Methods for CVE-2026-3945

Indicators of Compromise

  • Tinyproxy worker threads becoming unresponsive or stuck in read operations
  • Unusual HTTP requests containing extremely large hexadecimal chunk size values (e.g., 7fffffffffffffff)
  • Sudden increase in connection timeouts for clients attempting to use the proxy
  • Log entries showing malformed chunked transfer encoding requests

Detection Strategies

  • Monitor tinyproxy process for abnormal memory usage or stuck worker threads
  • Implement network-level detection for HTTP requests containing chunk sizes exceeding reasonable thresholds
  • Configure intrusion detection systems to alert on chunked transfer encoding with hexadecimal values longer than 8 characters
  • Deploy application-layer firewalls to validate HTTP chunked encoding before reaching tinyproxy

Monitoring Recommendations

  • Set up alerts for tinyproxy service availability and worker thread pool exhaustion
  • Monitor connection queue length and new connection rejection rates
  • Implement health checks that verify tinyproxy can accept and process new connections
  • Log and analyze all incoming HTTP requests with chunked transfer encoding for anomalous patterns

How to Mitigate CVE-2026-3945

Immediate Actions Required

  • Apply the upstream patch from commit bb7edc4 to your tinyproxy installation
  • If patching is not immediately possible, implement network-level filtering to block requests with abnormally large chunk sizes
  • Consider temporarily disabling tinyproxy if it is internet-facing and cannot be patched
  • Monitor existing tinyproxy instances for signs of exploitation

Patch Information

The vulnerability has been addressed upstream in commit bb7edc4. However, the latest stable release (1.11.3) remains affected at the time of publication. Organizations should either apply the patch manually from the GitHub repository or wait for a new stable release that includes the fix.

For more details, see:

  • GitHub Pull Request #603
  • GitHub Issue #602
  • GitHub Release Notes

Workarounds

  • Place tinyproxy behind a reverse proxy or web application firewall that validates HTTP chunked encoding
  • Implement rate limiting on incoming connections to slow down potential DoS attacks
  • Restrict network access to tinyproxy to trusted IP ranges only
  • Consider using an alternative proxy solution until a patched stable release is available
bash
# Configuration example - restrict tinyproxy access to trusted networks
# Add to tinyproxy.conf
Allow 10.0.0.0/8
Allow 192.168.0.0/16
# Deny all other connections by default

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechTinyproxy

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Technical References
  • GitHub Commit Details - 969852c

  • GitHub Commit Details - bb7edc4

  • GitHub Issue #602

  • GitHub Pull Request #603

  • GitHub Release Notes
  • Related CVEs
  • CVE-2026-31842: Tinyproxy HTTP Parsing DoS Vulnerability

  • CVE-2023-49606: Tinyproxy Use-After-Free RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English