Falhas do tipo CWE-1285

58 resultados

Validação inadequada de índice, posição ou deslocamento na entrada

A aplicação aceita um índice, posição ou offset do usuário sem validar se está dentro dos limites válidos do array, string ou buffer. Isso permite que atacantes acessem ou modifiquem posições de memória inválidas, causando crashes, leitura de dados sensíveis ou execução de código.

Exemplo

Um sistema de upload permite ao cliente especificar qual "chunk" de um arquivo processar informando um índice. Se o código não verifica se esse índice existe na lista de chunks, o atacante pode fornecer um índice negativo ou maior que o tamanho do array, causando acesso fora dos limites.

Como mitigar

Sempre validar índices/offsets contra os limites reais da estrutura (verificar se está >= 0 e < tamanho). Usar operações de acesso seguro que já realizam esse tipo de verificação, como métodos de biblioteca que lançam exceção em caso de índice inválido, em vez de operações de baixo nível com aritmética manual.

CVE-2025-7848HIGHMissing input check in lvpict.cpp used in NI LabVIEWEPSS 4.2%CVE-2023-46724HIGHSQUID-2023:4 Denial of Service in SSL Certificate validationEPSS 4.0%CVE-2022-21821HIGHNVIDIA CUDA Toolkit SDK contains an integer overflow vulnerability in cuobjdump.To exploit this vulnerability, a remote attacker would requiEPSS 2.0%CVE-2026-2006HIGHPostgreSQL missing validation of multibyte character length executes arbitrary codeEPSS 1.1%CVE-2020-25241A vulnerability has been identified in SIMATIC MV400 family (All Versions < V7.0.6). The underlying TCP stack of the affected products does EPSS 1.0%CVE-2025-3357CRITICALIBM Tivoli Monitoring code executionEPSS 0.9%CVE-2022-22223MEDIUMJunos OS: QFX10000 Series: In IP/MPLS PHP node scenarios upon receipt of certain crafted packets multiple interfaces in LAG configurations may detach.EPSS 0.8%CVE-2026-32285HIGHDenial of service in github.com/buger/jsonparserEPSS 0.8%CVE-2025-3755CRITICALInformation Disclosure and Denial-of-Service(DoS) Vulnerability in MELSEC iQ-F Series CPU moduleEPSS 0.7%CVE-2026-43868MEDIUMApache Thrift: Rust implementation vulnerable to CVE-2020-13949 patternEPSS 0.7%CVE-2025-67268CRITICALgpsd before commit dc966aa contains a heap-based out-of-bounds write vulnerability in the drivers/driver_nmea2000.c file. The hnd_129540 funEPSS 0.7%CVE-2026-33557CRITICALApache Kafka: Missing JWT token validation in OAUTHBEARER authenticationEPSS 0.7%CVE-2022-22201HIGHSRX5000 Series with SPC3, SRX4000 Series, and vSRX: When PowerMode IPsec is configured, the PFE will crash upon receipt of a malformed ESP packetEPSS 0.6%CVE-2025-2399MEDIUMDenial of Service (DoS) Vulnerability in Mitsubishi Electric CNC SeriesEPSS 0.6%CVE-2024-23612HIGHImproper Error Handling Issue in LabVIEWEPSS 0.6%CVE-2024-23609HIGHImproper Error Handling Issue in LabVIEWEPSS 0.6%CVE-2023-0859LOWArbitrary Files can be installed in the Setting Data Import function of Office / Small Office Multifunction Printers and Laser Printers(*). EPSS 0.5%CVE-2026-32286HIGHDenial of service in github.com/jackc/pgproto3/v2EPSS 0.5%CVE-2024-51564HIGHbhyve(8) infinite loop in the hda audio driverEPSS 0.4%CVE-2025-55087MEDIUMIn NextX Duo's snmp addon versions before 6.4.4, a part of the Eclipse Foundation ThreadX, an attacker could cause an out-of-bound read by aEPSS 0.4%