Falhas do tipo CWE-682

103 resultados

Cálculo incorreto ou lógica aritmética falha

O software realiza operações matemáticas ou lógicas com erros que resultam em valores incorretos, violando a semântica esperada. Isso inclui overflow, underflow, arredondamentos errados, precedência de operadores mal interpretada ou condições lógicas invertidas. O impacto varia: pode levar a contornos de segurança, alocações de memória indevidas, saltos de autenticação ou comportamentos inesperados em decisões críticas.

Exemplo

Um código calcula o tamanho de um buffer como (quantidade * tamanho_unitário) sem verificar overflow; com valores grandes, o resultado fica menor que o esperado e ocorre estouro de buffer. Outro caso: validação que usa >= quando deveria usar >, permitindo acesso um byte além do limite.

Como mitigar

Use bibliotecas de aritmética segura (como safe_math em Rust ou Apache Commons Lang em Java); revise cálculos críticos com testes de boundary (valores mínimos, máximos, zero); valide explicitamente resultados intermediários antes de usá-los em decisões ou alocações; aplique code review focado em operações matemáticas.

CVE-2026-7836LOWhextoint macro uppercase bugEPSS 0.3%CVE-2026-21911HIGHJunos OS Evolved: Flapping management interface causes MAC learning on label-switched interfaces to stopEPSS 0.2%CVE-2026-25634HIGHiccDEV memcpy-param-overlap in CIccTagMultiProcessElement::Apply()EPSS 0.2%CVE-2023-43490MEDIUMIncorrect calculation in microcode keying mechanism for some Intel(R) Xeon(R) D Processors with Intel(R) SGX may allow a privileged user to EPSS 0.2%CVE-2021-34573MEDIUMIncorrect calculation in Enbra EWM does not report backflows or no flow eventsEPSS 0.2%CVE-2026-45933HIGHbpf: Preserve id of register in sync_linked_regs()EPSS 0.2%CVE-2024-6287HIGHIncorrect Address Range CalculationsEPSS 0.2%CVE-2021-41222MEDIUMSegfault due to negative splits in `SplitV`EPSS 0.2%CVE-2026-97071MEDIUMWordPress CURCY plugin <= 2.2.17 - Broken Access Control vulnerabilityEPSS 0.2%CVE-2026-76470HIGHCisco Meraki Hardening Release - Incorrect Calculation VulnerabilitiesEPSS 0.2%CVE-2026-106420MEDIUMIncorrect calculation in API in Google Chrome on on Windows prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering tEPSS 0.2%CVE-2026-53191HIGHio_uring/net: inherit IORING_CQE_F_BUF_MORE across bundle recv retriesEPSS 0.2%CVE-2026-43009HIGHbpf: Fix incorrect pruning due to atomic fetch precision trackingEPSS 0.2%CVE-2026-88371MEDIUMZBar commit 2ea2ca58 contains an undefined-behavior vulnerability in the Code 128 decode6() function. When processing specially crafted CodeEPSS 0.2%CVE-2026-43321HIGHbpf: Properly mark live registers for indirect jumpsEPSS 0.2%CVE-2025-0036LOWIn AMD Versal Adaptive SoC devices, the incorrect configuration of the SSS during runtime (post-boot) cryptographic operations could cause dEPSS 0.2%CVE-2026-20763MEDIUMIncorrect calculation for some Intel(R) TDX Guest software before version 0.3.1 within Ring 3: User Applications may allow an escalation of EPSS 0.1%CVE-2023-7346MEDIUMLedger Bitcoin App 2.1.0 Address Derivation Error via MiniscriptEPSS 0.1%CVE-2026-106438MEDIUMSilent Decimal128 value corruption via incorrect exactness check in MongoDB C DriverEPSS 0.1%CVE-2026-43033HIGHcrypto: authencesn - Do not place hiseq at end of dst for out-of-place decryptionEPSS 0.1%