Falhas do tipo CWE-476

2.572 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-2023-26917HIGHlibyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parseEPSS 0.9%CVE-2022-34761HIGHA CWE-476: NULL Pointer Dereference vulnerability exists that could cause a denial of service of the webserver when parsing JSON content typEPSS 0.9%CVE-2022-42928HIGHCertain types of allocations were missing annotations that, if the Garbage Collector was in a specific state, could have lead to memory corrEPSS 0.9%CVE-2022-3116HIGHThe Heimdal Software Kerberos 5 implementation is vulnerable to a null pointer dereferance. An attacker with network access to an applicatioEPSS 0.9%CVE-2022-1507MEDIUMchafa: NULL Pointer Dereference in function gif_internal_decode_frame at libnsgif.c:599 allows attackers to cause a denial of service (crash) via a crafted input file. in hpjansson/chafaEPSS 0.9%CVE-2022-23525MEDIUMHelm vulnerable to Denial of service via NULL Pointer DereferenceEPSS 0.9%CVE-2022-23526MEDIUMHelm contains Denial of service through schema fileEPSS 0.9%CVE-2021-4188MEDIUMNULL Pointer Dereference in mruby/mrubyEPSS 0.9%CVE-2019-10207MEDIUMA flaw was found in the Linux kernel's Bluetooth implementation of UART, all versions kernel 3.x.x before 4.18.0 and kernel 5.x.x. An attackEPSS 0.9%CVE-2020-10602—In OSIsoft PI System multiple products and versions, an authenticated remote attacker could crash PI Network Manager due to a race conditionEPSS 0.9%CVE-2023-49275MEDIUMWazuh vulnerable to NULL Pointer Dereference in wazuh-analysisdEPSS 0.9%CVE-2021-3319MEDIUMDOS: Incorrect 802154 Frame Validation for Omitted Source / Dest AddressesEPSS 0.9%CVE-2024-10750HIGHTenda i22 SysToo websReadEvent null pointer dereferenceEPSS 0.9%CVE-2024-38536HIGHSuricata http/range: NULL-ptr deref when http.memcap is reachedEPSS 0.9%CVE-2024-26342HIGHA Null pointer dereference in usr/sbin/httpd in ASUS AC68U 3.0.0.4.384.82230 allows remote attackers to trigger DoS via network packet.EPSS 0.9%CVE-2026-8619HIGHUnauthenticated Denial-of-Service Vulnerability in HTTP Service in TP-Link TL-MR100, TL-MR150, TL-MR6400 and Archer MR600EPSS 0.9%CVE-2024-47599MEDIUMGHSL-2024-247: GStreamer Insufficient error handling in JPEG decoder that can lead to NULL-pointer dereferencesEPSS 0.9%CVE-2024-47601MEDIUMGHSL-2024-249: GStreamer has a NULL-pointer dereference in Matroska/WebM demuxerEPSS 0.9%CVE-2024-47603MEDIUMGHSL-2024-251: GStreamer NULL-pointer dereference in Matroska/WebM demuxerEPSS 0.9%CVE-2026-52929HIGHsctp: stream: fully roll back denied add-stream stateEPSS 0.9%