High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-29063
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:44 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-29063
Complete source record
{
"id": "89702b4cfdcf633ef84d6c4fbc7f1905f683f94e20cd08ca612ec07ddcbae496",
"url": "https://osv.dev/vulnerability/CVE-2021-29063",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-29063",
"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.",
"evidence": "osv:CVE-2021-29063",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-29063",
"aliases": [
"CVE-2021-29063",
"GHSA-f865-m6cq-j9vx",
"PYSEC-2021-427"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mpmath/mpmath",
"type": "GIT",
"events": [
{
"introduced": "8e21a638727567914536f4a4a63aa5fa204c40f0"
},
{
"last_affected": "c6a35f9ee7c294bcf4e0517bc76b268843db9499"
},
{
"fixed": "46d44c3c8f3244017fe1eb102d564eb4ab8ef750"
},
{
"fixed": "b5c04506ef0cd4a1f1213f8389ee21c9c3551582"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mpmath:mpmath:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.0"
},
{
"last_affected": "1.2.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "46d44c3c8f3244017fe1eb102d564eb4ab8ef750"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "b5c04506ef0cd4a1f1213f8389ee21c9c3551582"
}
],
"source": "REFERENCES_TAG",
"original_tag": "1.3.0"
}
]
}
}
],
"versions": [
"1.2.1",
"1.2.0-rebuild",
"1.2.0",
"1.1.0",
"1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29063.json"
}
}
],
"modified": "2026-10-20T10:54:38.719328232Z",
"provider": "osv",
"references": [
"https://github.com/mpmath/mpmath/releases/tag/1.3.0",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG/",
"https://www.npmjs.com/package/hosted-git-info",
"https://github.com/yetingli/SaveResults/blob/main/js/hosted-git-info.js",
"https://github.com/fredrik-johansson/mpmath/commit/46d44c3c8f3244017fe1eb102d564eb4ab8ef750",
"https://github.com/npm/hosted-git-info/pull/76",
"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "33"
},
{
"last_affected": "33"
},
{
"introduced": "34"
},
{
"last_affected": "34"
},
{
"introduced": "35"
},
{
"last_affected": "35"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-29063",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385792,
"published_at": "2021-06-21T20:15:09.477+00:00"
}