Weaknesses of type CWE-129

381 results

Validação inadequada de índice de array

Ocorre quando o código não valida corretamente se um índice está dentro dos limites válidos do array antes de acessá-lo. Um atacante pode fornecer um índice fora dos limites (negativo ou maior que o tamanho), causando leitura ou escrita em endereços de memória inválidos, resultando em crash, vazamento de dados ou execução de código arbitrário.

Example

Uma API web recebe um parâmetro 'posição' do usuário e acessa um array sem verificar se a posição é válida. Um atacante envia posição=-1 ou posição=999999, lendo/alterando memória adjacente ao array, ou causando segmentation fault.

How to mitigate

Sempre validar que o índice é >= 0 e < tamanho do array antes de usar. Em linguagens de alto nível, preferir iteradores ou métodos nativos que validam automaticamente; em C/C++, usar bounds checking explícito ou bibliotecas como AddressSanitizer durante testes.

CVE-2026-57266HIGHGeoVision GeoWebPlayer Websocket Server out-of-bounds read vulnerabilityEPSS 0.4%CVE-2026-57267HIGHGeoVision GeoWebPlayer Websocket Server out-of-bounds read vulnerabilityEPSS 0.4%CVE-2026-57265HIGHGeoVision GeoWebPlayer Websocket Server out-of-bounds read vulnerabilityEPSS 0.4%CVE-2026-13132HIGHGeoVision GeoWebPlayer Websocket Server out-of-bounds read vulnerabilityEPSS 0.4%CVE-2026-57270HIGHGeoVision GeoWebPlayer Websocket Server out-of-bounds read vulnerabilityEPSS 0.4%CVE-2026-31963HIGHHTSlib CRAM reader has heap buffer overflow due to improper validation of inputEPSS 0.4%CVE-2022-31745MEDIUMIf array shift operations are not used, the Garbage Collector may have become confused about valid objects. This vulnerability affects FirefEPSS 0.4%CVE-2026-34942MEDIUMWasmtime panics when transcoding misaligned utf-16 stringsEPSS 0.4%CVE-2026-13212HIGHZephyr virtio driver calls an arbitrary function pointer from an out-of-range used-ring descriptor idEPSS 0.4%CVE-2026-119278MEDIUMMariaDB Connector/J: Rogue server can crash the client during caching_sha2_password authenticationEPSS 0.4%CVE-2022-40537HIGHImproper Validation of Array Index in Bluetooth HOSTEPSS 0.4%CVE-2026-107217HIGHExcelize ColumnNameToNumber: int64 overflow yields an out-of-domain coordinate with nil error, causing negative slice index panic on r="0" rowsEPSS 0.4%CVE-2025-0657HIGHALC WebCTRL Carrier i-Vu and Gen5 Controllers Array Index out-of-rangeEPSS 0.4%CVE-2026-87500CRITICALImproper validation of array index in ANGLE in Google Chrome prior to 153.0.8010.36 allowed a remote attacker to potentially execute arbitraEPSS 0.4%CVE-2026-113881MEDIUMFireware OS Stack Buffer Overflow in VPN Network Access Enforcement Allows Unprivileged Code ExecutionEPSS 0.4%CVE-2025-10158MEDIUMRsync: Out of bounds array access via negative indexEPSS 0.3%CVE-2026-53792HIGHrsync < 3.5.0 Out-of-Bounds Read via Zero-Length Checksum BlockEPSS 0.3%CVE-2026-114405HIGHDenial of Service via Malformed VATP Packet in Velneo vServerEPSS 0.3%CVE-2026-120064HIGHpsqlODBC does not validate column numbers and row indexes in binding and descriptor functionsEPSS 0.3%CVE-2024-2214HIGHMissing array size check in _Mtxinit() in the Xtensa portEPSS 0.3%