Falhas do tipo CWE-134

154 resultados

Uso de String de Formatação Controlada Externamente

Ocorre quando um programa usa entrada do usuário diretamente como argumento de formato em funções como printf(), sprintf() ou similares, sem validação. Um atacante pode injetar especificadores de formato (%x, %s, %n) para ler memória, derrubar a aplicação ou executar código arbitrário.

Exemplo

Um programa web recebe um parâmetro GET e faz printf(usuario_input) em vez de printf("%s", usuario_input). Um atacante envia ?name=%x%x%x e consegue vazar valores da pilha, ou usa %n para escrever na memória.

Como mitigar

Sempre use string de formato estática e fixa (literal), nunca construída a partir de entrada externa. Valide e sanitize qualquer dado de usuário antes de usá-lo em funções de formatação. Ferramentas como -Wformat-security do GCC ajudam a detectar isso em tempo de compilação.

CVE-2024-50398LOWQTS, QuTS heroEPSS 0.6%CVE-2024-50400LOWQTS, QuTS heroEPSS 0.6%CVE-2024-50401LOWQTS, QuTS heroEPSS 0.6%CVE-2024-50399LOWQTS, QuTS heroEPSS 0.6%CVE-2026-12174HIGHD-Link DCS-935L HTTP rhea snprintf format stringEPSS 0.6%CVE-2025-68648MEDIUMA use of externally-controlled format string vulnerability in Fortinet FortiAnalyzer 7.6.0 through 7.6.4, FortiAnalyzer 7.4.0 through 7.4.7,EPSS 0.6%CVE-2024-50402LOWQTS, QuTS heroEPSS 0.5%CVE-2017-7519LOWIn Ceph, a format string flaw was found in the way libradosstriper parses input from user. A user could crash an application or service usinEPSS 0.5%CVE-2023-25492MEDIUMA valid, authenticated user may be able to trigger a denial of service of the XCC web user interface or other undefined behavior through a fEPSS 0.5%CVE-2024-50403LOWQTS, QuTS heroEPSS 0.5%CVE-2024-39529HIGHJunos OS: SRX Series: If DNS traceoptions are configured in a DGA or tunnel detection scenario specific DNS traffic leads to a PFE crashEPSS 0.5%CVE-2026-6250HIGHAuthenticated Format String Injection on TP-Link Tapo C110EPSS 0.5%CVE-2025-48730MEDIUMQTS, QuTS heroEPSS 0.4%CVE-2026-57877HIGHGV-LPC2011/LPC2211 - unauthorized format string vulnerability (vlsvr)EPSS 0.4%CVE-2026-0400MEDIUMA post-authentication Format String vulnerability in SonicOS allows a remote attacker to crash a firewall.EPSS 0.4%CVE-2024-9129CRITICALFormat String Injection in Zend ServerEPSS 0.4%CVE-2025-52666LOWImproper neutralisation of format characters in the settings of Revive Adserver 5.5.2 and 6.0.1 and earlier versions causes an administratorEPSS 0.4%CVE-2026-15680HIGHLorex 2K Indoor Wi-Fi Security Camera CDeviceOperator Format String Remote Code Execution VulnerabilityEPSS 0.4%CVE-2026-46465MEDIUMDell PowerProtect Data Domain, versions 7.7.1.0 through 8.7, LTS2026 release version 8.6.1.0 through 8.6.1.10, LTS2025 release version 8.3.1EPSS 0.4%CVE-2026-81574HIGHFormat String Vulnerability in LoggerEPSS 0.4%