# CVE-2021-26091: Use of a cryptographically weak pseudo-random number generator in FortiMail

- Vendor: Fortinet, FortiMail
- Severity: MEDIUM (CVSS 3.1 6.9)
- Exploited (CISA KEV): not listed
- EPSS: 0.3% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-21-031, https://fortiguard.com/advisory/FG-IR-21-031
- Published: 2025-03-24; updated: 2025-03-24
- Page: https://patchtonight.com/cve/CVE-2021-26091/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiMail 6.4.0 to 6.4.4 | 6.4.5 or later |
| FortiMail 6.2.0 to 6.2.9 | Upgrade past 6.2.9; see the advisory |
| FortiMail 6.2 | 6.2.* or later |

## The vendor's description

A use of a cryptographically weak pseudo-random number generator vulnerability in the authenticator of the Identity Based Encryption service of FortiMail 6.4.0 through 6.4.4, and 6.2.0 through 6.2.7 may allow an unauthenticated attacker to infer parts of users authentication tokens and reset their credentials.

## Sources

- [Fortinet advisory](https://fortiguard.com/advisory/FG-IR-21-031)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
