CVE-2024-51312 Memory corruption in n/a

Critical 9.8 Published Updated

A stack overflow in the Tenda TX9 router firmware allows attackers to execute arbitrary code or cause a denial of service via the SetStaticRouteCfg endpoint.

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

What is CVE-2024-51312?

CVE-2024-51312 is a critical memory corruption vulnerability in n/a, published on 20 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Tenda TX9 V22.03.02.20 firmware has a stack overflow vulnerability in the sub_42EEE0 function of the file /goform/SetStaticRouteCfg.

Weakness: CWE-121

Which versions are affected by CVE-2024-51312?

How do I fix CVE-2024-51312?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51312 exists.

Sources

Also known as GHSA-c5qf-ggv6-wvmw.

Is CVE-2024-51312 in your software?

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

Check your SBOMs for free