CVE-2025-24477 Memory corruption in FortiOS

Medium 4.0 Published Updated

A heap-based buffer overflow in FortiOS allows attackers to escalate privileges via a specially crafted CLI command.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-24477?

CVE-2025-24477 is a medium-severity memory corruption vulnerability in Fortinet Fortios, published on 15 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A heap-based buffer overflow vulnerability in Fortinet FortiOS 7.6.0 through 7.6.2, FortiOS 7.4.0 through 7.4.7, FortiOS 7.2.4 through 7.2.12 allows an attacker to escalate its privileges via a specially crafted CLI command

Weakness: CWE-122

Which versions are affected by CVE-2025-24477?

It affects 1 product.

Products include Fortinet Fortios.

How do I fix CVE-2025-24477?

No fix has been published for CVE-2025-24477 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-24477 being exploited?

There is no known exploitation of CVE-2025-24477 in the wild and no public exploit code.

All Fortinet Fortios vulnerabilities

Sources

Also known as GHSA-36g4-wrrw-63fh.

Is CVE-2025-24477 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free