fail2ban is a daemon to ban hosts that cause multiple authentication errors. In versions 0.9.7 and prior, 0.10.0 through 0.10.6, and 0.11.0 through 0.11.2, there is a vulnerability that leads to possible remote code execution in the mailing action mail-whois. Command `mail` from mailutils package used in mail actions like `mail-whois` can execute command if unescaped sequences (`\n~`) are available in "foreign" input (for instance in whois output). To exploit the vulnerability, an attacker would need to insert malicious characters into the response sent by the whois server, either via a MITM attack or by taking over a whois server. The issue is patched in versions 0.10.7 and 0.11.3. As a workaround, one may avoid the usage of action `mail-whois` or patch the vulnerability manually.
Conclusion & alert: CVE-2021-32749 is rated Exploit Available (56.3/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.30%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 1.96% | 0.30% | -1.66% |
| 2 | 2025-11-18 | 0.30% | 1.96% | +1.66% |
| 3 | 2025-10-20 | — | 0.30% | — |
Full EPSS history (23 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.1 | 3.1 | MEDIUM |
|
1.6 | 4.0 | [email protected] |
| 8.1 | 3.1 | HIGH |
|
2.2 | 5.9 | [email protected] |
| 6.8 | 2.0 | MEDIUM |
|
8.6 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2021-32749: 1 source package rows (fail2ban); 10 state rows across 9 repos (3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 8, open 2. | https://security.alpinelinux.org/vuln/CVE-2021-32749 |
debian
|
not yet assigned | CVE-2021-32749 not yet assigned priority: Debian including 1 source packages (fail2ban), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-32749 |
gentoo
|
high | CVE-2021-32749: 1 GLSA(s) (202310-13), 1 atom(s) (net-mail/mailutils); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-32749 |
ubuntu
|
medium | CVE-2021-32749 medium priority: Ubuntu including 1 source packages (fail2ban), 15 status rows across 15 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, trusty, upstream, xenial): not-affected 8, released 5, ignored 2. | https://ubuntu.com/security/CVE-2021-32749 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| fail2ban | fail2ban | <= 0.9.7 | cpe:2.3:a:fail2ban:fail2ban:*:*:*:*:*:*:*:* |
| fail2ban | fail2ban | >= 0.10.0, < 0.10.7 | cpe:2.3:a:fail2ban:fail2ban:*:*:*:*:*:*:*:* |
| fail2ban | fail2ban | >= 0.11.0, < 0.11.3 | cpe:2.3:a:fail2ban:fail2ban:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |