Skip to content
Memory corruption Advisory Advanced CVE-2025-32010

Tenda AC6 V5.0 Cloud API stack-based buffer overflow vulnerability

The router's cloud API client copies a value from an HTTP response into a fixed-size stack buffer without checking length. An attacker who can intercept the router's request to the cloud service could overflow the stack and potentially execute arbitrary code.

Lilith >_> Follow

Originally disclosed on Cisco Talos

High 8.1 View original

A stack-based buffer overflow vulnerability exists in the Cloud API functionality of Tenda AC6 V5.0 V02.03.01.110. A specially crafted HTTP response can lead to arbitrary code execution.

Lilith >_>, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The code uses strcpy to copy a cloud-provided string into a fixed-size stack buffer without validating its length.

What the attacker needed

Attacker can intercept router's cloud traffic; likely via DNS poisoning; a device connected to the router

How it was found

  1. The router sends an HTTP request to the cloud API containing the MAC address of a connected device.
  2. The attacker intercepts the traffic, likely via DNS poisoning, and returns a crafted HTTP response.
  3. The response contains a JSON object with a 'result' list whose value is longer than the destination buffer.
  4. The router parses the response and stores the value in a heap buffer.
  5. The router later copies that value into a fixed-size stack buffer using strcpy, causing a stack overflow.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The router regularly contacts a cloud service and reads a reply. The reply can contain a long piece of text that the router copies into a small, fixed-size space in memory without checking its length. If an attacker can intercept that reply, they can overflow the space and possibly run their own code on the router.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Lilith >_>

View all

148 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.