Fortinet FortiMail 6.4 vulnerabilities

33 published vulnerabilities affect Fortinet FortiMail 6.4.

33CVEs
4critical (CVSS 9+)
14high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The newest release on the 6.4 line is 6.4.9, with 8 known CVEs. The newest Fortinet FortiMail release we know of is 8.0.3, with no known CVEs.

Upgrade toFixesStill openNew in that release
6.4.9newest 6.4 release25 of 334 critical8CVE-2023-48795, CVE-2021-26100, CVE-2024-46663 and 5 morenone
8.0.3newest releaseall 334 criticalnonenone

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting Fortinet FortiMail 6.4

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2024-6387Openssh: regresshion - race condition in ssh allows rce/dos8.1Proof of concept100%6.4.9vendor advisory
CVE-2021-36166An improper authentication vulnerability in FortiMail before 7.0.1 may allow a remote attacker to efficiently guess one administrative account's authentication…9.8None known1%6.4.6vendor advisory
CVE-2021-32586An improper input validation vulnerability in the web server CGI facilities of FortiMail before 7.0.1 may allow an unauthenticated attacker to alter the…9.8None known1%6.4.6vendor advisory
CVE-2021-24007Multiple improper neutralization of special elements of SQL commands vulnerabilities in FortiMail before 6.4.4 may allow a non-authenticated attacker to…9.8None known1%6.4.4vendor advisory
CVE-2021-24020A missing cryptographic step in the implementation of the hash digest algorithm in FortiMail 6.4.0 through 6.4.4, and 6.2.0 through 6.2.7 may allow an…9.8None knownunder 1%6.4.5CVE record
CVE-2023-36556Email account takeover in same web domain8.8None known1%6.4.8vendor advisory
CVE-2021-24015An improper neutralization of special elements used in an OS Command vulnerability in the administrative interface of FortiMail before 6.4.4 may allow an…8.8None known1%6.4.4vendor advisory
CVE-2021-22129Multiple instances of incorrect calculation of buffer size in the Webmail and Administrative interface of FortiMail before 6.4.5 may allow an authenticated…8.8None known1%6.4.5vendor advisory
CVE-2023-33302A buffer copy without checking size of input ('classic buffer overflow') in Fortinet FortiMail webmail and administrative interface version 6.4.0 through…8.8None knownunder 1%6.4.5CVE record
CVE-2022-27488Cross-site scripting forgery (CSRF) in HTTPd CLI console8.8None knownunder 1%6.4.7vendor advisory
CVE-2021-26095The combination of various cryptographic issues in the session management of FortiMail 6.4.0 through 6.4.4 and 6.2.0 through 6.2.6, including the encryption…8.8None knownunder 1%6.4.5CVE record
CVE-2022-26122An insufficient verification of data authenticity vulnerability in FortiClient, FortiMail and FortiOS AV engines version 6.2.168 and below and version 6.4.274…8.6None knownunder 1%–NVD
CVE-2022-22299A format string vulnerability in the command line interpreter of FortiADC version 6.0.0 through 6.0.4, FortiADC version 6.1.0 through 6.1.5, FortiADC version…7.8None knownunder 1%–NVD
CVE-2023-48795Impact of Terrapin SSH Attack5.9Proof of concept94%–vendor advisory
CVE-2021-26091A use of a cryptographically weak pseudo-random number generator vulnerability in the authenticator of the Identity Based Encryption service of FortiMail 6.4.0…7.5None knownunder 1%6.4.5CVE record
CVE-2021-26090A missing release of memory after its effective lifetime vulnerability in the Webmail of FortiMail 6.4.0 through 6.4.4 and 6.2.0 through 6.2.6 may allow an…7.5None known1%6.4.5CVE record
CVE-2021-26100A missing cryptographic step in the Identity-Based Encryption service of FortiMail before 7.0.0 may allow an unauthenticated attacker who intercepts the…7.5None knownunder 1%7.0.0CVE record
CVE-2023-45582Login mechanism without rate limitation7.3None knownunder 1%6.4.9vendor advisory
CVE-2021-36193Multiple stack-based buffer overflows in the command line interpreter of FortiWeb before 6.4.2 may allow an authenticated attacker to achieve arbitrary code…7.2None knownunder 1%6.4.7CVE record
CVE-2024-46663Stack buffer overflow in CLI command6.7None knownunder 1%7.2.7vendor advisory
CVE-2024-56497Restricted Shell Escape via Argument Injection6.7None knownunder 1%6.4.8vendor advisory
CVE-2021-43062A improper neutralization of input during web page generation ('cross-site scripting') in Fortinet FortiMail version 7.0.1 and 7.0.0, version 6.4.5 and below…6.1Proof of concept13%6.4.6NVD
CVE-2021-42757A buffer overflow in the TFTP client library of FortiOS before 6.4.7 and FortiOS 7.0.0 through 7.0.2, may allow an authenticated local attacker to achieve…6.7None knownunder 1%6.4.7CVE record
CVE-2022-39945Inter-domain information leakage6.5None knownunder 1%–vendor advisory
CVE-2021-24013Multiple Path traversal vulnerabilities in the Webmail of FortiMail before 6.4.4 may allow a regular user to obtain unauthorized access to files and data via…6.5None known1%6.4.4vendor advisory
CVE-2022-23439A externally controlled reference to a resource in another sphere vulnerability in Fortinet allows attacker to poison web caches via crafted HTTP requests…6.1None knownunder 1%7.0.4CVE record
CVE-2022-26114Cross-site scripting (XSS) in Webmail6.1None knownunder 1%7.2.0vendor advisory
CVE-2023-36633User can see and modify address book folders title of other users5.4None knownunder 1%7.0.6vendor advisory
CVE-2022-29056A improper restriction of excessive authentication attempts vulnerability in Fortinet FortiMail version 6.4.0, version 6.2.0 through 6.2.4 and before 6.0.9…5.3None known2%6.4.1CVE record
CVE-2021-24008An exposure of sensitive system information to an unauthorized control sphere vulnerability in FortiDDoS version 5.4.0, version 5.3.2 and below, version 5.2.0…5.3None knownunder 1%6.4.2NVD
CVE-2021-32591A missing cryptographic steps vulnerability in the function that encrypts users' LDAP and RADIUS credentials in FortiSandbox before 4.0.1, FortiWeb before…5.3None knownunder 1%–NVD
CVE-2021-26099Missing cryptographic steps in the Identity-Based Encryption service of FortiMail before 7.0.0 may allow an attacker who comes in possession of the encrypted…4.9None knownunder 1%7.0.0CVE record
CVE-2024-40588Path traversal vulnerability in CLI4.4None knownunder 1%7.4.4vendor advisory

Other Fortinet FortiMail 6.4 releases

6.4.98 6.4.811 6.4.713 6.4.617 6.4.522 6.4.428 6.4.231 6.4.133 6.4.034

All Fortinet FortiMail versions

How this list is made

These are the CVEs Dawnsentry matches to each Fortinet FortiMail version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.