← Vulnerability feed

Vulnerability record · CVE-2025-1340 · published 16 February 2025

CVE-2025-1340: Totolink x18 firmware memory buffer overflow vulnerability

TTotolink · X18 Firmware

A vulnerability classified as critical has been found in TOTOLINK X18 9.1.0cu.2024_B20220329. Affected is the function setPasswordCfg of the file /cgi-bin/cstecgi.cgi. The manipulation as part of String leads to stack-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

8.7 CVSS 4.0 High EPSS 17% · top 3.1% CWE-119 · Memory buffer overflowCWE-121 · Stack-based buffer overflow
8.7CVSS 4.0 base score, v2 9.0
17%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
5References
17 Jun 2026Last modified by NVD

Description

A vulnerability classified as critical has been found in TOTOLINK X18 9.1.0cu.2024_B20220329. Affected is the function setPasswordCfg of the file /cgi-bin/cstecgi.cgi. The manipulation as part of String leads to stack-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

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:X/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:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/stevenchen0x01/CVE2/blob/main/stack_overflow.md Broken Link
https://vuldb.com/?ctiid.295956 Permissions RequiredVDB Entry
https://vuldb.com/?id.295956 Third Party AdvisoryVDB Entry
https://vuldb.com/?submit.495368 Third Party AdvisoryVDB Entry
https://www.totolink.net/ Product

Track CVE-2025-1340 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-61044Totolink x18 firmware command injection vulnerabilityTOTOLINK X18 V9.1.0cu.2053_B20230309 was discovered to contain a command injection vulnerability via the agentName parameter in the setEasyMeshAgentC…EPSS 1.0%9.8CVE-2025-61045Totolink x18 firmware command injection vulnerabilityTOTOLINK X18 V9.1.0cu.2053_B20230309 was discovered to contain a command injection vulnerability via the mac parameter in the setEasyMeshAgentCfg fun…EPSS 1.5%9.8CVE-2025-29209Totolink x18 firmware command injection vulnerabilityTOTOLINK X18 v9.1.0cu.2024_B20220329 has an unauthorized arbitrary command execution in the enable parameter' of the sub_41105C function of cstecgi .…EPSS 1.2%9.8CVE-2025-29064Totolink x18 firmware code injection vulnerabilityAn issue in TOTOLINK x18 v.9.1.0cu.2024_B20220329 allows a remote attacker to execute arbitrary code via the sub_410E54 function of the cstecgi.cgi.EPSS 0.78%9.8CVE-2023-29800Totolink x18 firmware command injection vulnerabilityTOTOLINK X18 V9.1.0cu.2024_B20220329 was discovered to contain a command injection vulnerability via the FileName parameter in the UploadFirmwareFile…EPSS 2.0%9.8CVE-2023-29801Totolink x18 firmware command injection vulnerabilityTOTOLINK X18 V9.1.0cu.2024_B20220329 was discovered to contain multiple command injection vulnerabilities via the rtLogEnabled and rtLogServer parame…EPSS 2.0%9.8CVE-2023-29802Totolink x18 firmware command injection vulnerabilityTOTOLINK X18 V9.1.0cu.2024_B20220329 was discovered to contain a command injection vulnerability via the ip parameter in the setDiagnosisCfg function.EPSS 2.0%9.8CVE-2023-29803Totolink x18 firmware command injection vulnerabilityTOTOLINK X18 V9.1.0cu.2024_B20220329 was discovered to contain a command injection vulnerability via the pid parameter in the disconnectVPN function.EPSS 2.1%

Source: NIST National Vulnerability Database (record CVE-2025-1340), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.