Weaknesses of type CWE-843

684 results

Confusão de Tipos

Ocorre quando o programa trata uma variável ou objeto como se fosse de um tipo diferente do seu tipo real, levando a comportamentos impredizíveis. O atacante explora essa interpretação errada para contornar validações, corromper memória ou executar código arbitrário.

Example

Um aplicativo recebe um valor que valida como inteiro, mas a função que o processa o interpreta como um ponteiro de memória. O código tenta acessar e modificar dados no endereço apontado, causando corrupção ou exposição de informações sensíveis.

How to mitigate

Implemente validação rigorosa e conversão explícita de tipos antes de usar qualquer dado externo. Use linguagens com verificação forte de tipos em tempo de compilação e, quando necessário, valide tanto o tipo quanto o intervalo de valores esperados. Testes de fuzzing e análise estática ajudam a detectar confusões de tipo.

CVE-2022-1364HIGHType confusion in V8 Turbofan in Google Chrome prior to 100.0.4896.127 allowed a remote attacker to potentially exploit heap corruption via EPSS 13.7%KEVCVE-2025-5959HIGHType Confusion in V8 in Google Chrome prior to 137.0.7151.103 allowed a remote attacker to execute arbitrary code inside a sandbox via a craEPSS 13.3%CVE-2025-6554HIGHType confusion in V8 in Google Chrome prior to 138.0.7204.96 allowed a remote attacker to perform arbitrary read/write via a crafted HTML paEPSS 12.6%KEVCVE-2017-11292HIGHAdobe Flash Player version 27.0.0.159 and earlier has a flawed bytecode verification procedure, which allows for an untrusted value to be usEPSS 11.9%KEVCVE-2021-39841HIGHAdobe Acrobat Pro DC DocMedia Type Confusion Remote Code Execution VulnerabilityEPSS 11.7%CVE-2023-36594HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 11.6%CVE-2022-34221HIGHAdobe Acrobat Reader Type Confusion vulnerability could lead to Arbitrary code executionEPSS 11.1%CVE-2024-23222HIGHA type confusion issue was addressed with improved checks. This issue is fixed in Safari 17.3, iOS 15.8.7 and iPadOS 15.8.7, iOS 16.7.5 and EPSS 10.6%KEVCVE-2020-27932HIGHA type confusion issue was addressed with improved state handling. This issue is fixed in macOS Big Sur 11.0.1, watchOS 7.1, iOS 12.4.9, watEPSS 10.3%KEVCVE-2023-23529HIGHA type confusion issue was addressed with improved checks. This issue is fixed in iOS 15.7.4 and iPadOS 15.7.4, iOS 16.3.1 and iPadOS 16.3.1EPSS 9.5%KEVCVE-2024-4058CRITICALType confusion in ANGLE in Google Chrome prior to 124.0.6367.78 allowed a remote attacker to potentially exploit heap corruption via a craftEPSS 9.0%CVE-2021-30563HIGHType Confusion in V8 in Google Chrome prior to 91.0.4472.164 allowed a remote attacker to potentially exploit heap corruption via a crafted EPSS 8.9%KEVCVE-2023-46842MEDIUMx86 HVM hypercalls may trigger Xen bug checkEPSS 8.5%CVE-2022-42856HIGHA type confusion issue was addressed with improved state handling. This issue is fixed in Safari 16.2, tvOS 16.2, macOS Ventura 13.1, iOS 15EPSS 8.5%KEVCVE-2026-20860HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 8.4%CVE-2025-53143HIGHMicrosoft Message Queuing (MSMQ) Remote Code Execution VulnerabilityEPSS 8.1%CVE-2025-0291HIGHType Confusion in V8 in Google Chrome prior to 131.0.6778.264 allowed a remote attacker to execute arbitrary code inside a sandbox via a craEPSS 7.9%CVE-2022-3723HIGHType confusion in V8 in Google Chrome prior to 107.0.5304.87 allowed a remote attacker to potentially exploit heap corruption via a crafted EPSS 7.9%KEVCVE-2025-53144HIGHMicrosoft Message Queuing (MSMQ) Remote Code Execution VulnerabilityEPSS 7.6%CVE-2025-53145HIGHMicrosoft Message Queuing (MSMQ) Remote Code Execution VulnerabilityEPSS 7.6%