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-50225HIGHbtrfs: fix error propagation of split biosEPSS 0.2%CVE-2026-50673HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2024-58012MEDIUMASoC: SOF: Intel: hda-dai: Ensure DAI widget is valid during paramsEPSS 0.2%CVE-2025-21847MEDIUMASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()EPSS 0.2%CVE-2025-21637HIGHsctp: sysctl: udp_port: avoid using current->nsproxyEPSS 0.2%CVE-2024-56646MEDIUMipv6: avoid possible NULL deref in modify_prefix_route()EPSS 0.2%CVE-2025-21857MEDIUMnet/sched: cls_api: fix error handling causing NULL dereferenceEPSS 0.2%CVE-2025-14957MEDIUMWebAssembly Binaryen IRBuilder wasm-ir-builder.cpp makeLocalTee null pointer dereferenceEPSS 0.2%CVE-2025-21833MEDIUMiommu/vt-d: Avoid use of NULL after WARN_ON_ONCEEPSS 0.2%CVE-2022-4127MEDIUMA NULL pointer dereference issue was discovered in the Linux kernel in io_files_update_with_index_alloc. A local user could use this flaw toEPSS 0.2%CVE-2025-21901HIGHRDMA/bnxt_re: Add sanity checks on rdev validityEPSS 0.2%CVE-2024-56537MEDIUMdrm: xlnx: zynqmp_disp: layer may be null while releasingEPSS 0.2%CVE-2024-35940MEDIUMpstore/zone: Add a null pointer check to the psz_kmsg_readEPSS 0.2%CVE-2021-3463MEDIUMA null pointer dereference vulnerability in Lenovo Power Management Driver for Windows 10, prior to version 1.67.17.54, that could cause sysEPSS 0.2%CVE-2025-43583MEDIUMSubstance3D - Viewer | NULL Pointer Dereference (CWE-476)EPSS 0.2%CVE-2024-34030MEDIUMPCI: of_property: Return error for int_map allocation failureEPSS 0.2%CVE-2024-56698MEDIUMusb: dwc3: gadget: Fix looping of queued SG entriesEPSS 0.2%CVE-2022-21815MEDIUMNVIDIA GPU Display Driver for Windows contains a vulnerability in the kernel mode layer (nvlddmkm.sys) handler for private IOCTLs where a NUEPSS 0.2%CVE-2025-21649MEDIUMnet: hns3: fix kernel crash when 1588 is sent on HIP08 devicesEPSS 0.2%CVE-2025-7209MEDIUM9fans plan9port x509.c value_decode null pointer dereferenceEPSS 0.2%