Memoria · CWE-134
Cadena de formato controlada por el usuario
El programa usa un texto del usuario como plantilla de printf o similares, y el atacante lee o escribe memoria con los códigos de formato.
441 vulnerabilidades publicadas de este tipo, 5 de ellas explotadas activamente según CISA.
Cómo funciona
Códigos como %x o %n dentro del texto hacen que la función lea datos de la pila o escriba en memoria. Con eso el atacante filtra información o toma el control del programa.
Dónde aparece
Programas en C y C++, firmware, servicios de red antiguos.
Cómo se corrige
- Aplicar la actualización del fabricante.
- Para quien desarrolla: usar siempre printf("%s", texto) y nunca printf(texto).
Qué evitar
- Pasar texto externo como primer argumento de funciones de formato.
Explotadas de este tipo
- CVE-2024-23113Crítica9.8 ExplotadaPrioridad urgenteEPSS 6,6 %9 de oct de 2024
Cadena de formato en FortiSwitchManager
A use of externally-controlled format string in Fortinet FortiOS versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0.0 through 7.0.13, FortiProxy versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.8, 7.0.0 through 7.0.14, FortiPAM versions 1.2.0, 1.1.0 through 1.1.2, 1.0.0 through 1.0.3, FortiSwitchManager versions 7.2.0 through 7.2.3, 7.0.0 through 7.0.3 allows attacker to execute unauthorized code or commands via specially crafted packets.
- CVE-2021-25489Media5.5 ExplotadaPrioridad urgenteEPSS 0,53 %29 de jun de 2023
Cadena de formato en Samsung Mobile Devices
Assuming radio permission is gained, missing input validation in modem interface driver prior to SMR Oct-2021 Release 1 results in format string bug leading to kernel panic.
- CVE-2018-0175Alta8.0 ExplotadaPrioridad urgenteEPSS 3,2 %3 de mar de 2022
Desbordamiento de memoria en Cisco IOS, IOS XE, and IOS XR
Format String vulnerability in the Link Layer Discovery Protocol (LLDP) subsystem of Cisco IOS Software, Cisco IOS XE Software, and Cisco IOS XR Software could allow an unauthenticated, adjacent attacker to cause a denial of service (DoS) condition or execute arbitrary code with elevated privileges on an affected device. Cisco Bug IDs: CSCvd73664.
- CVE-2019-1579Alta8.1 ExplotadaPrioridad urgenteEPSS 44 %10 de ene de 2022
Cadena de formato en Palo Alto Networks GlobalProtect Portal/Gateway Interface
Remote Code Execution in PAN-OS 7.1.18 and earlier, PAN-OS 8.0.11-h1 and earlier, and PAN-OS 8.1.2 and earlier with GlobalProtect Portal or GlobalProtect Gateway Interface enabled may allow an unauthenticated remote attacker to execute arbitrary code.
- CVE-2020-3118Alta8.8 ExplotadaPrioridad urgenteEPSS 12 %3 de nov de 2021
Desbordamiento de memoria en Cisco IOS XR Software
A vulnerability in the Cisco Discovery Protocol implementation for Cisco IOS XR Software could allow an unauthenticated, adjacent attacker to execute arbitrary code or cause a reload on an affected device. The vulnerability is due to improper validation of string input from certain fields in Cisco Discovery Protocol messages. An attacker could exploit this vulnerability by sending a malicious Cisco Discovery Protocol packet to an affected device. A successful exploit could allow the attacker to cause a stack overflow, which could allow the attacker to execute arbitrary code with administrative privileges on an affected device. Cisco Discovery Protocol is a Layer 2 protocol. To exploit this vulnerability, an attacker must be in the same broadcast domain as the affected device (Layer 2 adjacent).
Publicadas recientemente
- CVE-2026-80365Alta7.8Prioridad altaEPSS 0,32 %25 de nov de 2026
Cadena de formato en Secure Connect Gateway
Dell Secure Connect Gateway (SCG) Virtual Edition, versions prior to 5.36.00.16, contains a Use of Externally-Controlled Format String vulnerability. A low privileged attacker with local access could potentially exploit this vulnerability, leading to remote execution.
- CVE-2026-14569Media6.4Prioridad mediaEPSS 0,57 %24 de nov de 2026
Cadena de formato en RTU500 series CMU firmware
Use of externally-controlled format string vulnerability exists in RTU500 component of the logging function for TLS, PPP and CAM. Exploiting this vulnerability may result in sensitive memory disclosure and denial of service.
- CVE-2026-134893Media5.1Prioridad mediaEPSS 0,60 %24 de nov de 2026
Cadena de formato en ADM
An externally controlled format string vulnerability in the Snapshot CGI components of ADM allows an authenticated administrator to cause repeatable premature termination of affected privileged CGI requests by supplying crafted input. Affected products and versions include: from ADM 4.1.0 through ADM 4.3.3.RY62 as well as from ADM 5.0.0 through ADM 5.1.4.RM62.
- CVE-2026-120951Alta8.6Prioridad altaEPSS 0,95 %24 de nov de 2026
Cadena de formato en ADM
An externally-controlled format string vulnerability exists in the authenticated upload_wireguard action of settings/vpnupload.cgi in the ADM. The CGI takes an attacker-controlled WireGuard profile name, inserts it into a JSON object, serializes it, and passes the resulting formatted string directly to printf as the format argument without validation or escaping. An authenticated remote attacker can exploit this vulnerability by sending format string specifiers, or leverage variadic read/write primitives within the non-PIE, non-Canary root CGI to potentially achieve arbitrary remote code execution with root privileges. Affected products and versions include: from ADM 4.1.0 through ADM 4.3.3.RY62 as well as from ADM 5.0.0 through ADM 5.1.4.RM62.
- CVE-2026-120932Media5.1Prioridad mediaEPSS 0,60 %24 de nov de 2026
Cadena de formato en ADM
A format string vulnerability has been reported in the Internal Backup of ADM. User-controlled input from the source_folders parameter is passed by internalbackup.cgi to a shared string-copy routine in libbackup.so.0.0 and used directly as the format-string argument to snprintf() without corresponding variadic arguments. This may allow an authenticated attacker to disclose process memory addresses or trigger unintended memory writes that terminate the affected CGI process. Affected products and versions include: from ADM 4.1.0 through ADM 4.3.3.RY62 as well as from ADM 5.0.0 through ADM 5.1.4.RM62.
- CVE-2026-76422Alta7.5Prioridad altaEPSS 0,55 %18 de nov de 2026
Cadena de formato en Cisco Secure Endpoint
A vulnerability in the debug logging functionality of ClamAV could allow an unauthenticated, remote attacker to cause a DoS condition on an affected device. This vulnerability is due to improper handling of logging values. An attacker could exploit this vulnerability by submitting a file to be scanned by the software that has debug logging enabled. A successful exploit could allow the attacker to cause the ClamAV scanning process to terminate, resulting in a DoS condition on the affected software.
- CVE-2026-93459Alta8.5Prioridad altaEPSS 0,23 %18 de nov de 2026
Cadena de formato en Router firmware
Use of externally-controlled format string in certain ASUS Router firmware allows a nearby administrator to read or write memory, potentially resulting in a denial-of-service, via crafted format specifiers sent to the logging/summary function. Refer to the ' Security Update for ASUS Router Firmware ' section on the ASUS Security Advisory for more information.
- CVE-2026-131852Crítica9.8Prioridad urgenteEPSS 0,84 %18 de nov de 2026
Cadena de formato en Recorder
OwnTracks Recorder before 1.0.5 contains a format string vulnerability in json_response() and related output functions that allows unauthenticated attackers to execute code by storing a malicious tid value. Attackers can publish locations via POST /pub or MQTT with printf specifiers in tid, then read them back through GET /api/0/last to leak addresses and write memory.