Fallos del tipo CWE-130

117 resultados

Inconsistência no tratamento do parâmetro de comprimento

A fraqueza ocorre quando o código não valida ou não sincroniza corretamente o parâmetro de comprimento (length) com o tamanho real do buffer ou dado sendo manipulado. Se o desenvolvedor confia em um comprimento fornecido sem verificar sua coerência com o espaço disponível, buffers podem ser sobrescritos, causando corrupção de memória ou execução arbitrária.

Ejemplo

Uma função C que copia dados baseada em um tamanho informado pelo usuário sem validar se esse tamanho não ultrapassa o buffer alocado: `memcpy(dest, src, user_provided_length)`. Se user_provided_length for maior que sizeof(dest), haverá estouro de buffer.

Cómo mitigar

Sempre validar que o parâmetro de comprimento não ultrapassa o tamanho máximo do buffer alvo antes de usar (ex: verificar `length <= buffer_size`). Use funções seguras como `strncpy` ou `memcpy_s` que aceitam limite explícito, e sanitize todo input externo que influencie o comprimento.

CVE-2026-47692MEDIUMEnvoy: PROXY Protocol v2 header generator emits "skipped" TLVs, causing 65 KB attacker-controlled spillover into the upstream application streamEPSS 0.2%CVE-2026-58097HIGHppp(8): missing length validation in mp_SetEnddisc()EPSS 0.2%CVE-2025-10458HIGHBluetooth: le_conn_rsp does not sanitize CID, MTU, MPS valuesEPSS 0.2%CVE-2026-62424MEDIUMbuffer overruns in libfsimage iso9660 handlingEPSS 0.2%CVE-2026-62423MEDIUMbuffer overruns in libfsimage iso9660 handlingEPSS 0.2%CVE-2026-45615HIGHmouse07410/asn1c: 1-byte Heap Out-of-Bounds Read in `INTEGER_decode_oer` via Malformed OER PayloadEPSS 0.2%CVE-2024-47293MEDIUMOut-of-bounds write vulnerability in the HAL-WIFI module Impact: Successful exploitation of this vulnerability may affect availability.EPSS 0.2%CVE-2025-48022MEDIUMA vulnerability has been found in Vnet/IP Interface Package provided by Yokogawa Electric Corporation. If affected product receives maliciouEPSS 0.2%CVE-2026-71402MEDIUMwicked: out-of-bounds read in the DHCPv4 option parser due to payload length taken from the IP total lengthEPSS 0.2%CVE-2026-15418LOWCP210x Memory LeakageEPSS 0.2%CVE-2026-34831MEDIUMRack: Content-Length mismatch in Rack::Files error responsesEPSS 0.1%CVE-2023-52547HIGHHuawei Matebook D16(Model: CREM-WXX9, BIOS: v2.26. Memory Corruption in SMI Handler of HddPassword SMM Module. This can be leveraged by a maEPSS 0.1%CVE-2026-25572MEDIUMA vulnerability has been identified in SICAM SIAPP SDK (All versions < V2.1.7). The SICAM SIAPP SDK server component does not enforce maximuEPSS 0.1%CVE-2025-54646MEDIUMVulnerability of inadequate packet length check in the BLE module. Impact: Successful exploitation of this vulnerability may affect performaEPSS 0.1%CVE-2026-25571MEDIUMA vulnerability has been identified in SICAM SIAPP SDK (All versions < V2.1.7). The SICAM SIAPP SDK client component does not enforce maximuEPSS 0.1%CVE-2025-26432MEDIUMIn multiple locations, there is a possible way to persistently DoS the device due to a missing length check. This could lead to local denialEPSS 0.1%CVE-2026-77619HIGHVector: Unauthenticated denial of service in the `logstash` source via unbounded memory allocation.EPSS