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-2025-48388HIGHFreeScout Has Insufficient Protection Against CRLF-injectionEPSS 0.4%CVE-2022-1215A format string vulnerability was found in libinputEPSS 0.4%CVE-2025-53406MEDIUMQTS, QuTS heroEPSS 0.4%CVE-2022-26941CRITICALFormat string vulnerability in AT+CTGL command in Motorola MTM5000EPSS 0.4%CVE-2025-52429MEDIUMQTS, QuTS heroEPSS 0.4%CVE-2025-53407MEDIUMQTS, QuTS heroEPSS 0.4%CVE-2025-22482LOWQsync CentralEPSS 0.4%CVE-2026-22190MEDIUMPanda3D <= 1.10.16 egg-mkfont Format String Information DisclosureEPSS 0.4%CVE-2026-3509HIGHCODESYS Control Audit Log Format String DoSEPSS 0.4%CVE-2026-12004HIGHSecurity vulnerabilities have been found in IBM Verify Identity Access and IBM Security Verify AccessEPSS 0.3%CVE-2026-68553HIGHCoturn: Format String Injection via TURN USERNAME/REALM into hiredis Redis CommandEPSS 0.3%CVE-2024-4641MEDIUMOnCell G3470A-LTE Series: Authenticated Format String ErrorsEPSS 0.3%CVE-2023-33011HIGHA format string vulnerability in the Zyxel ATP series firmware versions 5.10 through 5.36 Patch 2, USG FLEX series firmware versions 5.00 thEPSS 0.3%CVE-2025-36202HIGHIBM webMethods Integration code executionEPSS 0.3%CVE-2022-2652HIGHUse of Externally-Controlled Format String in umlaeute/v4l2loopbackEPSS 0.3%CVE-2025-53591LOWQTS, QuTS heroEPSS 0.3%CVE-2021-34970LOWFoxit PDF Reader print Method Use of Externally-Controlled Format String Information Disclosure VulnerabilityEPSS 0.3%CVE-2010-10017HIGHWM Downloader 3.1.2.2 Buffer Overflow via Malformed M3U FileEPSS 0.3%CVE-2026-7835LOWFormat string argument mismatchEPSS 0.3%CVE-2024-58366CRITICALSurrealDB before 1.1.1 Format String via Scripting FunctionsEPSS 0.3%