Falhas do tipo CWE-125

5.126 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-34974HIGHTenda AC18 v15.03.05.19 is vulnerable to Buffer Overflow in the formSetPPTPServer function via the endIp parameter.EPSS 0.7%CVE-2026-76989MEDIUMliftoff-sr CIPster TCP Encapsulation Receive Path encap.cc out-of-boundsEPSS 0.7%CVE-2023-22485MEDIUMcmark-gfm out-of-bounds read in validate_protocolEPSS 0.7%CVE-2025-21598HIGHJunos OS and Junos OS Evolved: When BGP traceoptions are configured, receipt of malformed BGP packets causes RPD to crashEPSS 0.7%CVE-2024-26172MEDIUMWindows DWM Core Library Information Disclosure VulnerabilityEPSS 0.7%CVE-2024-26952HIGHksmbd: fix potencial out-of-bounds when buffer offset is invalidEPSS 0.7%CVE-2023-21772HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2021-3743—An out-of-bounds (OOB) memory read flaw was found in the Qualcomm IPC router protocol in the Linux kernel. A missing sanity check allows a lEPSS 0.7%CVE-2025-60728MEDIUMMicrosoft Excel Information Disclosure VulnerabilityEPSS 0.7%CVE-2024-36254HIGHOut-of-bounds read vulnerability exists in Sharp Corporation and Toshiba Tec Corporation multiple MFPs (multifunction printers), which may lEPSS 0.7%CVE-2024-38155MEDIUMSecurity Center Broker Information Disclosure VulnerabilityEPSS 0.7%CVE-2026-9803MEDIUMKeycloak: keycloak: denial of service via malformed authorization headerEPSS 0.7%CVE-2024-38123MEDIUMWindows Bluetooth Driver Information Disclosure VulnerabilityEPSS 0.7%CVE-2026-54789HIGHmod_auth_openidc has out-of-bounds read and write in state cookie parsingEPSS 0.7%CVE-2024-1546HIGHWhen storing and re-accessing data on a networking channel, the length of buffers may have been confused, resulting in an out-of-bounds memoEPSS 0.7%CVE-2026-5855HIGHContiki-NG LwM2M TLV Parser Out-of-Bounds Read via Unchecked Buffer Length in lwm2m_tlv_readEPSS 0.7%CVE-2025-29913HIGHCryptoLib's Crypto_TC_Prep_AAD Has Buffer Overflow Due to Integer UnderflowEPSS 0.7%CVE-2026-54412HIGHMQTT-C Heap Out-of-Bounds Read and Integer Underflow in mqtt_unpack_publish_response()EPSS 0.7%CVE-2024-36504MEDIUMAn out-of-bounds read vulnerability [CWE-125] in FortiOS SSLVPN web portal versions 7.4.0 through 7.4.4, versions 7.2.0 through 7.2.8, 7.0 aEPSS 0.7%CVE-2026-54413HIGHiso14229 Integer Underflow and Out-of-Bounds Read in Handle_0x27_SecurityAccess()EPSS 0.7%