CVE-2025-60685
JSON

5.1medium

A stack buffer overflow exists in the ToToLink A720R Router firmware V4.1.5cu.614B20230630 within the sysconf binary (sub401EE0 function).

Severity
5.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.26% (higher than 11% of CVEs)
Published
Last changed
Assigned by
mitre

Description

A stack buffer overflow exists in the ToToLink A720R Router firmware V4.1.5cu.614_B20230630 within the sysconf binary (sub_401EE0 function). The binary reads the /proc/stat file using fgets() into a local buffer and subsequently parses the line using sscanf() into a single-byte variable with the %s format specifier. Maliciously crafted /proc/stat content can overwrite adjacent stack memory, potentially allowing an attacker with filesystem write privileges to execute arbitrary code on the device.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
totolink a720r_firmware4.1.5cu.614_b20230630NVD

Classification

CWE-121

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

A stack buffer overflow exists in the ToToLink A720R Router firmware V4.1.5cu.614_B20230630 within the sysconf binary (sub_401EE0 function). The binary reads the /proc/stat file using fgets() into a local buffer and subsequently parses the line using sscanf() into a single-byte variable with the %s format specifier. Maliciously crafted /proc/stat content can overwrite adjacent stack memory, potentially allowing an attacker with filesystem write privileges to execute arbitrary code on the device.

NVD (es)

Existe un desbordamiento de búfer de pila en el firmware del router ToToLink A720R V4.1.5cu.614_B20230630 dentro del binario sysconf (función sub_401EE0). El binario lee el archivo /proc/stat usando fgets() en un búfer local y posteriormente analiza la línea usando sscanf() en una variable de un solo byte con el especificador de formato %s. Contenido de /proc/stat creado maliciosamente puede sobrescribir la memoria de pila adyacente, lo que podría permitir a un atacante con privilegios de escritura en el sistema de archivos ejecutar código arbitrario en el dispositivo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-60685 changed 2026-07-05CVE Terms of Use
NVDCVE-2025-60685 changed 2026-11-05Public domain