All reports
High

mechanize Regular Expression Denial of Service vulnerability

Affected versions

Version ranges need review.

Affected versions
<0.4.6
Fixed version
0.4.6
Affected versions
< 0.4.6
Fixed version
0.4.6

Exploitation

CVE-2021-32837

Probability of exploitation in the next 30 days: 28.66%

FIRST EPSS · 2026-11-22

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.

Links