Falhas do tipo CWE-190

1.664 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-2022-42805HIGHAn integer overflow was addressed with improved input validation. This issue is fixed in iOS 15.6 and iPadOS 15.6, macOS Monterey 12.5. An aEPSS 0.3%CVE-2022-47660HIGHGPAC MP4Box 2.1-DEV-rev644-g5c4df2a67 is has an integer overflow in isomedia/isom_write.cEPSS 0.3%CVE-2025-48175MEDIUMIn libavif before 1.3.0, avifImageRGBToYUV in reformat.c has integer overflows in multiplications involving rgbRowBytes, yRowBytes, uRowByteEPSS 0.3%CVE-2025-49180HIGHXorg-x11-server-xwayland: xorg-x11-server: tigervnc: integer overflow in x resize, rotate and reflect (randr) extensionEPSS 0.3%CVE-2026-58384HIGHGimp: gimp: integer overflow in read_rle_channel()EPSS 0.3%CVE-2025-69261MEDIUMWasmEdge integer wrap in MemoryInstance::getSpan()'s memory size checkEPSS 0.3%CVE-2023-23144MEDIUMInteger overflow vulnerability in function Q_DecCoordOnUnitSphere file bifs/unquantize.c in GPAC version 2.2-rev0-gab012bbfb-master.EPSS 0.3%CVE-2025-13601HIGHGlib: integer overflow in in g_escape_uri_string()EPSS 0.3%CVE-2026-6682HIGHFatFs Integer Overflow in FAT32 Volume MountEPSS 0.3%CVE-2023-28908MEDIUMInteger Overflow in Non-Fragmented Data ReceptionEPSS 0.3%CVE-2024-32913CRITICALIn wl_notify_rx_mgmt_frame of wl_cfg80211.c, there is a possible out of bounds write due to an integer overflow. This could lead to remote cEPSS 0.3%CVE-2026-28493MEDIUMImageMagick has a Integer Overflow leading to out of bounds write in SIXEL decoderEPSS 0.3%CVE-2026-78465HIGHGimp: integer overflow in pcx loader (planes=4) leads to heap overflow on 32-bitEPSS 0.3%CVE-2021-41197MEDIUMCrashes due to overflow and `CHECK`-fail in ops with large tensor shapesEPSS 0.3%CVE-2026-79223HIGHInteger overflow in Chromium in Google Chrome prior to 152.0.7977.65 allowed a remote attacker to read memory inside the sandbox via a craftEPSS 0.3%CVE-2026-21689MEDIUMiccDEV has Type Confusion in CIccProfileXml::ParseBasic() at IccXML/IccLibXML/IccProfileXml.cppEPSS 0.3%CVE-2023-38560MEDIUMGhostscript: integer overflow in pcl/pl/plfont.c:418 in pl_glyph_nameEPSS 0.3%CVE-2026-0619MEDIUMInteger Wraparound DoS in Silicon Labs Matter ImplementationEPSS 0.3%CVE-2025-66030MEDIUMnode-forge ASN.1 OID Integer TruncationEPSS 0.3%CVE-2021-3782MEDIUMAn internal reference count is held on the buffer pool, incremented every time a new buffer is created from the pool. The reference count isEPSS 0.3%