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

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

A stack-based buffer overflow exists in the tmpServer service of the TP-Link Archer AX53 router when handling opcode 0x1003. An attacker who can reach the service could send a crafted packet to overwrite the stack and potentially execute arbitrary code.

Lilith >_> Follow

Originally disclosed on Cisco Talos

Critical 9.1 View original

A stack-based buffer overflow vulnerability exists in the tmpServer opcode 0x1003 functionality of Tp-Link AX53 v1.0 1.3.1 Build 20241120 rel.54901(5553). A specially crafted 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 function copies the attacker-controlled payload length into a fixed 0x400-byte stack buffer without bounds checking.

Impact

An attacker could overwrite the stack and potentially execute arbitrary code, though the service is only reachable through the cloud SSH port forward to localhost.

What the attacker needed

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

How it was found

  1. Send an ASSOCIATION packet to move the connection status from 1 to 2.
  2. Send a second ASSOCIATION packet to move the status from 2 to 3.
  3. Send a DATA HELLO packet with opcode 5 to reach the data handling path.
  4. Send a DATA packet with service type 0xf1 and opcode 0x1003 containing an oversized payload.

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 listens only on the device itself. The service copies data from a network message into a fixed-size space in memory without checking the length. If the message is longer than that space, it spills over and can overwrite nearby memory, which may let an attacker run their own code.

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.