Weaknesses of type CWE-134

155 results

Uso de string de formato controlada externamente

Ocorre quando a aplicação passa uma string vinda de entrada do usuário diretamente como argumento de formato em funções como printf(), sprintf() ou logging. Um atacante pode injetar especificadores de formato (%x, %s, %n) para ler ou escrever dados arbitrários na memória, comprometendo confidencialidade e integridade.

Example

Um programa web recebe um parâmetro 'nome' do usuário e faz `printf(nome)` em vez de `printf("%s", nome)`. Um atacante envia 'nome=%x.%x.%x' e consegue vazar dados da pilha; ou usa '%n' para sobrescrever endereços de memória.

How to mitigate

Nunca passe entrada do usuário diretamente como string de formato. Use sempre um formato fixo: `printf("%s", entrada_usuario)` em C, ou equivalente em outras linguagens. Em logs, sanitize ou use APIs de logging estruturado que não interpretam strings de formato.

CVE-2025-48388HIGHFreeScout Has Insufficient Protection Against CRLF-injectionEPSS 0.4%CVE-2022-1215A format string vulnerability was found in libinputEPSS 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-22482LOWQsync CentralEPSS 0.4%CVE-2025-53407MEDIUMQTS, QuTS heroEPSS 0.4%CVE-2025-53406MEDIUMQTS, QuTS heroEPSS 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-2026-18461CRITICALUse of Externally-Controlled Format String vulnerability in RTI Connext Professional (Core Libraries) allows Format String Injection.EPSS 0.3%CVE-2021-34970LOWFoxit PDF Reader print Method Use of Externally-Controlled Format String Information Disclosure VulnerabilityEPSS 0.3%CVE-2025-53591LOWQTS, QuTS heroEPSS 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%