cve.bz

CWE-682: Incorrect Calculation, published in 2023

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. 7.5CVE-2023-46247vyperlang vyperEPSS 0.8%

    Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). Contracts containing large arrays might underallocate the number of slots they need by 1. Prior to v0.3.8, the calculation to determine how many slots a st…

  2. 6.5CVE-2023-35642microsoftEPSS 1.0%

    Internet Connection Sharing (ICS) Denial of Service Vulnerability

  3. 8.8CVE-2023-35641microsoftEPSS 0.8%

    Internet Connection Sharing (ICS) Remote Code Execution Vulnerability

  4. 7.5CVE-2023-42460vyperlang vyperEPSS 0.7%

    Vyper is a Pythonic Smart Contract Language for the EVM. The `_abi_decode()` function does not validate input when it is nested in an expression. Uses of `_abi_decode()` can be constructed which allow for bounds checking to be bypassed res…

  5. 8.8CVE-2023-2163linux kernelEPSS 1.7%

    Incorrect verifier pruning in BPF in Linux Kernel >=5.4 leads to unsafe code paths being incorrectly marked as safe, resulting in arbitrary read/write in kernel memory, lateral privilege escalation, and container escape.

  6. 5.3CVE-2023-36980ethereum blockchainEPSS 0.5%

    An issue in Ethereum Blockchain v0.1.1+commit.6ff4cd6 cause the balance to be zeroed out when the value of betsize+casino.balance exceeds the threshold.

  7. 7.5CVE-2023-2423rockwellautomation armor powerflex firmwareEPSS 1.0%

    A vulnerability was discovered in the Rockwell Automation Armor PowerFlex device when the product sends communications to the local event log. Threat actors could exploit this vulnerability by sending an influx of network commands, causing…

  8. 7.5CVE-2023-35848virtualsquare picotcpEPSS 0.9%

    VirtualSquare picoTCP (aka PicoTCP-NG) through 2.1 lacks certain size calculations before attempting to set a value of an mss structure member.

  9. 5.5CVE-2023-3161EPSS 0.3%

    A flaw was found in the Framebuffer Console (fbcon) in the Linux Kernel. When providing font->width and font->height greater than 32 to fbcon_set_font, since there are no checks in place, a shift-out-of-bounds occurs leading to undefined b…

  10. 7.5CVE-2023-28431parity frontierEPSS 1.1%

    Frontier is an Ethereum compatibility layer for Substrate. Frontier's `modexp` precompile uses `num-bigint` crate under the hood. In the implementation prior to pull request 1017, the cases for modulus being even and modulus being odd are …

  11. 5.3CVE-2023-1296hashicorp nomadEPSS 0.6%

    HashiCorp Nomad and Nomad Enterprise 1.4.0 up to 1.5.0 did not correctly enforce deny policies applied to a workload’s variables. Fixed in 1.4.6 and 1.5.1.

  12. 7.5CVE-2023-24533nistec project nistecEPSS 0.8%

    Multiplication of certain unreduced P-256 scalars produce incorrect results. There are no protocols known at this time that can be attacked due to this.

  13. 5.3CVE-2023-24532golang goEPSS 0.9%

    The ScalarMult and ScalarBaseMult methods of the P256 Curve may return an incorrect result if called with some specific unreduced scalars (a scalar larger than the order of the curve). This does not impact usages of crypto/ecdsa or crypto/…

  14. 6.5CVE-2023-26488openzeppelinEPSS 0.8%

    OpenZeppelin Contracts is a library for secure smart contract development. The ERC721Consecutive contract designed for minting NFTs in batches does not update balances when a batch has size 1 and consists of a single token. Subsequent tran…

  15. 4.4CVE-2022-33972intelEPSS 0.3%

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