Fallos del tipo CWE-682

76 resultados

Cálculo incorreto

A aplicação realiza um cálculo matemático ou lógico que produz um resultado errado ou inesperado, comprometendo a integridade dos dados ou a segurança da operação. Isso pode ocorrer por erro de lógica, falta de validação de entrada, overflow/underflow, ou operações com tipos de dados incompatíveis.

Ejemplo

Um sistema de e-commerce calcula o preço final usando '(quantidade * preço_unitário) / 100' para aplicar desconto, mas quando quantidade ou preço são muito grandes, ocorre overflow antes da divisão, resultando em um valor final drasticamente menor que o esperado. Um atacante compra itens caros por centavos.

Cómo mitigar

Valide todas as entradas numéricas (faixa, tipo, tamanho), use bibliotecas ou linguagens com validação automática de overflow, implemente testes de casos extremos (valores mínimos, máximos, negativos), e revise a lógica aritmética com atenção especial a ordem de operações e tipos de dados.

CVE-2026-86736MEDIUMsnipe-it before 8.7.0 Checkout Request Counter Integrity FailureEPSS 0.3%CVE-2026-20335HIGHCisco Secure Adaptive Security Appliance Software, Secure Firewall Threat Defense Software and Secure Firewall Management Center Software Hardening Release - Incorrect Calculation VulnerabilitiesEPSS 0.3%CVE-2026-7836LOWhextoint macro uppercase bugEPSS 0.3%CVE-2026-10773MEDIUMOut-of-bounds read in DHCPv4 client message-type name lookup (net_dhcpv4_msg_type_name)EPSS 0.3%CVE-2026-18459HIGHIncorrect Calculation vulnerability in RTI Connext Professional (Core Libraries) allows Abuse Existing Functionality.EPSS 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-20275HIGHCisco IOS XR Software Security Hardening Release: September 2026EPSS 0.2%CVE-2024-6287HIGHIncorrect Address Range CalculationsEPSS 0.2%CVE-2021-41222MEDIUMSegfault due to negative splits in `SplitV`EPSS 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-2026-55597MEDIUMImageMagick: Heap Buffer Over-Write in JP2 encoder when due to incorrect handling of argumentsEPSS 0.1%CVE-2025-0036LOWIn AMD Versal Adaptive SoC devices, the incorrect configuration of the SSS during runtime (post-boot) cryptographic operations could cause dEPSS 0.1%CVE-2023-7346MEDIUMLedger Bitcoin App 2.1.0 Address Derivation Error via MiniscriptEPSS 0.1%