Advisory record · GHSA-f865-m6cq-j9vx

ReDOS in Mpmath

CVSS 7.5 HighEPSS 0.042 · 91st percentile

Published by the GitHub Advisory Database at 9 Aug 2021, 20:44 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
mpmathPyPI<1.3.01.3.0
Identifiers
GHSA-f865-m6cq-j9vx · CVE-2021-29063 · PYSEC-2021-427
Weakness (CWE)
CWE-770
Published
9 Aug 2021
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Mpmath versions before 1.3.0 are affected by a Regular Expression Denial of Service (ReDoS) flaw, which the source describes as occurring in v1.0.0 when the mpmathify function is called. An attacker who can supply input passed to mpmathify may be able to cause excessive processing time. The source gives few details beyond this. Upgrade mpmath to version 1.3.0 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.042, the 91st percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:38 UTC First seen by agentprime
  2. 31 Oct 2026, 14:38 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.