---
id: CVE-2024-52304
aliases:
  - GHSA-8495-4g3g-x7pr
  - PYSEC-2026-1103
title: aiohttp allows request smuggling due to incorrect parsing of chunk extensions
summary: aiohttp allows request smuggling due to incorrect parsing of chunk extensions
severity: medium
vendor: aiohttp
product: aiohttp
ecosystem: pip
affected:
  - aiohttp < 3.10.11
patched:
  - aiohttp 3.10.11
published: '2024-11-18'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:20.487002605Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-8495-4g3g-x7pr'
references:
  - url: >-
      https://github.com/aio-libs/aiohttp/security/advisories/GHSA-8495-4g3g-x7pr
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-52304'
  - url: >-
      https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71
  - url: 'https://github.com/aio-libs/aiohttp'
  - url: 'https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html'
tags:
  - osv
  - pip
epss: 0.00563
epssPercentile: 0.44408
ingestedAt: '2026-07-08T18:25:47.293Z'
---

## Overview

### Summary
The Python parser parses newlines in chunk extensions incorrectly which can lead to request smuggling vulnerabilities under certain conditions.

### Impact
If a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or `AIOHTTP_NO_EXTENSIONS` is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71

## Affected packages

- `aiohttp < 3.10.11`

## Remediation

Upgrade to a patched release:

- `aiohttp 3.10.11`
