CVE-2026-128125: AIOHTTP: Unbounded cookie storage in client CookieJar
Summary Set-Cookie parsing created additional cookies from unrecognised name=value attributes, and CookieJar had no limit on the number of cookies stored or sent. A server could make the client store a very large number of cookies and generate very large Cookie headers.
Published Nov 16, 2026
Affected packages
aiohttp
- Ecosystem
- PyPI
- Affected
- <= 3.14.3
- Fixed in
- 3.14.4
- Check
pip show aiohttp
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
Set-Cookie parsing created additional cookies from unrecognised name=value attributes, and CookieJar had no limit on the number of cookies stored or sent. A server could make the client store a very large number of cookies and generate very large Cookie headers.
Impact
A malicious server could cause excessive memory and CPU use in a client, repeated on every redirect, and cause later requests to the same domain to build an excessively large Cookie header.
---
Patch: https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa
Credited to iamibi, Dreamsorcerer.
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv
- https://nvd.nist.gov/vuln/detail/CVE-2026-128125
- https://github.com/aio-libs/aiohttp/pull/13930
- https://github.com/aio-libs/aiohttp/pull/13942
- https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa
- https://github.com/aio-libs/aiohttp/commit/b1f6c87b2bd3bd80f2b6c22ff46e11d00921e412
- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
- https://github.com/advisories/GHSA-5pv8-vvhc-h7jv
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-128124
AIOHTTP: Event loop stall in add_domain() wildcard matching
high8.2Nov 16, 2026CVE-2026-128126
AIOHTTP: Too many URL-encoded form fields block the event loop
high8.7Nov 16, 2026CVE-2026-128127
AIOHTTP: Base64 multipart parts bypass client_max_size
high7.5Nov 16, 2026CVE-2026-128128
AIOHTTP: WebSocket max_msg_size bypass via integer overflow
high7.5Nov 16, 2026CVE-2026-128129
AIOHTTP: Unbounded buffering of data received during an upgrade request
high8.2Nov 16, 2026CVE-2026-128130
AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade
high8.2Nov 16, 2026
