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-34517

CVE-2026-34517: AIOHTTP DoS Vulnerability

CVE-2026-34517 is a denial of service flaw in AIOHTTP that allows memory exhaustion through multipart form fields. This post covers the technical details, affected versions, impact, and mitigation.

Published: April 2, 2026

CVE-2026-34517 Overview

CVE-2026-34517 is a Resource Exhaustion vulnerability affecting AIOHTTP, an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, the framework contained a flaw in its multipart form field handling where certain form fields were read entirely into memory before checking the client_max_size limit. This improper resource allocation could allow attackers to consume excessive server memory by sending crafted multipart requests.

Critical Impact

Attackers can bypass the client_max_size protection mechanism to cause memory exhaustion on servers handling multipart form data, potentially leading to denial of service conditions.

Affected Products

  • AIOHTTP versions prior to 3.13.4
  • Python applications using AIOHTTP for multipart form handling
  • Web servers and APIs built on the AIOHTTP framework

Discovery Timeline

  • 2026-04-01 - CVE CVE-2026-34517 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-34517

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The core issue lies in the order of operations within AIOHTTP's multipart form processing logic. When handling ordinary (non-file) form fields, the framework's web_request.py module would call field.read(decode=True) to read the entire field content into memory before performing the size validation against max_size. This design flaw created a window where an attacker could submit arbitrarily large form field data that would be fully loaded into memory before the framework could reject it for exceeding size limits.

The vulnerability is exploitable over the network without authentication, though the impact is limited to availability degradation. Applications that accept multipart form data from untrusted sources are particularly susceptible to this memory exhaustion attack.

Root Cause

The root cause is improper placement of the size validation check in the multipart form processing pipeline. The original code accumulated the entire field value in memory using await field.read(decode=True), then calculated the size and performed the validation afterward. This approach defeats the purpose of the client_max_size configuration, as malicious payloads have already consumed memory by the time the check occurs.

Attack Vector

An attacker can exploit this vulnerability by sending HTTP requests with multipart form data containing oversized non-file fields. Since the size check occurs after the data is read into memory, the attacker can craft requests with field values significantly larger than the configured max_size limit. By sending multiple such requests, an attacker could exhaust available server memory, causing degraded performance or complete service unavailability.

python
                         out.add(field.name, ff)
                     else:
                         # deal with ordinary data
-                        value = await field.read(decode=True)
+                        raw_data = bytearray()
+                        while chunk := await field.read_chunk():
+                            size += len(chunk)
+                            if 0 < max_size < size:
+                                raise HTTPRequestEntityTooLarge(
+                                    max_size=max_size, actual_size=size
+                                )
+                            raw_data.extend(chunk)
+
+                        value = bytearray()
+                        # form-data doesn't support compression, so don't need to check size again.
+                        async for d in field.decode_iter(raw_data):
+                            value.extend(d)
+
                         if field_ct is None or field_ct.startswith("text/"):
                             charset = field.get_charset(default="utf-8")
                             out.add(field.name, value.decode(charset))
                         else:
                             out.add(field.name, value)
-                        size += len(value)
-                        if 0 < max_size < size:
-                            raise HTTPRequestEntityTooLarge(
-                                max_size=max_size, actual_size=size
-                            )
                 else:
                     raise ValueError(

Source: GitHub Commit Details

The patch modifies the code to read form field data in chunks using field.read_chunk(), validating the accumulated size after each chunk. This ensures that the HTTPRequestEntityTooLarge exception is raised before excessive memory is allocated.

Detection Methods for CVE-2026-34517

Indicators of Compromise

  • Unusual memory consumption spikes on servers running AIOHTTP applications
  • HTTP 413 (Request Entity Too Large) errors occurring after significant memory allocation
  • Abnormally large multipart form submissions in web server access logs
  • Application crashes or out-of-memory errors coinciding with multipart form requests

Detection Strategies

  • Monitor application memory usage patterns and alert on sudden spikes during form processing
  • Implement request logging that captures multipart form field sizes before processing
  • Deploy application performance monitoring (APM) tools to track memory allocation in AIOHTTP request handlers
  • Review web application firewall (WAF) logs for unusually large POST requests with multipart content types

Monitoring Recommendations

  • Configure memory usage thresholds and alerts for AIOHTTP worker processes
  • Implement rate limiting on endpoints that accept multipart form data
  • Enable detailed request logging including Content-Length headers for multipart submissions
  • Use SentinelOne Singularity Platform to monitor for resource exhaustion patterns and anomalous application behavior

How to Mitigate CVE-2026-34517

Immediate Actions Required

  • Upgrade AIOHTTP to version 3.13.4 or later immediately
  • Review application configurations for client_max_size settings and ensure they are appropriately restrictive
  • Implement request size validation at the reverse proxy or load balancer level as defense-in-depth
  • Monitor server memory utilization for signs of ongoing exploitation attempts

Patch Information

The vulnerability has been addressed in AIOHTTP version 3.13.4. The fix (commit cbb774f38330563422ca0c413a71021d7b944145) changes the multipart form field reading logic to validate size incrementally during chunk-based reading rather than after loading the entire field into memory.

For detailed patch information, refer to:

  • GitHub Release v3.13.4
  • GitHub Security Advisory GHSA-3wq7-rqq7-wx6j

Workarounds

  • Implement strict request size limits at the web server or reverse proxy level (e.g., nginx client_max_body_size)
  • Deploy rate limiting on endpoints that accept multipart form data to reduce exploitation impact
  • Consider implementing memory limits for AIOHTTP worker processes using container resource constraints or system limits
  • Monitor and restart processes that exceed memory thresholds as a temporary mitigation
bash
# Configuration example - nginx upstream protection
# Add to nginx server configuration to enforce size limits before reaching AIOHTTP
client_max_body_size 10M;

# Or use ulimit to constrain AIOHTTP process memory
ulimit -v 1048576  # Limit virtual memory to 1GB
python -m aiohttp.web your_app:app

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechAiohttp

  • SeverityLOW

  • CVSS Score2.7

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/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
  • AvailabilityLow
  • CWE References
  • CWE-770
  • Technical References
  • GitHub Commit Details

  • GitHub Release v3.13.4

  • GitHub Security Advisory GHSA-3wq7-rqq7-wx6j
  • Related CVEs
  • CVE-2026-34516: AIOHTTP DoS Vulnerability

  • CVE-2026-34513: AIOHTTP DNS Cache DoS Vulnerability

  • CVE-2026-22815: AIOHTTP DOS Vulnerability

  • CVE-2025-69228: Aiohttp Asynchronous HTTP DoS 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