Fallos del tipo CWE-823

105 resultados

Uso de índice fora dos limites do ponteiro

Ocorre quando código calcula um deslocamento (offset) de ponteiro sem validar se o resultado aponta para uma localização válida na memória alocada. O programa acessa ou modifica posições de memória que não fazem parte do bloco alocado, causando corrupção de dados, leitura não autorizada ou execução de código.

Ejemplo

Um aplicativo aloca um buffer de 100 bytes e, ao processar um índice fornecido pelo usuário, calcula `ponteiro + indice_usuario` sem verificar se `indice_usuario` ultrapassa 99. Ao acessar essa posição calculada, o código toca em memória fora do buffer alocado.

Cómo mitigar

Sempre validar índices e deslocamentos antes de usá-los em aritmética de ponteiros. Usar funções seguras de cálculo de offset, implementar verificação de limites (bounds checking) e considerar usar linguagens ou ferramentas que fazem isso automaticamente, como AddressSanitizer durante desenvolvimento.

CVE-2022-21147MEDIUMAn out of bounds read vulnerability exists in the malware scan functionality of ESTsoft Alyac 2.5.7.7. A specially-crafted PE file can triggEPSS 0.7%CVE-2023-20187HIGHA vulnerability in the Multicast Leaf Recycle Elimination (mLRE) feature of Cisco IOS XE Software for Cisco ASR 1000 Series Aggregation ServEPSS 0.7%CVE-2026-72642HIGHUse of Out-of-range Pointer Offset in the Elasticsearch Machine Learning Native Inference ProcessEPSS 0.6%CVE-2023-24855CRITICALUse of Out-of-range Pointer Offset in ModemEPSS 0.5%CVE-2024-6603HIGHMemory corruption in thread creationEPSS 0.5%CVE-2026-42946HIGHNGINX ngx_http_scgi_module and ngx_http_uwsgi_module vulnerabilityEPSS 0.5%CVE-2026-48977HIGHOpenSlide: Arbitrary memory write with crafted Ventana BIF fileEPSS 0.5%CVE-2025-46806MEDIUMMisaligned Memory Accesses in `is_openvpn_protocol()`EPSS 0.5%CVE-2026-46244CRITICALnetfilter: nft_inner: Fix IPv6 inner_thoff desyncEPSS 0.5%CVE-2023-2426MEDIUMUse of Out-of-range Pointer Offset in vim/vimEPSS 0.4%CVE-2021-1352HIGHCisco IOS XE Software DECnet Phase IV/OSI Denial of Service VulnerabilityEPSS 0.4%CVE-2026-12290HIGHMemory safety bug fixed in Firefox 152EPSS 0.4%CVE-2025-11232HIGHInvalid characters cause assertEPSS 0.4%CVE-2024-42416HIGHMultiple issues in ctl(4) CAM Target LayerEPSS 0.4%CVE-2025-54152LOWQsync CentralEPSS 0.4%CVE-2026-41907HIGHuuid: Missing buffer bounds check in `v3`/`v5`/`v6` when `buf` is providedEPSS 0.4%CVE-2024-42386HIGHUse of Out-of-range Pointer Offset in Mongoose Web Server libraryEPSS 0.4%CVE-2023-22388CRITICALUse of Out-of-range Pointer Offset in Multi-mode Call ProcessorEPSS 0.4%CVE-2023-43553CRITICALUse of Out-of-range Pointer Offset in WLAN HOSTEPSS 0.4%CVE-2017-11076HIGHUse of Out-of-range Pointer Offset in VideoEPSS 0.4%