CVE-2025-22258 Memory corruption in FortiOS
Attackers can escalate privileges via crafted HTTP requests due to a heap-based buffer overflow in multiple Fortinet network products.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-22258?
CVE-2025-22258 is a medium-severity memory corruption vulnerability in Fortinet Fortios, published on 14 Oct 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A heap-based buffer overflow in Fortinet FortiSRA 1.5.0, 1.4.0 through 1.4.2, FortiPAM 1.5.0, 1.4.0 through 1.4.2, 1.3.0 through 1.3.1, 1.2.0, 1.1.0 through 1.1.2, 1.0.0 through 1.0.3, FortiProxy 7.6.0 through 7.6.1, 7.4.0 through 7.4.7, FortiOS 7.6.0 through 7.6.2, 7.4.0 through 7.4.6, 7.2.0 through 7.2.10, 7.0.2 through 7.0.16, FortiSwitchManager 7.2.1 through 7.2.5 allows attackers to escalate their privilege via specially crafted http requests.
Weakness: CWE-122
Which versions are affected by CVE-2025-22258?
It affects 5 products.
Products include Fortinet Fortios, Fortinet Fortipam, Fortinet Fortiproxy, Fortinet Fortisra, Fortinet Fortiswitchmanager.
How do I fix CVE-2025-22258?
No fix has been published for CVE-2025-22258 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-22258 being exploited?
There is no known exploitation of CVE-2025-22258 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortios
Sources
Also known as GHSA-5hxp-wcvm-357w.