{"cve":"CVE-2021-32837","nvd":{"published":"2023-01-17T22:15:10.533","modified":"2026-06-17T03:53:43.880","status":"Modified","description":"mechanize, a library for automatically interacting with HTTP web servers, contains a regular expression that is vulnerable to regular expression denial of service (ReDoS) prior to version 0.4.6. If a web server responds in a malicious way, then mechanize could crash. Version 0.4.6 has a patch for the issue.","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-1333"],"references":["https://github.com/python-mechanize/mechanize/blob/3acb1836f3fd8edc5a758a417dd46b53832ae3b5/mechanize/_urllib2_fork.py#L878-L879","https://github.com/python-mechanize/mechanize/commit/dd05334448e9f39814bab044d2eaa5ef69b410d6","https://github.com/python-mechanize/mechanize/releases/tag/v0.4.6","https://lists.debian.org/debian-lts-announce/2023/06/msg00022.html","https://securitylab.github.com/advisories/GHSL-2021-108-python-mechanize-mechanize/"],"products":["mechanize_project:mechanize"],"source":"nvd","synced_at":"2026-10-19T21:37:34.931465858+00:00"},"epss":{"cve":"CVE-2021-32837","score":0.28872,"percentile":0.98153,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-g3pv-pj5f-3hfq","url":"https://osv.dev/vulnerability/GHSA-g3pv-pj5f-3hfq","summary":"mechanize Regular Expression Denial of Service vulnerability","modified":"2025-12-22T16:59:04.476381Z","packages":[{"ecosystem":"PyPI","name":"mechanize","purl":"pkg:pypi/mechanize","ranges":["<0.4.6"],"fixed":["0.4.6"]}]},{"id":"PYSEC-2023-25","url":"https://osv.dev/vulnerability/PYSEC-2023-25","summary":"","modified":"2026-06-10T17:02:09.109644376Z","packages":[{"ecosystem":"PyPI","name":"mechanize","purl":"pkg:pypi/mechanize","ranges":["<0.4.6"],"fixed":["0.4.6"]}]}],"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."]}