CVE-2021-32837

published 17 Jan 2023 · updated 22 Dec 2025

mechanize vulnerable to ReDoS

8.0HighCVSS 7.5EPSS 29%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 29%. Fixed in 0.4.6.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
python-mechanize>=0.4.6 <0.4.60.4.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-32837 severity on Zeptric[![CVE-2021-32837](https://zeptric.io/badge/cve/CVE-2021-32837.svg)](https://zeptric.io/cve/CVE-2021-32837)