CVE-2026-13518
Received Received - Intake

Stack-Based Buffer Overflow in Tenda JD12L Router

Vulnerability report for CVE-2026-13518, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-29

Last updated on: 2026-06-29

Assigner: VulDB

Description

A vulnerability has been found in Tenda JD12L 16.03.53.23. This affects the function fromAddressNat of the file /goform/addressNat. The manipulation of the argument page leads to stack-based buffer overflow. Remote exploitation of the attack is possible. The exploit has been disclosed to the public and may be used.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-29
Last Modified
2026-06-29
Generated
2026-06-29
AI Q&A
2026-06-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
tenda jd12l 16.03.53.23
tenda jd12l_pro 16.03.53.23

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-119 The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
CWE-121 A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Impact Analysis

This vulnerability can have serious impacts including Denial of Service (DoS) by crashing the router's web server, arbitrary code execution allowing attackers to take control of the device, and potential information leakage from the device's memory.

An attacker exploiting this vulnerability could monitor network traffic, manipulate router functions, or use the compromised router as a pivot point to attack other devices on the network.

Executive Summary

CVE-2026-13518 is a stack-based buffer overflow vulnerability found in the Tenda JD12L Pro router firmware version 16.03.53.23. It occurs in the fromAddressNat function within the /goform/addressNat endpoint, where the user-controlled 'page' parameter is processed using the unsafe sprintf function without proper length validation.

Because the buffer used to store this input is fixed at 256 bytes, sending input larger than this size can overwrite adjacent memory. This can lead to application crashes, memory corruption, or arbitrary code execution.

The vulnerability can be exploited remotely without authentication by sending a specially crafted POST request with an oversized 'page' parameter, potentially allowing attackers to crash the device or execute malicious code.

Detection Guidance

This vulnerability can be detected by sending a specially crafted POST request to the /goform/addressNat endpoint of the Tenda JD12L Pro router running firmware version V16.03.53.23. The request should include an oversized 'page' parameter (e.g., 2048 bytes) which triggers the buffer overflow.

A practical detection method is to use a command-line tool like curl or a Python script to send this POST request and observe if the device crashes or behaves abnormally, indicating the presence of the vulnerability.

  • Example curl command to test the vulnerability: curl -X POST -d "page=$(python3 -c 'print("A"*2048)')" http://<router-ip>/goform/addressNat
  • Alternatively, use a Python script to send a POST request with a large 'page' parameter to check for crashes or unexpected behavior.
Mitigation Strategies

Immediate mitigation steps include avoiding exposure of the vulnerable endpoint to untrusted networks and restricting access to the router's management interface.

If possible, update the router firmware to a version where the vulnerability is fixed by replacing unsafe functions like sprintf with safer alternatives such as snprintf, implementing strict input length checks, and validating user input.

In the absence of an official patch, consider disabling remote management features or isolating the device within a secure network segment to reduce the risk of exploitation.

Additionally, monitor the device for unusual behavior such as crashes or unexpected reboots, which may indicate exploitation attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-13518. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart