Tenda HG9 Stack-Based Buffer Overflow Vulnerability in formPing6 Endpoint

Vulnerability

A stack-based buffer overflow vulnerability has been identified in the Tenda HG9 router, specifically in the firmware version 300001138. The issue arises in the IPv6 diagnostic ping endpoint '/boaform/formPing6', where the 'pingAddr' argument can be manipulated to overflow a local stack buffer. This vulnerability can be exploited remotely, potentially leading to a crash of the HTTP service or allowing for remote code execution by overwriting the return address on the stack.

Impact

Exploitation of this vulnerability causes a denial-of-service condition by crashing the HTTP service. Additionally, it allows for remote code execution by overwriting the return address on the stack, which can be used to redirect execution flow to arbitrary code.

Reproduction

To reproduce this vulnerability, send a POST request to the '/boaform/formPing6' endpoint with a 'pingAddr' payload that is at least 600 bytes long. The payload must be long enough to overflow the 512-byte buffer and trigger the 'ping6: bad' error condition, which can be achieved by providing an excessively long string that exceeds the buffer's capacity.

Added: Feb 22, 2026, 4:20 AM
Updated: Feb 22, 2026, 4:20 AM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
7.5
exploitability
7.0
remediation
0.0
relevance
3.2
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.