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-2024-56667MEDIUMdrm/i915: Fix NULL pointer dereference in capture_engineEPSS 0.2%CVE-2025-49567MEDIUMIllustrator | NULL Pointer Dereference (CWE-476)EPSS 0.2%CVE-2024-32941MEDIUMNULL pointer dereference for some Intel(R) MLC software before version v3.11b may allow an authenticated user to potentially enable denial oEPSS 0.2%CVE-2021-1116MEDIUMNVIDIA GPU Display Driver for Windows contains a vulnerability in the kernel mode layer (nvlddmkm.sys), where a NULL pointer dereference in EPSS 0.2%CVE-2021-1122MEDIUMNVIDIA vGPU software contains a vulnerability in the Virtual GPU Manager (vGPU plugin), where it can dereference a NULL pointer, which may lEPSS 0.2%CVE-2023-51744LOWA vulnerability has been identified in JT2Go (All versions < V14.3.0.6), Teamcenter Visualization V13.3 (All versions < V13.3.0.13), TeamcenEPSS 0.2%CVE-2025-21798MEDIUMfirewire: test: Fix potential null dereference in firewire kunit testEPSS 0.2%CVE-2024-50133MEDIUMLoongArch: Don't crash in stack_top() for tasks without vDSOEPSS 0.2%CVE-2024-57989MEDIUMwifi: mt76: mt7925: fix NULL deref check in mt7925_change_vif_linksEPSS 0.2%CVE-2024-53201MEDIUMdrm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipeEPSS 0.2%CVE-2023-52870MEDIUMclk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_dataEPSS 0.2%CVE-2022-34675MEDIUMNVIDIA Display Driver for Linux contains a vulnerability in the Virtual GPU Manager, where it does not check the return value from a null-poEPSS 0.2%CVE-2025-23330MEDIUMNVIDIA Display Driver for Linux contains a vulnerability where an attacker might be able to trigger a null pointer dereference. A successfulEPSS 0.2%CVE-2024-50298MEDIUMnet: enetc: allocate vf_state during PF probesEPSS 0.2%CVE-2025-22007MEDIUMBluetooth: Fix error code in chan_alloc_skb_cb()EPSS 0.2%CVE-2025-21170MEDIUMSubstance3D - Modeler | NULL Pointer Dereference (CWE-476)EPSS 0.2%CVE-2025-21774MEDIUMcan: rockchip: rkcanfd_handle_rx_fifo_overflow_int(): bail out if skb cannot be allocatedEPSS 0.2%CVE-2023-3220MEDIUMAn issue was discovered in the Linux kernel through 6.1-rc8. dpu_crtc_atomic_check in drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c lacks check oEPSS 0.2%CVE-2024-57988MEDIUMBluetooth: btbcm: Fix NULL deref in btbcm_get_board_name()EPSS 0.2%CVE-2024-57987MEDIUMBluetooth: btrtl: check for NULL in btrtl_setup_realtek()EPSS 0.2%