Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-34513: CWE-770: Allocation of Resources Without Limits or Throttling in aio-libs aiohttp

0
Low
VulnerabilityCVE-2026-34513cvecve-2026-34513cwe-770
Published: Wed Apr 01 2026 (04/01/2026, 20:06:13 UTC)
Source: CVE Database V5
Vendor/Project: aio-libs
Product: aiohttp

Description

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, an unbounded DNS cache could result in excessive memory usage possibly resulting in a DoS situation. This issue has been patched in version 3.13.4.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/02/2026, 19:30:50 UTC

Technical Analysis

CVE-2026-34513 affects aiohttp, a popular asynchronous HTTP client/server framework used with Python's asyncio library. Prior to version 3.13.4, aiohttp maintained a DNS cache without imposing limits or throttling on its size. This unbounded caching behavior can cause the application to consume excessive amounts of memory if an attacker triggers numerous unique DNS lookups. Over time, this can lead to resource exhaustion, resulting in degraded performance or a denial-of-service (DoS) condition. The vulnerability is categorized under CWE-770, which involves allocation of resources without proper limits, leading to potential exhaustion. The flaw can be exploited remotely without any authentication or user interaction, making it accessible to unauthenticated attackers. The CVSS 4.0 base score is 2.7, reflecting low severity due to limited impact scope and lack of privilege escalation or confidentiality breach. The issue was publicly disclosed and patched in version 3.13.4 of aiohttp. No known active exploits have been reported. This vulnerability primarily affects applications and services that rely on aiohttp for asynchronous HTTP communication and DNS resolution, especially those exposed to untrusted networks.

Potential Impact

The primary impact of this vulnerability is on the availability of systems running vulnerable versions of aiohttp. Excessive memory consumption caused by an unbounded DNS cache can degrade application performance, cause crashes, or lead to denial-of-service conditions. This can disrupt services relying on aiohttp, particularly web servers, microservices, or API clients that perform many DNS lookups. While the vulnerability does not affect confidentiality or integrity, the availability impact can be significant for high-traffic or critical applications. Organizations with large-scale deployments of aiohttp or those exposed to the internet are at higher risk. The lack of authentication or user interaction requirements lowers the barrier for exploitation, increasing potential exposure. However, the low CVSS score and absence of known exploits suggest limited immediate threat. Still, unpatched systems remain vulnerable to resource exhaustion attacks that could impact operational continuity.

Mitigation Recommendations

The primary mitigation is to upgrade aiohttp to version 3.13.4 or later, where the DNS cache is properly bounded and throttled to prevent excessive memory usage. Organizations should audit their Python environments to identify aiohttp versions in use, especially in network-facing applications. For environments where immediate upgrade is not feasible, consider implementing external DNS caching or limiting DNS query rates at the network or application layer to reduce the risk of cache exhaustion. Monitoring memory usage and setting resource limits on processes running aiohttp can help detect and contain potential exploitation attempts. Additionally, applying standard network security controls such as rate limiting, firewall rules, and anomaly detection can reduce exposure to malicious DNS query floods. Developers should review their use of aiohttp DNS resolution to avoid unnecessary or excessive lookups. Finally, maintain awareness of updates from aio-libs and apply patches promptly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-30T16:03:31.047Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69cec35ae6bfc5ba1dfb4d00

Added to database: 4/2/2026, 7:28:26 PM

Last enriched: 4/2/2026, 7:30:50 PM

Last updated: 4/3/2026, 6:40:39 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses