Falhas do tipo CWE-476

2.329 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-2016-9600JasPer before version 2.0.10 is vulnerable to a null pointer dereference was found in the decoded creation of JPEG 2000 image files. A speciEPSS 1.5%CVE-2023-6356MEDIUMKernel: null pointer dereference in nvmet_tcp_build_iovecEPSS 1.5%CVE-2019-14872MEDIUMThe _dtoa_r function of the newlib libc library, prior to version 3.3.0, performs multiple memory allocations without checking their return EPSS 1.5%CVE-2022-41999HIGHA denial of service vulnerability exists in the DDS native tile reading functionality of OpenImageIO Project OpenImageIO v2.3.19.0 and v2.4.EPSS 1.4%CVE-2022-3109HIGHAn issue was discovered in the FFmpeg package, where vp3_decode_frame in libavcodec/vp3.c lacks check of the return value of av_malloc() andEPSS 1.4%CVE-2021-29241HIGHCODESYS Gateway 3 before 3.5.16.70 has a NULL pointer dereference that may result in a denial of service (DoS).EPSS 1.4%CVE-2020-26213MEDIUMDenial of Service in telerEPSS 1.4%CVE-2021-42733MEDIUMAdobe Bridge NULL Pointer Dereference could lead to Application denial-of-serviceEPSS 1.4%CVE-2022-2085A NULL pointer dereference vulnerability was found in Ghostscript, which occurs when it tries to render a large number of bits in memory. WhEPSS 1.4%CVE-2024-35960CRITICALnet/mlx5: Properly link new fs rules into the treeEPSS 1.4%CVE-2024-8495HIGHA null pointer dereference in Ivanti Connect Secure before version 22.7R2.1 and Ivanti Policy Secure before version 22.7R1.1 allows a remoteEPSS 1.4%CVE-2026-21243HIGHWindows Lightweight Directory Access Protocol (LDAP) Denial of Service VulnerabilityEPSS 1.4%CVE-2020-3517HIGHCisco FXOS and NX-OS Software Cisco Fabric Services Denial of Service VulnerabilityEPSS 1.4%CVE-2021-40761MEDIUMAdobe After Effects NULL Pointer Dereference Application Denial of ServiceEPSS 1.4%CVE-2021-43748MEDIUMAdobe Premiere Rush NULL Pointer Dereference Local Denial-of-ServiceEPSS 1.4%CVE-2021-40756MEDIUMAdobe After Effects NULL Pointer Dereference Application Denial of ServiceEPSS 1.4%CVE-2021-43750MEDIUMAdobe Premiere Rush NULL Pointer Dereference Local Denial-of-ServiceEPSS 1.4%CVE-2021-43749MEDIUMAdobe Premiere Rush NULL Pointer Dereference Local Denial-of-ServiceEPSS 1.4%CVE-2022-2208HIGHNULL Pointer Dereference in vim/vimEPSS 1.4%CVE-2019-135423S-Smart Software Solutions GmbH CODESYS V3 OPC UA Server, all versions 3.5.11.0 to 3.5.15.0, allows an attacker to send crafted requests frEPSS 1.4%