cve.bz

CWE-682: Incorrect Calculation, published in 2021

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. 9.8CVE-2021-44847EPSS 4.1%

    A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an improper length calculation during the handling of received network packets) allows remote attackers t…

  2. 5.5CVE-2021-41222google tensorflowEPSS 0.2%

    TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SplitV` can trigger a segfault is an attacker supplies negative arguments. This occurs whenever `size_splits` contains more than one va…

  3. 4.3CVE-2021-41122vyperlang vyperEPSS 0.8%

    Vyper is a Pythonic Smart Contract Language for the EVM. In affected versions external functions did not properly validate the bounds of decimal arguments. The can lead to logic errors. This issue has been resolved in version 0.3.0.

  4. 6.5CVE-2021-41329datalust seqEPSS 1.0%

    Datalust Seq before 2021.2.6259 allows users (with view filters applied to their accounts) to see query results not constrained by their view filter. This information exposure, caused by an internal cache key collision, occurs when the use…

  5. 5.5CVE-2021-34573enbra ewmEPSS 0.2%

    In Enbra EWM in Version 1.7.29 together with several tested wireless M-Bus Sensors the events backflow and "no flow" are not reconized or misinterpreted. This may lead to wrong values and missing events.

  6. 6.5CVE-2021-29945mozillaEPSS 1.2%

    The WebAssembly JIT could miscalculate the size of a return type, which could lead to a null read and result in a crash. *Note: This issue only affected x86-32 platforms. Other platforms are unaffected.*. This vulnerability affects Firefox…

  7. 7.0CVE-2021-31440EPSS 1.8%

    This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel 5.11.15. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vuln…

  8. 7.5CVE-2020-28393siemensEPSS 1.6%

    An unauthenticated remote attacker could create a permanent denial-of-service condition by sending specially crafted OSPF packets. Successful exploitation requires OSPF to be enabled on an affected device on the SCALANCE XM-400, XR-500 (Al…

  9. 6.5CVE-2021-3114EPSS 2.7%

    In Go before 1.14.14 and 1.15.x before 1.15.7, crypto/elliptic/p224.go can generate incorrect outputs, related to an underflow of the lowest limb during the final complete reduction in the P-224 field.

  10. 7.2CVE-2020-26262EPSS 1.5%

    Coturn is free open source implementation of TURN and STUN Server. Coturn before version 4.5.2 by default does not allow peers to connect and relay packets to loopback addresses in the range of `127.x.x.x`. However, it was observed that wh…

  11. 7.5CVE-2021-3004stableyieldcredit project stableyieldcreditEPSS 1.3%

    The _deposit function in the smart contract implementation for Stable Yield Credit (yCREDIT), an Ethereum token, has certain incorrect calculations. An attacker can obtain more yCREDIT tokens than they should.