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-49177MEDIUMhwrng: cavium - fix NULL but dereferenced coccicheck errorEPSS 0.2%CVE-2025-49678HIGHNTFS Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2022-34666MEDIUMNVIDIA GPU Display Driver for Windows and Linux contains a vulnerability in the kernel mode layer, where a local user with basic capabilitieEPSS 0.2%CVE-2022-49516MEDIUMice: always check VF VSI pointer valuesEPSS 0.2%CVE-2024-56682MEDIUMirqchip/riscv-aplic: Prevent crash when MSI domain is missingEPSS 0.2%CVE-2026-14324MEDIUMPipewire: raop rtsp null derefEPSS 0.2%CVE-2025-14631HIGHNull Pointer Dereference Vulnerability in Malformed 802.11 Frame of TP-Link Archer BE400EPSS 0.2%CVE-2024-50292MEDIUMASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_removeEPSS 0.2%CVE-2025-30329MEDIUMAnimate | NULL Pointer Dereference (CWE-476)EPSS 0.2%CVE-2024-53157MEDIUMfirmware: arm_scpi: Check the DVFS OPP count returned by the firmwareEPSS 0.2%CVE-2024-56649MEDIUMnet: enetc: Do not configure preemptible TCs if SIs do not supportEPSS 0.2%CVE-2025-21957MEDIUMscsi: qla1280: Fix kernel oops when debug level > 2EPSS 0.2%CVE-2023-25523LOW NVIDIA CUDA toolkit for Linux and Windows contains a vulnerability in the nvdisasm binary file, where an attacker may cause a NULL pointeEPSS 0.2%CVE-2025-21639MEDIUMsctp: sysctl: rto_min/max: avoid using current->nsproxyEPSS 0.2%CVE-2025-21864HIGHtcp: drop secpath at the same time as we currently drop dstEPSS 0.2%CVE-2023-45920MEDIUMXfig v3.2.8 was discovered to contain a NULL pointer dereference when calling XGetWMHints(). NOTE: this is disputed because it is not expectEPSS 0.2%CVE-2022-49332MEDIUMscsi: lpfc: Address NULL pointer dereference after starget_to_rport()EPSS 0.2%CVE-2025-22054MEDIUMarcnet: Add NULL check in com20020pci_probe()EPSS 0.2%CVE-2025-8586MEDIUMlibav MPEG File Parser utils.c ff_seek_frame_binary null pointer dereferenceEPSS 0.2%CVE-2026-48097HIGHNexTOR_IP_CHANGER has PATH Injection Leading to Arbitrary Command ExecutionEPSS 0.2%