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-2022-49756MEDIUMphy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()EPSS 0.2%CVE-2026-71967MEDIUMOP-TEE OS 4.10.0 NULL Pointer Dereference DoS via Widevine PTA open_sessionEPSS 0.2%CVE-2023-52371LOWVulnerability of null references in the motor module.Successful exploitation of this vulnerability may affect availability.EPSS 0.2%CVE-2024-23799LOWA vulnerability has been identified in Tecnomatix Plant Simulation V2201 (All versions), Tecnomatix Plant Simulation V2302 (All versions < VEPSS 0.2%CVE-2026-91779MEDIUMGNU Binutils Eh Frame elf-eh-frame.c _bfd_elf_eh_frame_section_offset null pointer dereferenceEPSS 0.2%CVE-2026-91780MEDIUMGNU Binutils elflink.c elf_link_add_object_symbols null pointer dereferenceEPSS 0.2%CVE-2024-23800LOWA vulnerability has been identified in Tecnomatix Plant Simulation V2201 (All versions), Tecnomatix Plant Simulation V2302 (All versions < VEPSS 0.2%CVE-2025-21933MEDIUMarm: pgtable: fix NULL pointer dereference issueEPSS 0.2%CVE-2024-23801LOWA vulnerability has been identified in Tecnomatix Plant Simulation V2201 (All versions), Tecnomatix Plant Simulation V2302 (All versions < VEPSS 0.2%CVE-2026-50810MEDIUMA NULL pointer dereference in smooth_parse_stream_index() in src/media_tools/mpd.c in GPAC master HEAD before commit b35c61f104b85fbb16520acEPSS 0.2%CVE-2026-13213MEDIUMBluetooth HAS: NULL-pointer dereference DoS when a bonded peer reconnects before bt_has_registerEPSS 0.2%CVE-2024-57934MEDIUMfgraph: Add READ_ONCE() when accessing fgraph_array[]EPSS 0.2%CVE-2025-70102MEDIUMA NULL pointer dereference occurs in Roy Marples NetworkConfiguration/dhcpcd 10.3.0 while parsing configuration options. In parse_option() (EPSS 0.2%CVE-2023-31026MEDIUMCVEEPSS 0.2%CVE-2025-21084LOWArkcompiler Ets Runtime has an NULL pointer dereference vulnerabilityEPSS 0.2%CVE-2026-90609MEDIUMGPAC MP4Box vrml_tools.c null pointer dereferenceEPSS 0.2%CVE-2026-56288MEDIUMNULL Pointer Dereference in GNU patchEPSS 0.2%CVE-2026-19024HIGHHDF5 H5Pget_fill_value NULL Pointer Dereference via Malformed Fill Value MessageEPSS 0.2%CVE-2026-90622MEDIUMGNU libredwg Layer Encoding dwg.spec DWG_TABLE null pointer dereferenceEPSS 0.2%CVE-2026-15184MEDIUMGNU LibreDWG DWG File dwg.c dwg_next_entity null pointer dereferenceEPSS 0.2%