A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Mpmath…
Priority MEDIUM 40CWE-770Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
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.
Why it matters now
EPSS 0.04179 90th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed mpmath (PyPI): 1.3.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | mpmath (PyPI) | before 1.3.0 | 1.3.0 | Patch available | GHSA-f865-m6cq-j9vx |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- mpmath (PyPI) Vendor— Affected before 1.3.0 Fixed in 1.3.0 Patch available GHSA-f865-m6cq-j9vx
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mpmath:mpmath:*:*:*:*:*:*:*:* | 1.0.0 – 1.2.1 | Vulnerable | Mpmath |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
- cpe:2.3:a:mpmath:mpmath:*:*:*:*:*:*:*:* Versions 1.0.0 – 1.2.1 Vulnerable ·Mpmath
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-f865-m6cq-j9vx mpmath (PyPI) Fixed in 1.3.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-29063
- 2026-10-03 Alias added: GHSA-f865-m6cq-j9vx
References
Patch 2
Advisory 6
Other 11
- https://www.npmjs.com/package/hosted-git-info
- https://github.com/mpmath/mpmath/releases/tag/1.3.0
- https://github.com/fredrik-johansson/mpmath/issues/548
- https://github.com/mpmath/mpmath/pull/570
- https://github.com/fredrik-johansson/mpmath/commit/c811b37c65a4372a7ce613111d2a508c204f9833
- https://github.com/mpmath/mpmath/commit/c811b37c65a4372a7ce613111d2a508c204f9833
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG
- https://lists.fedoraproject.org/archives/list/[email protected]/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA
- https://github.com/pypa/advisory-database/tree/main/vulns/mpmath/PYSEC-2021-427.yaml
- https://github.com/fredrik-johansson/mpmath
Sources
- CVE-2021-29063 · CVE Program
- CVE-2021-29063 · NVD
- FIRST EPSS
- GHSA-f865-m6cq-j9vx · GitHub Advisory Database · CC BY 4.0
- CVE-2021-29063 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences