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

CVE-2026-34513: AIOHTTP DNS Cache DoS Vulnerability

CVE-2026-34513 is a denial of service flaw in AIOHTTP affecting versions prior to 3.13.4. An unbounded DNS cache leads to excessive memory usage enabling DoS attacks. This article covers technical details, impact, and patches.

Published: April 2, 2026

CVE-2026-34513 Overview

AIOHTTP, an asynchronous HTTP client/server framework for asyncio and Python, contains a resource exhaustion vulnerability in versions prior to 3.13.4. The vulnerability stems from an unbounded DNS cache implementation that allows excessive memory usage, potentially resulting in a Denial of Service (DoS) condition. This issue affects applications using AIOHTTP's DNS caching functionality without size constraints, allowing attackers to trigger memory exhaustion by forcing the cache to grow indefinitely.

Critical Impact

Unbounded DNS cache growth can lead to memory exhaustion and service unavailability in Python applications using AIOHTTP for HTTP client/server operations.

Affected Products

  • AIOHTTP versions prior to 3.13.4
  • Python applications utilizing AIOHTTP's TCPConnector with DNS caching enabled
  • Asyncio-based HTTP services built on vulnerable AIOHTTP versions

Discovery Timeline

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

Technical Details for CVE-2026-34513

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The core issue lies in the _DNSCacheTable class within AIOHTTP's connector module, which previously implemented DNS caching without any upper bound on the number of cached entries. When an application resolves DNS names through AIOHTTP's connection infrastructure, resolved addresses are stored in an internal dictionary without size constraints.

In scenarios where an attacker can influence or trigger DNS resolution for a large number of unique hostnames, the cache grows unbounded, consuming increasing amounts of memory. This is particularly problematic for applications that handle requests to numerous distinct domains or where user input influences DNS resolution targets.

Root Cause

The root cause is the absence of a maximum size limit in the _DNSCacheTable implementation. The original code used a standard Python dictionary (Dict) to store cached DNS entries with no eviction policy or size constraints. Without bounds checking, each unique hostname-port combination added to the cache persists indefinitely (or until TTL expiration if configured), allowing memory consumption to grow linearly with the number of unique DNS lookups.

Attack Vector

The attack vector is network-based and requires no authentication. An attacker can exploit this vulnerability by:

  1. Identifying an application using vulnerable AIOHTTP versions for outbound HTTP requests
  2. Causing the application to make requests to numerous unique hostnames (e.g., through user-controlled URLs, redirect chains, or API endpoints that accept external URLs)
  3. Forcing the DNS cache to accumulate entries until available memory is exhausted
  4. Triggering a denial of service when the Python process runs out of memory
python
 
 
 class _DNSCacheTable:
-    def __init__(self, ttl: Optional[float] = None) -> None:
-        self._addrs_rr: Dict[Tuple[str, int], Tuple[Iterator[ResolveResult], int]] = {}
+    def __init__(self, ttl: Optional[float] = None, max_size: int = 1000) -> None:
+        self._addrs_rr: OrderedDict[
+            Tuple[str, int], Tuple[Iterator[ResolveResult], int]
+        ] = OrderedDict()
         self._timestamps: Dict[Tuple[str, int], float] = {}
         self._ttl = ttl
+        self._max_size = max_size
 
     def __contains__(self, host: object) -> bool:
         return host in self._addrs_rr
 
     def add(self, key: Tuple[str, int], addrs: List[ResolveResult]) -> None:
+        if key in self._addrs_rr:
+            self._addrs_rr.move_to_end(key)
+
         self._addrs_rr[key] = (cycle(addrs), len(addrs))
 
         if self._ttl is not None:
             self._timestamps[key] = monotonic()
 
+        if len(self._addrs_rr) > self._max_size:
+            oldest_key, _ = self._addrs_rr.popitem(last=False)
+            self._timestamps.pop(oldest_key, None)
+
     def remove(self, key: Tuple[str, int]) -> None:

Source: GitHub Commit Details

Detection Methods for CVE-2026-34513

Indicators of Compromise

  • Gradual memory consumption increase in Python processes running AIOHTTP-based applications
  • Unusually high number of unique DNS resolution requests in application logs
  • Out-of-memory (OOM) errors or process termination events in AIOHTTP services
  • Application slowdown or unresponsiveness correlating with memory pressure

Detection Strategies

  • Monitor Python process memory usage metrics for AIOHTTP applications and alert on sustained growth patterns
  • Implement application-level logging to track DNS cache statistics and unique hostname counts
  • Review application logs for patterns indicating attempts to trigger requests to numerous distinct domains
  • Use dependency scanning tools to identify applications running AIOHTTP versions prior to 3.13.4

Monitoring Recommendations

  • Configure memory usage thresholds and alerts for production AIOHTTP services
  • Implement rate limiting on endpoints that perform outbound HTTP requests to user-controlled URLs
  • Deploy application performance monitoring (APM) tools to track DNS resolution patterns and cache behavior
  • Establish baseline memory consumption metrics to detect anomalous growth trends

How to Mitigate CVE-2026-34513

Immediate Actions Required

  • Upgrade AIOHTTP to version 3.13.4 or later immediately
  • Review all Python applications for AIOHTTP dependencies and prioritize patching internet-facing services
  • Implement network-level rate limiting for applications that cannot be immediately patched
  • Consider disabling DNS caching temporarily in AIOHTTP TCPConnector configurations as a short-term measure

Patch Information

The vulnerability has been patched in AIOHTTP version 3.13.4. The fix introduces a max_size parameter (defaulting to 1000 entries) for the _DNSCacheTable class and implements an LRU-style eviction policy using Python's OrderedDict. When the cache exceeds the maximum size, the oldest entry is automatically removed. For detailed patch information, see the GitHub Security Advisory GHSA-hcc4-c3v8-rx92 and GitHub Release Version 3.13.4.

Workarounds

  • Disable DNS caching by setting ttl_dns_cache=None when creating AIOHTTP TCPConnector instances
  • Implement application-level controls to restrict the number of unique external domains that can be requested
  • Deploy containerized applications with memory limits to contain the impact of potential memory exhaustion
  • Use network egress filtering to limit outbound DNS resolution to known required domains
bash
# Configuration example - Upgrade AIOHTTP to patched version
pip install --upgrade aiohttp>=3.13.4

# Verify installed version
pip show aiohttp | grep Version

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 Version 3.13.4

  • GitHub Security Advisory GHSA-hcc4-c3v8-rx92
  • Related CVEs
  • CVE-2026-34517: AIOHTTP DoS Vulnerability

  • CVE-2026-34516: AIOHTTP 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