CVE-2026-128130

Description

A flaw was found in aiohttp. A remote attacker can cause a Denial of Service (DoS) and unexpected request replay by sending pipelined HTTP requests to a server running the pure-Python parser. Due to improper buffer handling when an upgrade request is declined while the request queue is full, unparsed data is repeatedly re-fed into the parser. This behavior leads to excessive memory consumption and duplicate execution of previously handled requests.

Statement

Red Hat has evaluated this vulnerability as having a Moderate severity impact because exploitation requires specific non-default conditions, including disabling the native C extensions, to trigger memory exhaustion and request reprocessing. Red Hat distributions ship aiohttp with compiled C-extensions by default, rendering standard production environments unaffected under typical deployment profiles. An attacker would need to target an application explicitly forced to run with the pure-Python parser while handling rejected protocol upgrade requests.

Mitigation

Ensure the application utilizes the default compiled C parser rather than the pure-Python parser. If the environment explicitly defines `AIOHTTP_NO_EXTENSIONS`, remove this environment variable from container definitions, launch scripts, or systemd service configurations.

For systemd-managed services, remove any `Environment="AIOHTTP_NO_EXTENSIONS=..."` settings from the service unit or drop-in files, then apply the changes:

systemctl daemon-reload
systemctl restart <service_name>

Caveat: This requires the binary C extensions shipped with standard Red Hat aiohttp packages. Modifying environment configurations and restarting the service will cause a brief disruption in service availability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.5N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityHighN/AN/A
Privileges RequiredNoneN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactLowN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

When allocating resources without limits, an attacker could prevent other systems, applications, or processes from accessing the same type of resource. It can be easy for an attacker to consume many resources by rapidly making many requests or causing larger resources to be used than is needed.

Frequently Asked Questions

Want to get errata notifications? Sign up here.