Falhas do tipo CWE-476

2.321 resultados

Desreferenciação de ponteiro nulo autenticado

O software permite que um usuário autenticado force a desreferenciação de um ponteiro ou referência nula, tipicamente ao passar valores inesperados ou inválidos a uma função. O aplicativo não valida adequadamente a entrada antes de usá-la, causando falha (crash) ou comportamento indefinido que pode levar a negação de serviço.

Exemplo

Um painel administrativo aceita um ID de usuário para deletar, mas não verifica se esse ID existe no banco antes de acessar seus atributos. Um admin autenticado passa ID=0 ou um valor que não corresponde a nenhum registro, e o código tenta acessar propriedades de um objeto nulo, derrubando a aplicação.

Como mitigar

Sempre valide e verifique que referências/ponteiros são válidos antes de desreferenciar: teste se o objeto existe, se o ID é válido e se está dentro do escopo esperado. Use assertions em desenvolvimento e tratamento de exceções robusto em produção para falhas inesperadas.

CVE-2022-1172MEDIUMNull Pointer Dereference Caused Segmentation Fault in gpac/gpacEPSS 0.8%CVE-2022-21736HIGHUndefined behavior in TensorflowEPSS 0.8%CVE-2024-38605HIGHALSA: core: Fix NULL module pointer assignment at card initEPSS 0.7%CVE-2022-34651HIGHBIG-IP TLS 1.3 iRule vulnerability CVE-2022-34651EPSS 0.7%CVE-2022-35245HIGHBIG-IP APM access policy vulnerability CVE-2022-35245EPSS 0.7%CVE-2026-58250HIGHNATS Server: Pre-auth server crash via double INFO in leafnode handshakeEPSS 0.7%CVE-2024-28286HIGHIn mz-automation libiec61850 v1.4.0, a NULL Pointer Dereference was detected in the mmsServer_handleFileCloseRequest.c function of src/mms/iEPSS 0.7%CVE-2024-25768HIGHOpenDMARC 1.4.2 contains a null pointer dereference vulnerability in /OpenDMARC/libopendmarc/opendmarc_policy.c.EPSS 0.7%CVE-2026-57875HIGHGV-LPC2011/LPC2211 - unauthorized null pointer dereference vulnerability in packet parsingEPSS 0.7%CVE-2026-1739MEDIUMFree5GC pcf smpolicy.go HandleCreateSmPolicyRequest null pointer dereferenceEPSS 0.7%CVE-2023-0458MEDIUMSpectre V1 Gadget in do_prlimit in the Linux KernelEPSS 0.7%CVE-2023-32008HIGHWindows Resilient File System (ReFS) Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-53226HIGHRDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()EPSS 0.7%CVE-2022-36014MEDIUMNull-dereference in `mlir::tfg::TFOp::nameAttr` in TensorFlowEPSS 0.7%CVE-2024-26854HIGHice: fix uninitialized dplls mutex usageEPSS 0.7%CVE-2023-42785MEDIUMA null pointer dereference in FortiOS versions 7.4.0 through 7.4.1, 7.2.0 through 7.2.5, 7.0 all versions, 6.4 all versions , 6.2 all versioEPSS 0.7%CVE-2024-28458HIGHNull Pointer Dereference vulnerability in swfdump in swftools 0.9.2 allows attackers to crash the appliation via the function compileSWFActiEPSS 0.7%CVE-2024-1914MEDIUMAn attacker who successfully exploited these vulnerabilities could cause the robot to stop, make the robot controller inaccessible. The vEPSS 0.7%CVE-2024-30030HIGHWin32k Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2024-20339HIGHCisco Firepower Threat Defense Software for Firepower 2100 Series TLS Denial of Service VulnerabilityEPSS 0.7%