CVE-2026-54277: AIOHTTP: C HTTP Parser Bypasses max_line_size for Fragmented Lines

Published Jun 15, 2026
·
Updated

Summary

It is possible to bypass the maxlinesize check in parts of an HTTP request in the C parser.

Impact

If using the optimised C parser (the default in pre-built wheels), then an attacker may be able to send oversized lines through the HTTP parser and use an excessive amount of memory, potentially leading to DoS.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/5ab61bb4cd88f19b712f12c7c9295fe262bf804d

Other sources

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, it is possible to bypass the maxlinesize check in parts of an HTTP request in the C parser. If using the optimised C parser (the default in pre-built wheels), then an attacker may be able to send oversized lines through the HTTP parser and use an excessive amount of memory, potentially leading to DoS. This vulnerability is fixed in 3.14.1.

MITRE

Affected Software

2 affected componentsFixes available
pip/aiohttp<=3.14.0
3.14.1
aiohttp aiohttp<3.14.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/aiohttp to a version that resolves this vulnerability.

    Fixed in 3.14.1
  2. Upgrade

    Upgrade aiohttp to a version that resolves this vulnerability.

    Fixed in 3.14.1Patch 5ab61bb4cd88f19b712f12c7c9295fe262bf804d

Event History

Jun 15, 2026
Advisory Published
via GitHub·08:09 PM
Data Sourced
via GitHub·08:09 PM
DescriptionWeaknessAffected Software
Jun 22, 2026
CVE Published
via MITRE·04:37 PM
Data Sourced
via MITRE·04:37 PM
DescriptionWeakness
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-54277?

The severity of CVE-2026-54277 is rated at 28.

2

What does CVE-2026-54277 impact?

CVE-2026-54277 impacts the optimized C parser used in the pip/aiohttp software.

3

How can attackers exploit CVE-2026-54277?

Attackers can exploit CVE-2026-54277 by sending oversized lines through the HTTP parser, causing excessive memory usage.

4

How do I fix CVE-2026-54277?

To fix CVE-2026-54277, update to the latest version of pip/aiohttp that addresses this vulnerability.

5

What is the nature of the vulnerability in CVE-2026-54277?

CVE-2026-54277 is a bypass vulnerability related to the max_line_size check in the HTTP parser.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203