Weaknesses of type CWE-823

105 results

Uso de offset de ponteiro fora do intervalo válido

O código calcula ou usa um deslocamento (offset) para um ponteiro que aponta para além dos limites da memória alocada ou válida para aquele objeto. Isso permite leitura ou escrita em áreas de memória não pretendidas, causando corrupção de dados, vazamento de informações ou execução de código arbitrário.

Example

Uma função recebe um índice do usuário e o usa diretamente como offset em um array sem validar se está dentro dos limites: `int valor = array[indice_usuario];` Se indice_usuario for negativo ou maior que o tamanho do array, acessa memória inválida.

How to mitigate

Sempre validar índices e offsets antes de usá-los em aritmética de ponteiros: confirmar que estão dentro de [0, tamanho]. Use funções seguras de cópia de memória (como strncpy ao invés de strcpy) e considere usar linguagens com verificação de limites em tempo de execução ou análise estática para detectar offsets suspeitos.

CVE-2024-52937MEDIUMGPU DDK - rgxfw_kernel_CMD_DISABLE_ZSSTORE OOB write via ui32WriteOffsetOfDisableZSStoreEPSS 0.2%CVE-2026-20022MEDIUMA vulnerability in the OSPF protocol of Cisco Secure Firewall ASA Software and Cisco Secure FTD Software could allow an unauthenticated, adjEPSS 0.2%CVE-2024-52936MEDIUMGPU DDK - rgxfw_hwperf_config OOB read & writeEPSS 0.2%CVE-2026-21487MEDIUMiccDEV has Out-of-bounds Read, Use of Out-of-range Pointer Offset and Improper Input ValidationEPSS 0.2%CVE-2024-52939HIGHGPU DDK - RGXFWIF_HWPERF_CTL_BLK.uiNumCounters OOB writeEPSS 0.2%CVE-2025-0467HIGHGPU DDK - rgxfw_hwperf_get_packet_buffer OOB writeEPSS 0.2%CVE-2024-12577HIGHGPU DDK - rgxfw_pcset_ungrab OOB write via psFWMemContext->uiPageCatBaseRegSetEPSS 0.2%CVE-2024-47900HIGHGPU DDK - Multiple integer overflow in DmaTransfer PMR_DevPhysAddr functions leading to OOB writesEPSS 0.2%CVE-2026-21734HIGHGPU DDK - libusc OOB write at TreeRemove during WebGPU shader compilationEPSS 0.2%CVE-2024-47896LOWGPU DDK - rgxfw_hwr_log_info OOB write via psHWRInfoBuf->ui32WriteIndexEPSS 0.2%CVE-2023-33079HIGHUse of Out-of-range Pointer Offset in AudioEPSS 0.2%CVE-2026-23764MEDIUMVB-Audio Voicemeeter & Matrix Drivers DoS via Corrupted IoAllocateMdl LengthEPSS 0.2%CVE-2026-34193MEDIUMGPU DDK - Arbitrary write via UFO updates due insufficient pointer validation in rgxfw_to_ptr()EPSS 0.1%CVE-2025-25180HIGHGPU DDK - Insufficient validation in RGXCREATEFREELIST creates corrupt freelistEPSS 0.1%CVE-2024-33041MEDIUMUse of Out-of-range Pointer Offset in Computer VisionEPSS 0.1%CVE-2022-25694HIGHUse of Out-of-range Pointer Offset in MODEMEPSS 0.1%CVE-2022-25709HIGHUse of Out-of-range Pointer Offset in Data ModemEPSS 0.1%CVE-2023-28575MEDIUMMultiple Type Confusion VulnerabilityEPSS 0.1%CVE-2022-33246MEDIUMUse of out-of-range pointer offset in AudioEPSS 0.1%CVE-2021-22549MEDIUMArbitrary enclave memory overwrite vulnerability in Asylo TrustedPrimitives::UntrustedCallEPSS 0.1%