Falhas do tipo CWE-476

2.331 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-0240MEDIUMNULL Pointer Dereference in mruby/mrubyEPSS 1.0%CVE-2023-33973HIGHRIOT-OS vulnerable to NULL pointer dereference during NHC encodingEPSS 1.0%CVE-2021-32979HIGHAVEVA SuiteLink Server Null Pointer DereferenceEPSS 1.0%CVE-2024-43520MEDIUMWindows Kernel Denial of Service VulnerabilityEPSS 1.0%CVE-2021-32963HIGHAVEVA SuiteLink Server Null Pointer DereferenceEPSS 1.0%CVE-2021-32987HIGHAVEVA SuiteLink Server Null Pointer DereferenceEPSS 1.0%CVE-2021-32971HIGHAVEVA SuiteLink Server Null Pointer DereferenceEPSS 1.0%CVE-2025-11550HIGHTenda W12 HTTP Request modules wifiScheduledSet null pointer dereferenceEPSS 1.0%CVE-2023-24825HIGHRIOT-OS vulnerable to NULL pointer dereference in gnrc_pktbuf_markEPSS 1.0%CVE-2025-7797MEDIUMGPAC dash_client.c gf_dash_download_init_segment null pointer dereferenceEPSS 1.0%CVE-2022-0712MEDIUMNULL Pointer Dereference in radareorg/radare2EPSS 1.0%CVE-2024-23722HIGHIn Fluent Bit 2.1.8 through 2.2.1, a NULL pointer dereference can be caused via an invalid HTTP payload with the content type of x-www-form-EPSS 0.9%CVE-2026-62702MEDIUMWindows Graphics Kernel Denial of Service VulnerabilityEPSS 0.9%CVE-2020-15190MEDIUMSegfault in TensorflowEPSS 0.9%CVE-2026-27651HIGHNGINX ngx_mail_auth_http_module vulnerabilityEPSS 0.9%CVE-2021-22792MEDIUMA CWE-476: NULL Pointer Dereference vulnerability that could cause a Denial of Service on the Modicon PLC controller / simulator when updatiEPSS 0.9%CVE-2022-0419MEDIUMNULL Pointer Dereference in radareorg/radare2EPSS 0.9%CVE-2023-28766HIGHA vulnerability has been identified in SIPROTEC 5 6MD85 (CP300) (All versions >= V7.80 < V9.40), SIPROTEC 5 6MD86 (CP300) (All versions >= VEPSS 0.9%CVE-2024-35200MEDIUMNGINX HTTP/3 QUIC vulnerabilityEPSS 0.9%CVE-2024-53580HIGHiperf v3.17.1 was discovered to contain a segmentation violation via the iperf_exchange_parameters() function.EPSS 0.9%