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

Tp-Link AX53 v1.0 tmpServer opcode 0x429 stack-based buffer overflow vulnerability

A stack-based buffer overflow exists in the tmpServer service's SmartNetSetClientList handler for opcode 0x429, where a JSON client_list entry is copied into a fixed 0x800 stack buffer. An attacker able to reach the service could send crafted packets to overflow the buffer and potentially achieve arbitrary code execution.

Lilith >_> Follow

Originally disclosed on Cisco Talos

Critical 9.1 View original

A stack-based buffer overflow vulnerability exists in the tmpServer SmartNetSetClientList() functionality of Tp-Link AX53 v1.0 1.3.1 Build 20241120 rel.54901(5553). A specially crafted set of network packets 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 handler copies a JSON-derived string into a fixed 0x800 stack buffer using strcpy and sprintf without bounding the length against the source data.

Impact

An attacker who can reach the tmpServer service could overflow the stack buffer and potentially execute arbitrary code on the router, though the service only listens on localhost and is reached via the cloud SSH forward.

What the attacker needed

Access to tmpServer via cloud SSH forward; authenticated HomeShield app session

How it was found

  1. Send an association request packet to move the connection status to 0x2.
  2. Send an association accept packet to move the status to 0x3.
  3. Send a data hello packet with opcode 0x5 to reach the data dispatch path.
  4. Send a data packet with service type and opcode 0x429 carrying a JSON body with an oversized client_list entry.

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.

A router runs a small background service that the phone app talks to. That service copies text from a network message into a fixed-size space in memory without checking the length, so a long message spills over into neighbouring memory. An attacker who can send such messages could crash the service or, in principle, 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.