Allocation of Resources Without Limits or Throttling Affecting nlsq package, versions [,0.3.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-PYTHON-NLSQ-14862287
  • published5 Jan 2026
  • disclosed1 Jan 2026
  • creditUnknown

Introduced: 1 Jan 2026

CVE NOT AVAILABLE CWE-770  (opens in a new tab)

How to fix?

Upgrade nlsq to version 0.3.1 or higher.

Overview

nlsq is a GPU/TPU accelerated nonlinear least-squares curve fitting using JAX

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to missing input size validation for arrays and Jacobians. An attacker can cause memory exhaustion by providing arrays with excessive data points, or Jacobian elements.

References

CVSS Base Scores

version 4.0
version 3.1