CVE-2021-29063: Mpmath - Regular Expression Denial of Service
- Cve: CVE-2021-29063
- Name: Mpmath - Regular Expression Denial of Service
- Description: 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.
- Impact: Attackers can cause denial of service by triggering excessive regex processing, leading to service unavailability.
- Remediation: Update to the latest version of Mpmath where the vulnerability is fixed.
- Vulnerability type: misconfiguration
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.04179
- Epss percentile: 0.91072
- Assignee: [email protected]
- Published at: 2021-06-21T20:15:09Z
- Age in days: 1982
- Modified at: 2026-06-17T03:47:13Z
- Patch available: yes
- Public exploits total: 1
- References total: 8
- Products total: 2
- Oss: yes
- Projects total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-29063
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md | nvd | 2021-06-21 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mpmath:mpmath | >= 1.0.0, <= 1.2.1 | no | nvd | /v1/products/mpmath/mpmath |
| fedoraproject:fedora | = 35, = 34, = 33 | no | nvd | /v1/products/fedoraproject/fedora |
Projects
Same in every row:
- Indexed: yes
| Repository | Link kinds | Url |
|---|---|---|
| fredrik-johansson/mpmath | commit, issues, package | /v1/repositories/fredrik-johansson/mpmath |
| mpmath/mpmath | commit, pull, releases | /v1/repositories/mpmath/mpmath |
| npm/hosted-git-info | pull | /v1/repositories/npm/hosted-git-info |
Index
- Repositories: 42
- Repositories high signal: 27
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-06-21
- Remote: yes
- Exposed hosts: 49161
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports