Fallos del tipo CWE-252

114 resultados

Valor de retorno não verificado

Quando o código chama uma função mas não verifica se ela foi bem-sucedida (ignorando o valor de retorno), assume incorretamente que a operação funcionou. Isso deixa o programa em estado inconsistente e pode levar a falhas de segurança ou corrupção de dados.

Ejemplo

Um desenvolvedor abre um arquivo com `fopen()` mas não verifica se retornou NULL antes de usar o ponteiro. Se o arquivo não existir, o ponteiro inválido causará crash ou comportamento impredizível. Outro caso comum: chamar `chmod()` para mudar permissões sem verificar se falhou, deixando o arquivo com permissões erradas.

Cómo mitigar

Sempre verifique o retorno de funções críticas (I/O, alocação de memória, operações de sistema). Use análise estática para detectar returns ignorados. Em C, trate explicitamente erros com `if`, `goto` ou padrões como `defer`; em linguagens modernas, use exceções ou tipos `Result/Optional`.

CVE-2026-35468MEDIUMnimiq/core-rs-albatross: Panic in history index request handlers when a full node runs without the history indexEPSS 0.5%CVE-2025-46672LOWNASA CryptoLib before 1.3.2 does not check the OTAR crypto function returned status, potentially leading to spacecraft hijacking.EPSS 0.5%CVE-2024-45419HIGHZoom Apps - Improper Input ValidationEPSS 0.5%CVE-2026-21920HIGHJunos OS: SRX Series: If a specific request is processed by the DNS subsystem flowd will crashEPSS 0.5%CVE-2025-66565CRITICALFiber Utils UUIDv4 and UUID Silent Fallback to Predictable ValuesEPSS 0.5%CVE-2024-2881MEDIUMFault Injection of EdDSA signature in WolfCryptEPSS 0.5%CVE-2026-29905MEDIUMKirby CMS through 5.1.4 allows an authenticated user with 'Editor' permissions to cause a persistent Denial of Service (DoS) via a malformedEPSS 0.4%CVE-2026-11972HIGHtarfile opened in streaming mode mishandles EOFEPSS 0.4%CVE-2022-25718CRITICALCryptographic issue in WLAN due to improper check on return value while authentication handshake in Snapdragon Auto, Snapdragon ConnectivityEPSS 0.4%CVE-2026-33983MEDIUMFreeRDP: Progressive Codec Quant BYTE Underflow - UB + CPU DoSEPSS 0.4%CVE-2024-8110HIGHDenial of Service (DoS) vulnerability has been found in Dual-redundant Platform for Computer. If a computer on which the affected product isEPSS 0.4%CVE-2026-22255HIGHiccDEV has heap-buffer-overflow in CIccCLUT::Init() at IccProfLib/IccTagLut.cppEPSS 0.4%CVE-2021-31366MEDIUMJunos OS: MX Series: In subscriber management / BBE configuration authd can crash if a subscriber with a specific username tries to login leading to a DoSEPSS 0.4%CVE-2025-62785MEDIUMWazuh fillData NULL pointer dereference causes analysisd crashEPSS 0.4%CVE-2026-19534HIGHundici vulnerable to Denial of Service via unrequested WebSocket subprotocolEPSS 0.4%CVE-2025-0518MEDIUMUnchecked sscanf return value which leads to memory data leakEPSS 0.4%CVE-2025-62789MEDIUMWazuh vulnerable to NULL pointer dereference in fim_alert line 712EPSS 0.4%CVE-2025-62790MEDIUMWazuh vulnerable to NULL pointer dereference in fim_fetch_attributes_stateEPSS 0.4%CVE-2026-22047HIGHiccDEV has heap-buffer-overflow in SIccCalcOp::Describe() at IccProfLib/IccMpeCalc.cppEPSS 0.4%CVE-2026-34065HIGHnimiq-primitives: Node crash due to missing interlink validation in election macro block proposalsEPSS 0.4%