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-2023-53354HIGHskbuff: skb_segment, Call zero copy functions before using skbuff fragsEPSS 0.2%CVE-2025-21940MEDIUMdrm/amdkfd: Fix NULL Pointer Dereference in KFD queueEPSS 0.2%CVE-2023-25510LOWNVIDIA CUDA Toolkit SDK for Linux and Windows contains a NULL pointer dereference in cuobjdump, where a local user running the tool against EPSS 0.2%CVE-2023-53011MEDIUMnet: stmmac: enable all safety features by defaultEPSS 0.2%CVE-2025-21685MEDIUMplatform/x86: lenovo-yoga-tab2-pro-1380-fastcharger: fix serdev raceEPSS 0.2%CVE-2022-49758MEDIUMreset: uniphier-glue: Fix possible null-ptr-derefEPSS 0.2%CVE-2025-22052MEDIUMstaging: gpib: Fix Oops after disconnect in ni_usbEPSS 0.2%CVE-2025-22051MEDIUMstaging: gpib: Fix Oops after disconnect in agilent usbEPSS 0.2%CVE-2025-4003MEDIUMRefindPlusRepo RefindPlus RP_ApfsIo.c InternalApfsTranslateBlock null pointer dereferenceEPSS 0.2%CVE-2022-50353MEDIUMmmc: wmt-sdmmc: fix return value check of mmc_add_host()EPSS 0.2%CVE-2025-4002MEDIUMRefindPlusRepo RefindPlus BootLog.c GetDebugLogFile null pointer dereferenceEPSS 0.2%CVE-2025-30300MEDIUMAdobe Framemaker | NULL Pointer Dereference (CWE-476)EPSS 0.2%CVE-2021-29516LOWNull pointer dereference via invalid Ragged TensorsEPSS 0.2%CVE-2025-27170MEDIUMIllustrator | NULL Pointer Dereference (CWE-476)EPSS 0.2%CVE-2025-47807MEDIUMIn GStreamer through 1.26.1, the subparse plugin's subrip_unescape_formatting function may dereference a NULL pointer while parsing a subtitEPSS 0.2%CVE-2024-56580MEDIUMmedia: qcom: camss: fix error path on configuration of power domainsEPSS 0.2%CVE-2023-53352MEDIUMdrm/ttm: check null pointer before accessing when swappingEPSS 0.2%CVE-2025-22009MEDIUMregulator: dummy: force synchronous probingEPSS 0.2%CVE-2026-54084MEDIUMWazuh agent enrollment NULL pointer dereference via malformed manager responseEPSS 0.2%CVE-2022-50369MEDIUMdrm/vkms: Fix null-ptr-deref in vkms_release()EPSS 0.2%