CVE-2026-132651
Description
A flaw was found in httpx2. A remote server or network attacker can exploit this vulnerability by sending WebSocket messages split into numerous tiny continuation frames. This forces repetitive buffer copying during reassembly, consuming excessive CPU resources and causing a Denial of Service (DoS) by blocking application processing.
Statement
This vulnerability has been evaluated as having Moderate impact because exploitation requires a client application using httpx2 to connect to a malicious WebSocket server or an unencrypted connection subject to active tampering. Inefficient buffer handling during fragmented frame reassembly can cause excessive CPU utilization or block the execution loop, leading to localized denial of service. The flaw does not allow remote code execution or unauthorized access to sensitive data, and applications communicating exclusively over secure TLS connections (wss://) with trusted hosts are not affected by external network manipulation.
Mitigation
To mitigate this vulnerability, apply operational and configuration controls to applications using the httpx2 WebSocket client:
1. Connect exclusively to trusted WebSocket endpoints using encrypted connections (wss://) to prevent on-path network attackers from manipulating frame fragmentation.
2. Limit the maximum message size by setting `max_message_size_bytes` to a strict lower limit (e.g., 64 KiB or less) in application configurations to bound potential reassembly processing time per message.
Caveat: Enforcing lower maximum message size limits may cause application requests expecting larger WebSocket payloads to be rejected. Restricting connections to secure endpoints may require updating application configuration files or endpoint definitions; affected application services must be restarted for configuration changes to take effect.
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 Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.3 | N/A | 5.3 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | None | N/A | None |
| Integrity Impact | None | N/A | None |
| Availability Impact | Low | N/A | Low |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Understanding the Weakness (CWE)
Other
Technical Impact: Reduce Performance
When building a string via a looping feature (e.g., a FOR or WHILE loop), the use of += to append to the existing string will result in the creation of a new object with each iteration, which can be inefficient in comparison with use of text buffer data elements. This issue can make the product perform more slowly. If the relevant code is reachable by an attacker, then this could be influenced to create performance problems.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.