Cyber Resilience

CVE-2025-5795

HighPublic PoC

Published: 06 June 2025

Published
06 June 2025
Modified
09 June 2025
KEV Added
Patch
CVSS Score v4 7.4 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0157 81.9th percentile
Risk Priority 16 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-5795 is a high-severity Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119) vulnerability in Tenda Ac5 Firmware. Its CVSS base score is 7.4 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 18.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

A critical buffer overflow vulnerability exists in Tenda AC5 firmware versions 1.0 and 15.03.06.47. The flaw resides in the fromadvsetlanip function of the /goform/AdvSetLanip endpoint, where improper handling of the lanMask argument allows an attacker to overwrite memory. The issue is tracked under CWE-119 and CWE-120 and carries a CVSS 4.0 score of 7.4.

An authenticated remote attacker can supply a crafted lanMask value to trigger the overflow, potentially achieving arbitrary code execution or a denial of service on the device. Public exploit code has already been released, enabling straightforward reproduction of the attack over the network without user interaction.

No vendor advisory or patch information is provided in the available references, and the Tenda support site does not currently list a firmware update addressing this CVE. The EPSS score remains flat at 0.0157 with no observed increase since disclosure.

EU & UK References

Vulnerability details

A vulnerability, which was classified as critical, was found in Tenda AC5 1.0/15.03.06.47. This affects the function fromadvsetlanip of the file /goform/AdvSetLanip. The manipulation of the argument lanMask leads to buffer overflow. It is possible to initiate the attack remotely.…

more

The exploit has been disclosed to the public and may be used.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Why these techniques?

Buffer overflow in the remotely accessible web management interface (/goform/AdvSetLanip) of the Tenda AC5 router enables exploitation of a public-facing application.

Affected Assets

tenda
ac5 firmware
15.03.06.47

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-119 CWE-120

Managed runtimes used by platform-independent applications (e.g., JVM, CLR) enforce memory safety, preventing most buffer overflows that require direct memory manipulation.

addresses: CWE-119

Ongoing control assessments and code testing (static/dynamic analysis, fuzzing) surface memory buffer restriction failures, which are then remediated before release.

addresses: CWE-119

Memory protections (e.g., W^X, ASLR) make exploitation of buffer-boundary violations far harder to turn into code execution.

addresses: CWE-119

Detects exploitation attempts that produce memory corruption, crashes, or anomalous behavior.

References