Allocation of Resources Without Limits or Throttling Affecting python package, versions [,3.14.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PYTHON-14171956
  • published3 Dec 2025
  • disclosed1 Dec 2025
  • creditUnknown

Introduced: 1 Dec 2025

NewCVE-2025-13836  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade python to version 3.14.1 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the http.client.HTTPResponse.read() function when used without arguments. An attacker can exhaust system memory and potentially cause application or system instability by sending a crafted HTTP response with a very large or manipulated Content-Length header to a client that reads the response without specifying a byte limit.

Note:

This is only exploitable if the application connects to a malicious or compromised server and does not set an explicit read size when using the read() function.

Workaround

This vulnerability can be mitigated by always specifying a safe, explicit byte limit when reading data using the read() function.

CVSS Base Scores

version 4.0
version 3.1