CVE-2025-54399 Memory corruption in WGR-500

High 8.8 Published Updated

A stack-based buffer overflow in the ping command allows remote attackers to execute arbitrary code via crafted HTTP requests.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-54399?

CVE-2025-54399 is a high-severity memory corruption vulnerability in Planet WGR-500, published on 7 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Multiple stack-based buffer overflow vulnerabilities exist in the formPingCmd functionality of Planet WGR-500 v1.3411b190912. A specially crafted series of HTTP requests can lead to stack-based buffer overflow. An attacker can send a series of HTTP requests to trigger these vulnerabilities.This buffer overflow is related to the `ipaddr` request parameter for composing the `"ping -c <counts> <ipaddr> 2>&1 > %s &"` string.

Weakness: CWE-121

Which versions are affected by CVE-2025-54399?

It affects 1 product.

Products include Planet Wgr-500 Firmware.

How do I fix CVE-2025-54399?

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

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

Sources

Also known as GHSA-2php-v593-f386.

Is CVE-2025-54399 in your software?

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

Check your SBOMs for free