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-56568MEDIUMiommu/arm-smmu: Defer probe of clients after smmu device boundEPSS 0.2%CVE-2025-8865MEDIUMThe YugabyteDB tablet server contains a flaw in its YCQL query handling that can trigger a null pointer dereference when processing certain EPSS 0.2%CVE-2023-53421MEDIUMblk-cgroup: Reinit blkg_iostat_set after clearing in blkcg_reset_stats()EPSS 0.2%CVE-2021-37643HIGHNull pointer dereference in `MatrixDiagPartOp` in TensorFlowEPSS 0.2%CVE-2022-50347MEDIUMmmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host()EPSS 0.2%CVE-2026-9567MEDIUMGPAC MP4Box isom_intern.c MergeFragment null pointer dereferenceEPSS 0.2%CVE-2021-37637HIGHNull pointer dereference in `CompressElement` in TensorFlowEPSS 0.2%CVE-2022-50344MEDIUMext4: fix null-ptr-deref in ext4_write_infoEPSS 0.2%CVE-2026-76014MEDIUMBusyBox FEATURE_WGET_TIMEOUT wget.c null pointer dereferenceEPSS 0.2%CVE-2026-36909MEDIUMA NULL pointer dereference in the AP4_TkhdAtom::GetTrackId() function of Aleksoid1978 MPC-BE before commit 4341cb3 allows attackers to causeEPSS 0.2%CVE-2022-50381MEDIUMmd: fix a crash in mempool_freeEPSS 0.2%CVE-2021-37649HIGHNull pointer dereference in `UncompressElement` in TensorFlowEPSS 0.2%CVE-2026-14790MEDIUMGPAC Media File write_nhml.c nhmldump_send_frame null pointer dereferenceEPSS 0.2%CVE-2026-9503MEDIUMGNU LibreDWG DWG File decode.c dwg_next_entity null pointer dereferenceEPSS 0.2%CVE-2026-9529MEDIUMGNU LibreDWG Dwggrep Utility dwggrep.c match_BLOCK_HEADER null pointer dereferenceEPSS 0.2%CVE-2021-37647HIGHNull pointer dereference in `SparseTensorSliceDataset` in TensorFlowEPSS 0.2%CVE-2026-50812MEDIUMA NULL pointer dereference in the SQLite Session Extension in SQLite 3.53.1 and SQLite trunk builds before check-in e807d4e3798efd53 allows EPSS 0.2%CVE-2025-20071MEDIUMNULL pointer dereference for some Intel(R) Graphics Drivers may allow an authenticated user to potentially enable denial of service via locaEPSS 0.2%CVE-2024-37996MEDIUMA vulnerability has been identified in JT Open (All versions < V11.5), JT2Go (All versions < V2406.0003), PLM XML SDK (All versions < V7.1.0EPSS 0.2%CVE-2025-22027MEDIUMmedia: streamzap: fix race between device disconnection and urb callbackEPSS 0.2%