Falhas do tipo CWE-476

2.332 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-65502MEDIUMNull pointer dereference in add_ca_certs() in Cesanta Mongoose before 7.2 allows remote attackers to cause a denial of service via TLS initiEPSS 0.3%CVE-2023-23004MEDIUMIn the Linux kernel before 5.19, drivers/gpu/drm/arm/malidp_planes.c misinterprets the get_sg_table return value (expects it to be NULL in tEPSS 0.3%CVE-2026-21691MEDIUMiccDEV has Type Confusion in CIccTag:IsTypeCompressed()EPSS 0.3%CVE-2025-65296MEDIUMNULL-pointer dereference vulnerabilities in Aqara Hub M2 4.3.6_0027, Hub M3 4.3.6_0025, and Camera Hub G3 4.1.9_0027 in the JSON processing EPSS 0.3%CVE-2022-49472MEDIUMnet: phy: micrel: Allow probing without .driver_dataEPSS 0.3%CVE-2025-20793MEDIUMIn Modem, there is a possible system crash due to incorrect error handling. This could lead to remote denial of service, if a UE has connectEPSS 0.3%CVE-2022-49475MEDIUMspi: spi-fsl-qspi: check return value after calling platform_get_resource_byname()EPSS 0.3%CVE-2023-7042MEDIUMKernel: null pointer dereference in ath10k_wmi_tlv_op_pull_mgmt_tx_compl_ev()EPSS 0.3%CVE-2020-35538—A crafted input file could cause a null pointer dereference in jcopy_sample_rows() when processed by libjpeg-turbo.EPSS 0.3%CVE-2022-49400MEDIUMmd: Don't set mddev private to NULL in raid0 pers->freeEPSS 0.3%CVE-2023-52976MEDIUMefi: fix potential NULL deref in efi_mem_reserve_persistentEPSS 0.3%CVE-2025-68699MEDIUMNanoMQ $share/ Subscription Validation and Forwarding Parsing Inconsistency: NULL Pointer Increment Causes CrashEPSS 0.3%CVE-2026-7376MEDIUMNULL Pointer Dereference in WiresharkEPSS 0.3%CVE-2026-10656MEDIUMNULL-pointer dereference DoS in MAX32 USB device controller transfer-completion handlersEPSS 0.3%CVE-2025-21155MEDIUMSubstance3D - Stager | NULL Pointer Dereference (CWE-476)EPSS 0.3%CVE-2022-28189MEDIUMNVIDIA GPU Display Driver for Windows contains a vulnerability in the kernel mode layer (nvlddmkm.sys) handler for DxgkDdiEscape, where a NUEPSS 0.3%CVE-2023-53399HIGHksmbd: fix NULL pointer dereference in smb2_get_info_filesystem()EPSS 0.3%CVE-2023-46046MEDIUMAn issue in MiniZinc before 2.8.0 allows a NULL pointer dereference via ti_expr in a crafted .mzn file. NOTE: this is disputed because thereEPSS 0.3%CVE-2024-53952MEDIUMInDesign Desktop | NULL Pointer Dereference (CWE-476)EPSS 0.3%CVE-2022-49707MEDIUMext4: add reserved GDT blocks checkEPSS 0.3%