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-31613HIGHNVIDIA GPU Display Driver for Windows contains a vulnerability in the kernel mode layer, where any local user can cause a null-pointer derefEPSS 0.2%CVE-2023-31018MEDIUMCVEEPSS 0.2%CVE-2022-4842MEDIUMA flaw NULL Pointer Dereference in the Linux kernel NTFS3 driver function attr_punch_hole() was found. A local user could use this flaw to cEPSS 0.2%CVE-2022-49925MEDIUMRDMA/core: Fix null-ptr-deref in ib_core_cleanup()EPSS 0.2%CVE-2024-1096MEDIUMTwister Antivirus v8.17 - Denial of ServiceEPSS 0.2%CVE-2025-31181MEDIUMGnuplot: gnuplot segmentation fault on x11_graphicsEPSS 0.2%CVE-2025-31179MEDIUMGnuplot: gnuplot segmentation fault on xstrftimeEPSS 0.2%CVE-2025-31178MEDIUMGnuplot: gnuplot segmentation fault on getannotatestringEPSS 0.2%CVE-2023-3358MEDIUMA null pointer dereference was found in the Linux kernel's Integrated Sensor Hub (ISH) driver. This issue could allow a local user to crash EPSS 0.2%CVE-2025-31176MEDIUMGnuplot: gnuplot segmentation fault on plot3d_pointsEPSS 0.2%CVE-2026-70639MEDIUMllama.cpp b1886–b7445 Null Pointer Dereference DoS via llama-android.cppEPSS 0.2%CVE-2023-3357MEDIUMA NULL pointer dereference flaw was found in the Linux kernel AMD Sensor Fusion Hub driver. This flaw allows a local user to crash the systeEPSS 0.2%CVE-2026-3146MEDIUMlibvips matrixload.c vips_foreign_load_matrix_header null pointer dereferenceEPSS 0.2%CVE-2025-31180MEDIUMGnuplot: gnuplot segmentation fault on canvas_textEPSS 0.2%CVE-2022-49904MEDIUMnet, neigh: Fix null-ptr-deref in neigh_table_clear()EPSS 0.2%CVE-2024-0079MEDIUMCVEEPSS 0.2%CVE-2022-49863MEDIUMcan: af_can: fix NULL pointer dereference in can_rx_register()EPSS 0.2%CVE-2026-44512MEDIUMONNX: Null Pointer Dereference in Upsample Version Converter Adapter (Zero Inputs)EPSS 0.2%CVE-2026-88384MEDIUMOpenEXR 3.4.14 contains a NULL Pointer Dereference in the C++ attribute parsing path. A specially crafted EXR file containing an unknown-typEPSS 0.2%CVE-2022-49889MEDIUMring-buffer: Check for NULL cpu_buffer in ring_buffer_wake_waiters()EPSS 0.2%