Skip to content
Memory corruption Advisory Advanced CVE-2026-10132

Totolink X2000R boa formIpQos mac stack-based buffer overflow vulnerability

The router's web server copies the user-supplied mac POST parameter into a fixed-size stack buffer without checking its length. An authenticated attacker could send an oversized value and overwrite the saved return address, potentially leading to arbitrary code execution.

Lilith Wyatt Follow

Originally disclosed on Cisco Talos

Critical 9.1 View original

A stack-based buffer overflow vulnerability exists in the boa formIpQos mac functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution.

Lilith Wyatt, 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

Impact

An authenticated attacker could achieve arbitrary code execution on the device, and the crash trace shows the saved return address being overwritten with attacker-controlled bytes.

What the attacker needed

Valid admin credentials; network access to the router's web UI

How it was found

  1. Authenticate to the router's web interface via the login page.
  2. Send a POST request to the formIpQos page with sqosadvAdd set to 1.
  3. Include a deviceName value shorter than 0x40 characters.
  4. Supply an oversized mac value to overflow the stack buffer.

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 buffer overflow happens when a program copies more data into a fixed-size space in memory than it can hold, so the extra data spills over and overwrites nearby values. Here the router's web interface takes a value from a form field and copies it into a small reserved area on the stack without checking how long it is. By sending a very long value, an attacker can control what the program does next, which can lead to running 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 Wyatt

View all

28 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.