CVE-2025-51087: Tenda AC8V4 stack overflow in saveParentControlInfo

CVE-2025-51087 · Severity: high · CVSS 8.6 · Published 2025-07-24

A vulnerability exists in the Tenda AC8V4 router, a device used to provide wireless internet connectivity. An attacker can exploit this flaw by sending a specially crafted web request to the router's management interface. This could lead to a device crash, causing a service outage, or potentially allow the attacker to gain unauthorized control over the router and the data passing through it.

Technologies: Tenda Ac8, Tenda Ac8 Firmware, Tenda AC8V4. Vendors: Tenda.

Quick answers

Is CVE-2025-51087 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-51087 being exploited in the wild.
How severe is CVE-2025-51087?
High severity, with a CVSS score of 8.6, published 24 July 2025.
Which products and versions are affected?
Tenda AC8V4 V16.03.34.06.
Is there a fix for CVE-2025-51087?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2025-51087 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2025-51087?
Check whether you run Tenda Ac8, Tenda Ac8 Firmware or Tenda AC8V4 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stack-based buffer overflow (CWE-121) exists in the Tenda AC8V4 router firmware version V16.03.34.06. The vulnerability is located within the 'compare_parentcontrol_time' function, which processes requests sent to the '/goform/saveParentControlInfo' endpoint. The root cause is the use of the 'sscanf' function to copy the user-supplied 'time' POST parameter into a fixed-size stack buffer without adequate length validation. A remote, unauthenticated attacker can exploit this by sending a long string in the 'time' argument, leading to memory corruption. This can result in a denial-of-service (DoS) condition or potentially arbitrary code execution.

Affected products

  • Tenda AC8V4 V16.03.34.06

Timeline

  • 2025-07-24: disclosed
  • 2025-07-24: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.