Falhas do tipo CWE-476

2.572 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-45931HIGHMesa 23.0.4 was discovered to contain a NULL pointer dereference in check_xshm() for the has_error state. NOTE: this is disputed because theEPSS 1.0%CVE-2026-45816HIGHApache NimBLE: NULL pointer dereference vulnerability in SMP LTK requestEPSS 1.0%CVE-2020-12514MEDIUMPepper+Fuchs Comtrol IO-Link Master NULL Pointer DereferenceEPSS 1.0%CVE-2019-14871MEDIUMThe REENT_CHECK macro (see newlib/libc/include/sys/reent.h) as used by REENT_CHECK_TM, REENT_CHECK_MISC, REENT_CHECK_MP and other newlib macEPSS 1.0%CVE-2023-5590HIGHNULL Pointer Dereference in seleniumhq/seleniumEPSS 1.0%CVE-2023-0845MEDIUMConsul Server Panic when Ingress and API Gateways Configured with PeeringEPSS 1.0%CVE-2024-38573HIGHcppc_cpufreq: Fix possible null pointer dereferenceEPSS 1.0%CVE-2023-1994MEDIUMGQUIC dissector crash in Wireshark 4.0.0 to 4.0.4 and 3.6.0 to 3.6.12 allows denial of service via packet injection or crafted capture fileEPSS 1.0%CVE-2022-23570MEDIUMNull-dereference in TensorflowEPSS 1.0%CVE-2024-36424MEDIUMK7RKScan.sys in K7 Ultimate Security before 17.0.2019 allows local users to cause a denial of service (BSOD) because of a NULL pointer derefEPSS 1.0%CVE-2023-49083MEDIUMcryptography vulnerable to NULL-dereference when loading PKCS7 certificatesEPSS 1.0%CVE-2021-37615MEDIUMNull pointer dereference in Exiv2::Internal::resolveLens0x319EPSS 1.0%CVE-2024-35857HIGHicmp: prevent possible NULL dereferences from icmp_build_probe()EPSS 1.0%CVE-2026-62702MEDIUMWindows Graphics Kernel Denial of Service VulnerabilityEPSS 1.0%CVE-2025-11550HIGHTenda W12 HTTP Request modules wifiScheduledSet null pointer dereferenceEPSS 1.0%CVE-2022-23020—On BIG-IP version 16.1.x before 16.1.2, when the 'Respond on Error' setting is enabled on the Request Logging profile and configured on a viEPSS 1.0%CVE-2021-28166MEDIUMIn Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to thEPSS 1.0%CVE-2022-0240MEDIUMNULL Pointer Dereference in mruby/mrubyEPSS 1.0%CVE-2023-33973HIGHRIOT-OS vulnerable to NULL pointer dereference during NHC encodingEPSS 1.0%CVE-2024-43520MEDIUMWindows Kernel Denial of Service VulnerabilityEPSS 1.0%