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-2025-22033MEDIUMarm64: Don't call NULL in do_compat_alignment_fixup()EPSS 0.2%CVE-2025-21936MEDIUMBluetooth: Add check for mgmt_alloc_skb() in mgmt_device_connected()EPSS 0.2%CVE-2022-49215HIGHxsk: Fix race at socket teardownEPSS 0.2%CVE-2023-53343MEDIUMicmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev().EPSS 0.2%CVE-2024-56617MEDIUMcacheinfo: Allocate memory during CPU hotplug if not done from the primary CPUEPSS 0.2%CVE-2025-21937MEDIUMBluetooth: Add check for mgmt_alloc_skb() in mgmt_remote_name()EPSS 0.2%CVE-2022-50356MEDIUMnet: sched: sfb: fix null pointer access issue when sfb_init() failsEPSS 0.2%CVE-2022-41279LOWA vulnerability has been identified in JT2Go (All versions < V14.1.0.6), Teamcenter Visualization V13.2 (All versions < V13.2.0.12), TeamcenEPSS 0.2%CVE-2022-34665MEDIUMNVIDIA GPU Display Driver for Windows and Linux contains a vulnerability in the kernel mode layer, where a local user with basic capabilitieEPSS 0.2%CVE-2025-21658MEDIUMbtrfs: avoid NULL pointer dereference if no valid extent treeEPSS 0.2%CVE-2025-30301MEDIUMAdobe Framemaker | NULL Pointer Dereference (CWE-476)EPSS 0.2%CVE-2022-41280LOWA vulnerability has been identified in JT2Go (All versions < V14.1.0.6), Teamcenter Visualization V13.2 (All versions < V13.2.0.12), TeamcenEPSS 0.2%CVE-2022-50370MEDIUMi2c: designware: Fix handling of real but unexpected device interruptsEPSS 0.2%CVE-2021-29513LOWType confusion during tensor casts lead to dereferencing null pointersEPSS 0.2%CVE-2023-0196LOW NVIDIA CUDA Toolkit SDK contains a bug in cuobjdump, where a local user running the tool against an ill-formed binary may cause a null- poiEPSS 0.2%CVE-2022-50364MEDIUMi2c: mux: reg: check return value after calling platform_get_resource()EPSS 0.2%CVE-2025-11013MEDIUMBehaviorTree XML Parser xml_parsing.cpp loadDocImpl null pointer dereferenceEPSS 0.2%CVE-2024-53115MEDIUMdrm/vmwgfx: avoid null_ptr_deref in vmw_framebuffer_surface_create_handleEPSS 0.2%CVE-2024-53092HIGHvirtio_pci: Fix admin vq cleanup by using correct info pointerEPSS 0.2%CVE-2025-22032MEDIUMwifi: mt76: mt7921: fix kernel panic due to null pointer dereferenceEPSS 0.2%