AIOHTTP: Unbounded cookie storage in client CookieJar
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 13, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 12, 2026
Description
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Set-Cookie parsing treats unrecognized name=value attributes as additional cookies, while CookieJar does not limit the number of cookies stored or sent. A malicious server can make an aiohttp client accumulate a very large cookie set, consume memory and CPU repeatedly across redirects, and construct an excessively large Cookie header for later requests to the same domain. This issue is fixed in version 3.14.4.
| Product | Versions |
|---|---|
| aiohttp aio-libs | < 3.14.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | GitHub_M |
Weaknesses
- CWE-1325 Improperly Controlled Sequential Memory Allocation
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.