cve.bz

CWE-682: Incorrect Calculation, published in 2024

Filter

The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.

What the weakness is: CWE-682 at MITRE. All weaknesses

Related attack patterns (CAPEC): 2

The attack patterns MITRE's CAPEC relates to CWE-682, as MITRE names them. Credits.

Ask an AI about CWE-682

Show the promptExplain CWE-682: Incorrect Calculation and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/682.html and https://cve.bz/cve/cwe/682?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 6.9CVE-2024-11407grpcEPSS 0.8%

    There exists a denial of service through Data corruption in gRPC-C++ - gRPC-C++ servers with transmit zero copy enabled through the channel arg GRPC_ARG_TCP_TX_ZEROCOPY_ENABLED can experience data corruption issues. The data sent by the ap…

  2. 5.9CVE-2024-45056matter-labs zksolcEPSS 0.6%

    zksolc is a Solidity compiler for ZKsync. All LLVM versions since 2015 fold `(xor (shl 1, x), -1)` to `(rotl ~1, x)` if run with optimizations enabled. Here `~1` is generated as an unsigned 64 bits number (`2^64-1`). This number is zero-ex…

  3. 9.3CVE-2024-23981intel ethernet 800 series controllers driverEPSS 0.3%

    Wrap-around error in Linux kernel mode driver for some Intel(R) Ethernet Network Controllers and Adapters before version 28.3 may allow an authenticated user to potentially enable escalation of privilege via local access.

  4. 5.5CVE-2024-42231linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: fix calc_available_free_space() for zoned mode calc_available_free_space() returns the total size of metadata (or system) block groups, which can be alloca…

  5. 7.8CVE-2024-41011linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: don't allow mapping the MMIO HDP page with large pages We don't get the right offset in that case. The GPU has an unused 4K area of the register BAR space i…

  6. 7.8CVE-2024-6287renesas rcar gen3EPSS 0.3%

    Incorrect Calculation vulnerability in Renesas arm-trusted-firmware allows Local Execution of Code. When checking whether a new image invades/overlaps with a previously loaded image the code neglects to consider a few cases. that could A…

  7. 4.3CVE-2024-32873evmosEPSS 0.5%

    Evmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmos Network. The spendable balance is not updated properly when delegating vested tokens. The issue allows a clawback vesting account to anticipate the release of unvested tokens. …

  8. 9.8CVE-2024-36736oneflowEPSS 0.9%

    An issue in the oneflow.permute component of OneFlow-Inc. Oneflow v0.9.1 causes an incorrect calculation when the same dimension operation is performed.

  9. 5.9CVE-2024-34704matter-labs era-compiler-solidityEPSS 0.5%

    era-compiler-solidity is the ZKsync compiler for Solidity. The problem occurred during instruction selection in the `DAGCombine` phase while visiting the XOR operation. The issue arises when attempting to fold the expression `!(x cc y)` i…

  10. 5.3CVE-2023-43490EPSS 0.3%

    Incorrect calculation in microcode keying mechanism for some Intel(R) Xeon(R) D Processors with Intel(R) SGX may allow a privileged user to potentially enable information disclosure via local access.

  11. 4.9CVE-2023-31347amdEPSS 0.7%

    Due to a code bug in Secure_TSC, SEV firmware may allow an attacker with high privileges to cause a guest to observe an incorrect TSC when Secure TSC is enabled potentially resulting in a loss of guest integrity.