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

Source: https://junglewise.ai/threats/cve-2025-51087-tenda-ac8v4-stack-overflow-in-saveparentcontrolinfo  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-07-24. Updated: 2026-07-05  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/ac8), [Tenda Ac8 Firmware](https://junglewise.ai/threats/technologies/ac8-firmware), [Tenda AC8V4](https://junglewise.ai/threats/technologies/ac8v4). Vendors: [Tenda](https://junglewise.ai/threats/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

- [https://github.com/TL-SN/IOT/blob/main/Tenda/Tenda-AC8v4%20%20V16.03.34.06/CVE-2025-51087.md](https://github.com/TL-SN/IOT/blob/main/Tenda/Tenda-AC8v4%20%20V16.03.34.06/CVE-2025-51087.md)

## Related threats

- [A vulnerability has been found in Tenda AC8 16.03.34.06. This impacts an unknown function of the file…](https://junglewise.ai/threats/cve-2025-12618-a-vulnerability-has-been-found-in-tenda-ac8-16-03-34-06-this)
- [Tenda AC8 buffer overflow in UPnP service](https://junglewise.ai/threats/cve-2025-61498-tenda-ac8-buffer-overflow-in-upnp-service)
- [Tenda AC8V4 heap overflow in GetParentControlInfo](https://junglewise.ai/threats/cve-2025-51089-tenda-ac8v4-heap-overflow-in-getparentcontrolinfo)
- [Tenda AC8V4 stack overflow in /goform/WifiGuestSet](https://junglewise.ai/threats/cve-2025-51088-tenda-ac8v4-stack-overflow-in-goform-wifiguestset)
- [Tenda AC8V4 stack overflow in SetSysTimeCfg](https://junglewise.ai/threats/cve-2025-51085-tenda-ac8v4-stack-overflow-in-setsystimecfg)
