Falhas do tipo CWE-125

5.130 resultados

Leitura fora dos limites de memória

Ocorre quando o código tenta ler dados de uma posição de memória fora do intervalo alocado para um buffer ou array. O programa não valida o índice ou tamanho antes de acessar, causando leitura de dados inválidos, corrupção de informações ou revelação de dados sensíveis da memória adjacente.

Exemplo

Um processador de imagem PNG lê 4 bytes de um buffer de 2 bytes para validar uma assinatura, ou uma função copia uma string sem verificar se o índice fornecido pelo usuário extrapola o tamanho real do array. Em ambos os casos, dados fora do escopo pretendido são lidos.

Como mitigar

Sempre validar índices e comprimentos contra os limites reais do buffer antes de qualquer leitura. Usar funções seguras (ex: `strncpy` em vez de `strcpy`, bounds-checking em loops) e implementar testes com entradas extremas (size zero, índices negativos, valores muito grandes).

CVE-2024-11506HIGHIrfanView DWG File Parsing Out-Of-Bounds Read Remote Code Execution VulnerabilityEPSS 0.4%CVE-2026-48683MEDIUMFastNetMon Community Edition through 1.2.9 contains an out-of-bounds read vulnerability in the NetFlow v9 data flowset processor. In src/netEPSS 0.4%CVE-2026-48502HIGHMessagePack-CSharp: Denial of service vulnerabilities can swamp the CPU or crash the process with stack and heap overflowsEPSS 0.4%CVE-2025-43962LOWIn LibRaw before 0.21.4, phase_one_correct in decoders/load_mfbacks.cpp has out-of-bounds reads for tag 0x412 processing, related to large wEPSS 0.4%CVE-2023-34100HIGHOut-of-Bounds Read in contiki-ngEPSS 0.4%CVE-2025-43961LOWIn LibRaw before 0.21.4, metadata/tiff.cpp has an out-of-bounds read in the Fujifilm 0xf00c tag parser.EPSS 0.4%CVE-2026-32853MEDIUMLibVNCServer UltraZip Encoding Heap Out-of-bounds ReadEPSS 0.4%CVE-2026-47149HIGHDoor Lock GetUserType invalid table index in EmberZNet v9.0.2EPSS 0.4%CVE-2026-47148HIGHGroups GetGroupMembership count/list-length mismatch in EmberZNet v9.0.2EPSS 0.4%CVE-2023-42052LOWPDF-XChange Editor U3D File Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 0.4%CVE-2023-42054LOWPDF-XChange Editor U3D File Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 0.4%CVE-2023-42065LOWPDF-XChange Editor JP2 File Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 0.4%CVE-2023-21028HIGHIn parse_printerAttributes of ipphelper.c, there is a possible out of bounds read due to a string without a null-terminator. This could leadEPSS 0.4%CVE-2023-42087LOWPDF-XChange Editor EMF File Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-4526HIGHGlobal ZCL command parser missing minimum-length validation in EmberZNet v9.0.2EPSS 0.4%CVE-2023-21053HIGHIn sms_ExtractCbLanguage of sms_CellBroadcast.c, there is a possible out of bounds read due to a missing bounds check. This could lead to reEPSS 0.4%CVE-2024-54090MEDIUMA vulnerability has been identified in APOGEE PXC Series (BACnet) (All versions), APOGEE PXC Series (P2 Ethernet) (All versions), TALON TC SEPSS 0.4%CVE-2026-47154HIGHSimple Metering GetProfileResponse interval-bounds bug in EmberZNet v9.0.2EPSS 0.4%CVE-2026-63550HIGHMZ Automation libiec61850 Out-of-bounds ReadEPSS 0.4%CVE-2023-42070LOWPDF-XChange Editor Doc Object Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 0.4%