CVE
CVE-2021-29063
publishedpython-mpmath: Regular expression denial of service in the mpmathify function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-mpmathaarch64 | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13280-1 |
| Ubuntu | bionic | mpmath | Advisory build | 1.0.0-1ubuntu0.1~esm1 | USN-7160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-mpmathppc64le | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-mpmaths390x | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-mpmathx86_64 | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-mpmathaarch64 | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-mpmathppc64le | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13280-1 |
Show 21 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-mpmaths390x | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-mpmathx86_64 | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mpmathaarch64 | Advisory build | 1.3.0-3.4 | OPENSUSE-SU-2026:12018-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mpmathppc64le | Advisory build | 1.3.0-3.4 | OPENSUSE-SU-2026:12018-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mpmaths390x | Advisory build | 1.3.0-3.4 | OPENSUSE-SU-2026:12018-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mpmathx86_64 | Advisory build | 1.3.0-3.4 | OPENSUSE-SU-2026:12018-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mpmathaarch64 | Advisory build | 1.3.0-3.4 | OPENSUSE-SU-2026:12018-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mpmathppc64le | Advisory build | 1.3.0-3.4 | OPENSUSE-SU-2026:12018-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mpmaths390x | Advisory build | 1.3.0-3.4 | OPENSUSE-SU-2026:12018-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mpmathx86_64 | Advisory build | 1.3.0-3.4 | OPENSUSE-SU-2026:12018-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-mpmathaarch64 | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-mpmathppc64le | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-mpmaths390x | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-mpmathx86_64 | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13280-1 |
| Ubuntu | bionic | python-mpmath | Advisory build | 1.0.0-1ubuntu0.1~esm1 | USN-7160-1 |
| Ubuntu | bionic | python3-mpmath | Advisory build | 1.0.0-1ubuntu0.1~esm1 | USN-7160-1 |
| Ubuntu | focal | mpmath | Advisory build | 1.1.0-2ubuntu0.1~esm1 | USN-7160-1 |
| Ubuntu | focal | python3-mpmath | Advisory build | 1.1.0-2ubuntu0.1~esm1 | USN-7160-1 |
| Ubuntu | xenial | mpmath | Advisory build | 0.19-3ubuntu0.1~esm1 | USN-7160-1 |
| Ubuntu | xenial | python-mpmath | Advisory build | 0.19-3ubuntu0.1~esm1 | USN-7160-1 |
| Ubuntu | xenial | python3-mpmath | Advisory build | 0.19-3ubuntu0.1~esm1 | USN-7160-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
9- https://github.com/fredrik-johansson/mpmath/commit/46d44c3c8f3244017fe1eb102d564eb4ab8ef750
- https://github.com/mpmath/mpmath/releases/tag/1.3.0
- https://github.com/npm/hosted-git-info/pull/76
- https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md
- https://github.com/yetingli/SaveResults/blob/main/js/hosted-git-info.js
- FEDORA-2021-fc30c0de34 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA/
- FEDORA-2021-bc2153d8f0 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5/
- FEDORA-2021-244a18163c https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG/
- https://www.npmjs.com/package/hosted-git-info
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b2dbd19b0e082b91ad1ea1c91536ca13c1038e5f2b435764cfdaa7c92444fc0f
- Ingested
- 23 Sep 2026, 07:53:47 UTC
- Source record
- Official CVE record