You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
http.client reads infinite chunked response trailers or 1xx headers #150743
The http.client library can be trapped forever by a server sending infinite chunked response trailers or 1xx header responses more rapidly than any optional timeout= used on the request. This was reported to us as https://github.com/python/cpython/security/advisories/GHSA-w4q2-g22w-6fr4 by @YLChen-007 - low severity given it requires equivalent server resources to tie up a client so it isn't a DoS amplification. This builds upon the partial fix for #88188 for GHSA-hr7v-m862-8hh8 which did not address these cases.
CPython versions tested on:
CPython main branch all the way back through 3.10 (and presumably much older EoL versions... this is old code)
Activity
gh-150743: Limit trailer lines and interim responses read by http.cli…
Merge branch '3.14' into pythongh-150743-http-client-line-reading-lim…
[3.14] gh-150743: Limit trailer lines and interim responses read by h…
[3.15] gh-150743: Limit trailer lines and interim responses read by h…
gpshead commentedon Jun 28, 2026
Fixes are merging and/or assigned to their RMs to be merged for the security only backports.
[3.13] gh-150743: Limit trailer lines and interim responses read by h…
[3.11] gh-150743: Limit trailer lines and interim responses read by h…
[3.10] gh-150743: Limit trailer lines and interim responses read by h…
[3.12] gh-150743: Limit trailer lines and interim responses read by h…