Allocation of Resources Without Limits or Throttling Affecting mpmath package, versions <1.1.0-2ubuntu0.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
4.18% (90th percentile)

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 IDSNYK-UBUNTU2004-MPMATH-1312963
  • published22 Mar 2026
  • disclosed21 Jun 2021

Introduced: 21 Jun 2021

CVE-2021-29063  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 mpmath to version 1.1.0-2ubuntu0.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mpmath package and not the mpmath package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Mpmath v1.0.0 through v1.2.1 when the mpmathify function is called.

CVSS Base Scores

version 3.1