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-2020-35507There's a flaw in bfd_pef_parse_function_stubs of bfd/pef.c in binutils in versions prior to 2.34 which could allow an attacker who is able EPSS 1.2%CVE-2021-30500Null pointer dereference was found in upx PackLinuxElf::canUnpack() in p_lx_elf.cpp,in version UPX 4.0.0. That allow attackers to execute arEPSS 1.2%CVE-2021-40774MEDIUMAdobe Prelude NULL Pointer Dereference Application Denial of ServiceEPSS 1.2%CVE-2021-40773MEDIUMAdobe Prelude NULL Pointer Dereference Application Denial of ServiceEPSS 1.2%CVE-2021-44758HIGHHeimdal before 7.7.1 allows attackers to cause a NULL pointer dereference in a SPNEGO acceptor via a preferred_mech_type of GSS_C_NO_OID andEPSS 1.2%CVE-2024-33600MEDIUMnscd: Null pointer crashes after notfound responseEPSS 1.2%CVE-2024-32661HIGHFreeRDP rdp_write_logon_info_v1 NULL accessEPSS 1.2%CVE-2023-24818HIGHRIOT-OS vulnerable to null pointer dereference during fragment forwardingEPSS 1.2%CVE-2021-3514When using a sync_repl client in 389-ds-base, an authenticated attacker can cause a NULL pointer dereference using a specially crafted queryEPSS 1.2%CVE-2025-55698HIGHDirectX Graphics Kernel Denial of Service VulnerabilityEPSS 1.2%CVE-2022-1341An issue was discovered in in bwm-ng v0.6.2. An arbitrary null write exists in get_cmdln_options() function in src/options.c.EPSS 1.2%CVE-2021-40782MEDIUMAdobe Media Encoder Null Pointer Dereference Application denial-of-serviceEPSS 1.2%CVE-2023-48697MEDIUMAzure RTOS USBX Remote Code Execution VulnerabilityEPSS 1.2%CVE-2022-41860HIGHIn freeradius, when an EAP-SIM supplicant sends an unknown SIM option, the server will try to look that option up in the internal dictionariEPSS 1.2%CVE-2023-46838HIGHLinux: netback processing of zero-length transmit fragmentEPSS 1.2%CVE-2024-27028MEDIUMspi: spi-mt65xx: Fix NULL pointer access in interrupt handlerEPSS 1.2%CVE-2026-69881HIGHWindows Internet Key Exchange (IKE) Extension Denial of Service VulnerabilityEPSS 1.2%CVE-2026-69587HIGHWindows Internet Key Exchange (IKE) Extension Denial of Service VulnerabilityEPSS 1.2%CVE-2011-0676HIGHwin32k.sys in the kernel-mode drivers in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP1 and SP2, Windows ServeEPSS 1.2%CVE-2011-1887HIGHwin32k.sys in the kernel-mode drivers in Microsoft Windows Vista SP1 and SP2, Windows Server 2008 Gold, SP2, R2, and R2 SP1, and Windows 7 GEPSS 1.2%