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-2026-3008MEDIUMVulnerability in Notepad++EPSS 0.2%CVE-2026-6474MEDIUMPostgreSQL timeofday() can disclose portions of server memoryEPSS 0.2%CVE-2023-21420HIGHUse of Externally-Controlled Format String vulnerabilities in STST TA prior to SMR Jan-2023 Release 1 allows arbitrary code execution.EPSS 0.2%CVE-2026-6539MEDIUMNotepad++ 8.9.3 Format String Injection via nativeLang.xmlEPSS 0.2%CVE-2023-21497MEDIUMUse of externally-controlled format string vulnerability in mPOS TUI trustlet prior to SMR May-2023 Release 1 allows local attackers to acceEPSS 0.2%CVE-2026-15809HIGHGithub.com/cri-o/cri-o: fix bypass for cve-2022-4318 — /etc/passwd injection via home envEPSS 0.2%CVE-2026-6242MEDIUMAuthenticated Format String Vulnerability in ONVIF Subscribe Service on TP-Link Tapo C520WSEPSS 0.2%CVE-2026-6241MEDIUMAuthenticated Format String Vulnerability in ONVIF AddScopes Method on TP-Link Tapo C520WSEPSS 0.2%CVE-2026-6390MEDIUMNano: gnu nano: arbitrary memory writes, information disclosure, or denial of service via format string vulnerability in error handling.EPSS 0.2%CVE-2025-10262MEDIUMAn unsanitized format validation vulnerability in Nokia SR LinuxEPSS 0.1%CVE-2026-6843MEDIUMNano: nano: format string vulnerability leads to denial of serviceEPSS 0.1%CVE-2026-15961MEDIUMPower System Information DisclosureEPSS 0.1%CVE-2026-16821HIGHVulnerabilities in IBM AIX and PowerVM VIOSEPSS 0.1%CVE-2026-18461CRITICALUse of Externally-Controlled Format String vulnerability in RTI Connext Professional (Core Libraries) allows Format String Injection.EPSS