{"cve":"CVE-2021-29063","nvd":{"published":"2021-06-21T20:15:09.477","modified":"2026-06-17T03:47:13.330","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770"],"references":["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"],"products":["fedoraproject:fedora","mpmath:mpmath"],"source":"nvd","synced_at":"2026-10-19T21:20:07.141963181+00:00"},"epss":{"cve":"CVE-2021-29063","score":0.04179,"percentile":0.90916,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-f865-m6cq-j9vx","url":"https://osv.dev/vulnerability/GHSA-f865-m6cq-j9vx","summary":"ReDOS in Mpmath","modified":"2026-09-10T03:49:07.864685752Z","packages":[{"ecosystem":"PyPI","name":"mpmath","purl":"pkg:pypi/mpmath","ranges":["<1.3.0"],"fixed":["1.3.0"]}]},{"id":"PYSEC-2021-427","url":"https://osv.dev/vulnerability/PYSEC-2021-427","summary":"","modified":"2023-11-08T04:05:32.795110Z","packages":[{"ecosystem":"PyPI","name":"mpmath","purl":"pkg:pypi/mpmath","ranges":["<1.3.0"],"fixed":["1.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}