{"id":"CVE-2022-24355","aliases":["CVE-2022-24355"],"related":[],"kind":"vulnerability","state":"published","title":"This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link TL-WR940N 3.20.1 Build…","summary":"This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link TL-WR940N 3.20.1 Build 200316 Rel.34392n (5553) routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the parsing of file name extensions. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-13910.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link TL-WR940N 3.20.1 Build 200316 Rel.34392n (5553) routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the parsing of file name extensions. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-13910.","source":"cvelist"},{"lang":"es","text":"Esta vulnerabilidad permite a atacantes adyacentes a la red ejecutar código arbitrario en las instalaciones afectadas de los routers TP-Link TL-WR940N versión 3.20.1 Build 200316 Rel.34392n (5553). No es requerida autenticación para explotar esta vulnerabilidad. El fallo específico se presenta en el análisis de las extensiones de los nombres de los archivos. El problema es debido a que no es comprobada apropiadamente la longitud de los datos suministrados por el usuario antes de copiarlos en un búfer de longitud fija en la región stack de la memoria. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de root. Era ZDI-CAN-13910","source":"nvd"}],"published":"2022-02-18T19:52:05.000Z","modified":"2026-06-17T04:31:41.207Z","severity":{"scorer":"zdi","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"zdi","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:A/AC:L/Au:N/C:C/I:C/A:C","score":8.3,"rating":"HIGH"}],"cwes":["CWE-121","CWE-787"],"affected":[{"ranges":[{"version":"3.20.1 Build 200316 Rel.34392n (5553)","status":"affected"}],"vendor":"TP-Link","product":"TL-WR940N","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"211111"}],"vendor":"tp-link","product":"tl-wr940n_firmware","cpe":"cpe:2.3:o:tp-link:tl-wr940n_firmware:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-22-265/","tags":["third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Vadym Kolisnichenko"],"assigner":"zdi","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24355","url":"https://www.cve.org/CVERecord?id=CVE-2022-24355","licence":"CVE Terms of Use","modified":"2024-08-03T04:07:02.512Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24355","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24355","licence":"Public domain","modified":"2026-06-17T04:31:41.207Z"}],"updatedAt":"2026-11-25T22:58:09.759Z","epss":{"score":0.02058,"percentile":0.81881,"date":"2026-12-02T12:00:21.000Z"}}