CVE-2024-30251
HIGH 7.5CVSS 3.1aiohttp vulnerable to Denial of Service when trying to parse malformed POST requests
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In affected versions an attacker can send a specially crafted POST (multipart/form-data) request. When the aiohttp server processes it, the server will enter an infinite loop and be unable to process any further requests. An attacker can stop the application from serving requests after sending a single request. This issue has been addressed in version 3.9.4. Users are advised to upgrade. Users unable to upgrade may manually apply a patch to their systems. Please see the linked GHSA for instructions.
- Published
- 2 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-835
- Also known as
- GHSA-5m98-qgg9-wh84PYSEC-2026-1098
- Sources
- NVDJSONOSV GHSA-5m98-qgg9-wh84JSONOSV PYSEC-2026-1098JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | aiohttp | aiohttpcpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:* |
< 3.9.4 | 3.9.4 |
| OSV | PyPI | aiohttp | < 3.9.4 | 3.9.4 |
References
- http://www.openwall.com/lists/oss-security/2024/05/02/4 · Mailing List, WEB
- https://github.com/aio-libs/aiohttp/commit/7eecdff163ccf029fbb1ddc9de4169d4aaeb6597 · Patch, WEB
- https://github.com/aio-libs/aiohttp/commit/cebe526b9c34dc3a3da9140409db63014bc4cf19 · Patch, WEB
- https://github.com/aio-libs/aiohttp/commit/f21c6f2ca512a026ce7f0f6c6311f62d6a638866 · Patch, WEB
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5m98-qgg9-wh84 · Patch, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-30251 · ADVISORY
- https://github.com/aio-libs/aiohttp · PACKAGE
- https://pypi.org/project/aiohttp · PACKAGE
- https://github.com/advisories/GHSA-5m98-qgg9-wh84 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 2 May 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 May 2024)