Falhas do tipo CWE-190

1.666 resultados

Estouro ou Envolvimento de Inteiro

Ocorre quando uma operação aritmética produz um valor que excede o limite máximo (ou mínimo) que o tipo de dado inteiro pode armazenar, causando o valor envolver-se para o lado oposto ou comportamento inesperado. Isso permite que atacantes contornem validações, aloquem memória inadequada, ou causem travamentos ao explorar essa descontinuidade.

Exemplo

Um servidor de upload limita arquivos a 2 GB verificando se size < 2147483648 (INT_MAX). Um atacante envia size=2147483648, que em inteiro de 32 bits assinado vira -2147483648. A validação passa, mas durante a alocação de buffer o sistema trata como valor negativo ou inesperado, causando falha ou bypass de proteção.

Como mitigar

Use tipos inteiros sem sinal (unsigned) ou de maior capacidade (64 bits) quando apropriado; valide entradas contra limites explícitos *antes* de operações aritméticas; utilize funções de verificação de overflow fornecidas pela linguagem ou biblioteca (ex: __builtin_add_overflow em C, SafeInt em .NET); evite conversões implícitas entre tipos.

CVE-2025-5916LOWLibarchive: integer overflow while reading warc files at archive_read_support_format_warc.cEPSS 0.2%CVE-2026-52972HIGHcrypto: af_alg - Cap AEAD AD length to 0x80000000EPSS 0.2%CVE-2026-61723MEDIUMFluidSynth: DLS ptbl Chunk Integer OverflowEPSS 0.2%CVE-2026-42199MEDIUMGrid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined BehaviorEPSS 0.2%CVE-2026-81878MEDIUMradare2: Integer overflow causes heap out-of-bounds write in radare2 PYC parserEPSS 0.2%CVE-2026-82908CRITICALMSI Dragon Center MMIO Write Path NTIOLib_X64.sys MmioWritePath integer overflowEPSS 0.2%CVE-2026-18917HIGHLibvirt: integer overflow in nodegetfreepages rpc handler leading to heap buffer overflowEPSS 0.2%CVE-2025-0587LOWArkcompiler Ets Runtime has an integer overflow vulnerabilityEPSS 0.2%CVE-2026-27691MEDIUMiccDEV has SIO in parse3DTable() at iccFromCube.cpp Line 218EPSS 0.2%CVE-2025-22851MEDIUMLiteos_A has an integer overflow vulnerabilityEPSS 0.2%CVE-2026-55093MEDIUMtract-nnef: integer overflow in NNEF `.dat` tensor parser yields an out-of-bounds read on model loadEPSS 0.2%CVE-2025-46333HIGHz2d OOB composition could lead to invalid memory access and corruptionEPSS 0.2%CVE-2026-27940HIGHllama.cpp has a Heap Buffer Overflow via Integer Overflow in `mem_size` Calculation — Bypass of CVE-2025-53630 FixEPSS 0.2%CVE-2026-86314MEDIUMInteger overflow in the source-bounds check in Memory::init() (src/runtime/Memory.cpp) in Samsung walrus on all platforms allows a remote atEPSS 0.2%CVE-2026-46655HIGHvirtio-win: Integer overflow causing a heap overflow in Viosock driverEPSS 0.2%CVE-2024-21845LOWDsoftbus has an integer overflow vulnerabilityEPSS 0.2%CVE-2026-82737MEDIUMAsh.Vector wraps the 16-bit dimension header for vectors over 65,535 elements, corrupting data and crashing readsEPSS 0.2%CVE-2026-86138MEDIUMIn libxml2 before 2.15.4, xmlDictAddQString in dict.c has an integer overflow and resultant heap-based buffer overflow.EPSS 0.2%CVE-2023-22436HIGHThe kernel subsystem function check_permission_for_set_tokenid has an UAF vulnerability.EPSS 0.2%CVE-2026-19028MEDIUMHDF5 integer underflow in Fletcher32 filter leads to massive out-of-bounds readEPSS 0.2%