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-2024-53235MEDIUMerofs: fix file-backed mounts over FUSEEPSS 0.2%CVE-2024-57914MEDIUMusb: typec: tcpci: fix NULL pointer issue on shared irq caseEPSS 0.2%CVE-2021-37639HIGHNull pointer dereference and heap OOB read in TensorFlowEPSS 0.2%CVE-2026-33996MEDIUMLibJWT has NULL/bounds validation in JWK octet and RSA PSS parsingEPSS 0.2%CVE-2021-37681HIGHNull pointer exception in TensorFlow LiteEPSS 0.2%CVE-2024-57944MEDIUMiio: adc: ti-ads1298: Add NULL check in ads1298_initEPSS 0.2%CVE-2024-57927MEDIUMnfs: Fix oops in nfs_netfs_init_request() when copying to cacheEPSS 0.2%CVE-2021-41208HIGHIncomplete validation in boosted trees codeEPSS 0.2%CVE-2022-20521MEDIUMIn sdpu_find_most_specific_service_uuid of sdp_utils.cc, there is a possible way to crash Bluetooth due to a missing null check. This could EPSS 0.2%CVE-2024-56612MEDIUMmm/gup: handle NULL pages in unpin_user_pages()EPSS 0.2%CVE-2025-21953MEDIUMnet: mana: cleanup mana struct after debugfs_remove()EPSS 0.2%CVE-2026-90829MEDIUMGNU Binutils SHT_GROUP Section elf.c bfd_elf_set_group_contents null pointer dereferenceEPSS 0.2%CVE-2024-24856MEDIUMNULL pointer deference in acpi_db_convert_to_package of Linux acpi moduleEPSS 0.2%CVE-2025-0121MEDIUMCortex XDR Agent: Local Windows User Can Crash the AgentEPSS 0.2%CVE-2023-31021MEDIUMCVEEPSS 0.2%CVE-2022-50405HIGHnet/tunnel: wait until all sk_user_data reader finish before releasing the sockEPSS 0.2%CVE-2023-0197MEDIUMNVIDIA vGPU software contains a vulnerability in the Virtual GPU Manager, where a malicious user in a guest VM can cause a NULL-pointer dereEPSS 0.2%CVE-2026-5745MEDIUMLibarchive: a null pointer dereference vulnerability exists in the acl parser of libarchiveEPSS 0.2%CVE-2024-56540HIGHaccel/ivpu: Prevent recovery invocation during probe and resumeEPSS 0.2%CVE-2026-71967MEDIUMOP-TEE OS 4.10.0 NULL Pointer Dereference DoS via Widevine PTA open_sessionEPSS 0.2%