Falhas do tipo CWE-1325

20 resultados

Alocação sequencial de memória sem controle adequado

É quando a aplicação aloca blocos de memória em sequência sem validar o tamanho total ou sem proteção contra crescimento ilimitado, permitindo que um atacante force alocações excessivas e cause negação de serviço (DoS) ou esgotamento de recursos. O código assume que a sequência terminará ou será limitada, mas não implementa barreiras efetivas.

Exemplo

Um servidor processa requisições de clientes e aloca buffer para cada comando recebido, adicionando à memória de forma contínua sem verificar limites. Um atacante envia milhares de requisições pequenas que, juntas, consomem toda a RAM disponível, travando o serviço.

Como mitigar

Implemente limites máximos explícitos para alocação total de memória por sessão ou operação, valide tamanhos antes de alocar, e monitore consumo em tempo real para interromper operações suspeitas. Use estruturas com cap de tamanho (pools pré-alocados) ao invés de crescimento dinâmico sem limite.

CVE-2024-2511MEDIUMUnbounded memory growth with session handling in TLSv1.3EPSS 54.0%CVE-2023-3341HIGHA stack exhaustion flaw in control channel code may cause named to terminate unexpectedlyEPSS 2.6%CVE-2024-27804HIGHThe issue was addressed with improved memory handling. This issue is fixed in iOS 17.5 and iPadOS 17.5, macOS Sonoma 14.5, tvOS 17.5, visionEPSS 1.3%CVE-2021-43174gzip transfer encoding caused out-of-memory crashEPSS 1.2%CVE-2026-34183HIGHUnbounded Memory Growth in the QUIC PATH_CHALLENGE HandlerEPSS 1.0%CVE-2025-2240HIGHSmallrye-fault-tolerance: smallrye fault toleranceEPSS 0.9%CVE-2023-28968MEDIUMJunos OS: SRX Series: Policies that rely on JDPI-Decoder actions may fail openEPSS 0.6%CVE-2023-52891MEDIUMA vulnerability has been identified in SIMATIC Energy Manager Basic (All versions < V7.5), SIMATIC Energy Manager PRO (All versions < V7.5),EPSS 0.5%CVE-2026-24819MEDIUMAn out-of-memory (OOM) issue in foxinmy/weixin4jEPSS 0.4%CVE-2026-54081MEDIUMveraPDF Parser DoS via PostScript Type 1 Font ProgramsEPSS 0.3%CVE-2026-54080MEDIUMveraPDF Parser DoS via PostScript CMap StreamsEPSS 0.3%CVE-2026-13056HIGHA user with read access can cause a DoS by executing a specifically crafted query to consume a large amount of RAMEPSS 0.3%CVE-2024-27796HIGHThe issue was addressed with improved checks. This issue is fixed in iOS 16.7.8 and iPadOS 16.7.8, iOS 17.5 and iPadOS 17.5, macOS Monterey EPSS 0.3%CVE-2026-8199HIGHPost-auth memory exhaustion via bitwise match expressionsEPSS 0.3%CVE-2026-3201MEDIUMImproperly Controlled Sequential Memory Allocation in WiresharkEPSS 0.2%CVE-2025-13945MEDIUMImproperly Controlled Sequential Memory Allocation in WiresharkEPSS 0.2%CVE-2026-6533MEDIUMImproperly Controlled Sequential Memory Allocation in WiresharkEPSS 0.1%CVE-2026-6535MEDIUMImproperly Controlled Sequential Memory Allocation in WiresharkEPSS 0.1%CVE-2026-6869MEDIUMImproperly Controlled Sequential Memory Allocation in WiresharkEPSS 0.1%CVE-2026-6867MEDIUMImproperly Controlled Sequential Memory Allocation in WiresharkEPSS 0.1%