CVE-2025-6887 Tenda AC5 SetSysTimeCfg stack-based overflow

High 8.7 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the Tenda AC5 router via the SetSysTimeCfg endpoint, potentially leading to code execution.

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-6887?

CVE-2025-6887 is a high-severity memory corruption vulnerability in Tenda AC5, published on 30 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in Tenda AC5 15.03.06.47 and classified as critical. Affected by this issue is some unknown functionality of the file /goform/SetSysTimeCfg. The manipulation of the argument time/timeZone leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-121, CWE-119

Which versions are affected by CVE-2025-6887?

It affects 1 product.

Products include Tenda Ac5 Firmware.

How do I fix CVE-2025-6887?

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

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

Sources

Also known as GHSA-4fhc-366h-3575.

Is CVE-2025-6887 in your software?

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

Check your SBOMs for free