Falhas do tipo CWE-476

2.333 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-50354HIGHdrm/amdkfd: Fix kfd_process_device_init_vm error handlingEPSS 0.2%CVE-2025-8584MEDIUMlibav AVI File Parser buffer.c av_buffer_unref null pointer dereferenceEPSS 0.2%CVE-2025-21852MEDIUMnet: Add rx_skb of kfree_skb to raw_tp_null_args[].EPSS 0.2%CVE-2024-56629MEDIUMHID: wacom: fix when get product name maybe null pointerEPSS 0.2%CVE-2024-26277MEDIUMA vulnerability has been identified in JT2Go (All versions < V2312.0004), Parasolid V35.1 (All versions < V35.1.254), Parasolid V36.0 (All vEPSS 0.2%CVE-2023-52938MEDIUMusb: typec: ucsi: Don't attempt to resume the ports before they existEPSS 0.2%CVE-2023-1587MEDIUMAvast and AVG Antivirus for Windows were susceptible to a NULL pointer dereference issue via RPC-interface. The issue was fixed with Avast aEPSS 0.2%CVE-2021-29583LOWHeap buffer overflow and undefined behavior in `FusedBatchNorm`EPSS 0.2%CVE-2023-1583MEDIUMA NULL pointer dereference was found in io_file_bitmap_get in io_uring/filetable.c in the io_uring sub-component in the Linux Kernel. When fEPSS 0.2%CVE-2023-52939MEDIUMmm: memcg: fix NULL pointer in mem_cgroup_track_foreign_dirty_slowpath()EPSS 0.2%CVE-2024-58021MEDIUMHID: winwing: Add NULL check in winwing_init_led()EPSS 0.2%CVE-2022-48908MEDIUMnet: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()EPSS 0.2%CVE-2025-22066MEDIUMASoC: imx-card: Add NULL check in imx_card_probe()EPSS 0.2%CVE-2024-36011MEDIUMBluetooth: HCI: Fix potential null-ptr-derefEPSS 0.2%CVE-2023-2177MEDIUMA null pointer dereference issue was found in the sctp network protocol in net/sctp/stream_sched.c in Linux Kernel. If stream_in allocation EPSS 0.2%CVE-2022-49869MEDIUMbnxt_en: Fix possible crash in bnxt_hwrm_set_coal()EPSS 0.2%CVE-2022-49875MEDIUMbpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILEEPSS 0.2%CVE-2024-57925HIGHksmbd: fix a missing return value check bugEPSS 0.2%CVE-2023-41234MEDIUMNULL pointer dereference in Intel(R) Power Gadget software for Windows all versions may allow an authenticated user to potentially enable deEPSS 0.2%CVE-2024-56727MEDIUMocteontx2-pf: handle otx2_mbox_get_rsp errors in otx2_flows.cEPSS 0.2%