CVE-2025-5798
Published: 06 June 2025
Summary
CVE-2025-5798 is a high-severity Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119) vulnerability in Tenda Ac8 Firmware. Its CVSS base score is 7.4 (High).
Operationally, 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 stack-based buffer overflow vulnerability exists in Tenda AC8 firmware version 16.03.34.09 within the fromSetSysTime function of the /goform/SetSysTimeCfg endpoint. The flaw, tracked as CVE-2025-5798 and assigned CWE-119 and CWE-121, arises from improper handling of the timeType argument and carries a CVSS 4.0 score of 7.4 reflecting network attack vector, low complexity, and high impact on confidentiality, integrity, and availability.
An authenticated remote attacker can supply a crafted timeType value to trigger the overflow, potentially leading to arbitrary code execution or denial of service. The vulnerability can be reached over the network without user interaction, and a working exploit has already been made public.
Public references include detailed technical write-ups on VulDB and a Notion page that reproduce the issue, along with a link to the vendor site; however, no official patch or mitigation guidance is described in the available references. The associated EPSS score has remained flat at 0.0157 with no material increase since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-17365
Vulnerability details
A vulnerability was found in Tenda AC8 16.03.34.09. It has been classified as critical. Affected is the function fromSetSysTime of the file /goform/SetSysTimeCfg. The manipulation of the argument timeType leads to stack-based buffer overflow. It is possible to launch the…
more
attack remotely. The exploit has been disclosed to the public and may be used.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
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.
Ongoing control assessments and code testing (static/dynamic analysis, fuzzing) surface memory buffer restriction failures, which are then remediated before release.
Managed runtimes used by platform-independent applications (e.g., JVM, CLR) enforce memory safety, preventing most buffer overflows that require direct memory manipulation.
Memory protections (e.g., W^X, ASLR) make exploitation of buffer-boundary violations far harder to turn into code execution.
Detects exploitation attempts that produce memory corruption, crashes, or anomalous behavior.