cve.bz

CWE-682: Incorrect Calculation, published in 2022

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-2022-35258ivantiEPSS 3.2%

    An unauthenticated attacker can cause a denial-of-service to the following products: Ivanti Connect Secure (ICS) in versions prior to 9.1R14.3, 9.1R15.2, 9.1R16.2, and 22.2R4, Ivanti Policy Secure (IPS) in versions prior to 9.1R17 and 22.3…

  2. 7.5CVE-2022-36795f5EPSS 0.9%

    In BIG-IP versions 17.0.x before 17.0.0.1, 16.1.x before 16.1.3.1, 15.1.x before 15.1.7, and 14.1.x before 14.1.5.1, when an LTM TCP profile with Auto Receive Window Enabled is configured on a virtual server, undisclosed traffic can cause …

  3. 5.3CVE-2022-39242parity frontierEPSS 0.9%

    Frontier is an Ethereum compatibility layer for Substrate. Prior to commit d3beddc6911a559a3ecc9b3f08e153dbe37a8658, the worst case weight was always accounted as the block weight for all cases. In case of large EVM gas refunds, this can l…

  4. 7.5CVE-2022-31198openzeppelinEPSS 0.8%

    OpenZeppelin Contracts is a library for secure smart contract development. This issue concerns instances of Governor that use the module `GovernorVotesQuorumFraction`, a mechanism that determines quorum requirements as a percentage of the …

  5. 5.3CVE-2022-23004westerndigital sweet bEPSS 0.8%

    When computing a shared secret or point multiplication on the NIST P-256 curve using a public key with an X coordinate of zero, an error is returned from the library, and an invalid unreduced value is written to the output buffer. This may…

  6. 5.3CVE-2022-23003westerndigital sweet bEPSS 0.8%

    When computing a shared secret or point multiplication on the NIST P-256 curve that results in an X coordinate of zero, the resulting output is not properly reduced modulo the P-256 field prime and is invalid. The resulting output may caus…

  7. 5.3CVE-2022-23001westerndigital sweet bEPSS 0.8%

    When compressing or decompressing elliptic curve points using the Sweet B library, an incorrect choice of sign bit is used. An attacker with user level privileges and no other user's assistance can exploit this vulnerability with only know…

  8. 7.5CVE-2022-31169bytecodeallianceEPSS 1.0%

    Wasmtime is a standalone runtime for WebAssembly. There is a bug in Wasmtime's code generator, Cranelift, for AArch64 targets where constant divisors can result in incorrect division results at runtime. This affects Wasmtime prior to versi…

  9. 5.6CVE-2022-31104bytecodeallianceEPSS 1.6%

    Wasmtime is a standalone runtime for WebAssembly. In affected versions wasmtime's implementation of the SIMD proposal for WebAssembly on x86_64 contained two distinct bugs in the instruction lowerings implemented in Cranelift. The aarch64 …

  10. 7.5CVE-2022-22138fast string search project fast string searchEPSS 1.1%

    All versions of package fast-string-search are vulnerable to Denial of Service (DoS) when computations are incorrect for non-string inputs. One can cause the V8 to attempt reading from non-permitted locations and cause a segmentation fault…

  11. 7.5CVE-2022-30780lighttpdEPSS 9.9%

    Lighttpd 1.4.56 through 1.4.58 allows a remote attacker to cause a denial of service (CPU consumption from stuck connections) because connection_read_header_more in connections.c has a typo that disrupts use of multiple read operations on …

  12. 9.8CVE-2022-30600EPSS 4.6%

    A flaw was found in moodle where logic used to count failed login attempts could result in the account lockout threshold being bypassed.

  13. 6.5CVE-2022-29978saitoha libsixelEPSS 1.0%

    There is a floating point exception error in sixel_encoder_do_resize, encoder.c:633 in libsixel img2sixel 1.8.6. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted JPEG file.

  14. 9.1CVE-2022-23066solana rbpfEPSS 2.4%

    In Solana rBPF versions 0.2.26 and 0.2.27 are affected by Incorrect Calculation which is caused by improper implementation of sdiv instruction. This can lead to the wrong execution path, resulting in huge loss in specific cases. For exampl…

  15. 7.5CVE-2022-26517f5EPSS 0.9%

    On F5 BIG-IP 15.1.x versions prior to 15.1.5.1, 14.1.x versions prior to 14.1.4.6, and 13.1.x versions prior to 13.1.5, when the BIG-IP CGNAT Large Scale NAT (LSN) pool is configured on a virtual server and packet filtering is enabled, und…

  16. 7.5CVE-2021-44504fisglobal gt.mEPSS 1.8%

    An issue was discovered in FIS GT.M through V7.0-000 (related to the YottaDB code base). Using crafted input, an attacker can cause a size variable, stored as an signed int, to equal an extremely large value, which is interpreted as a nega…

  17. 7.5CVE-2021-44491EPSS 1.0%

    An issue was discovered in YottaDB through r1.32 and V7.0-000. Using crafted input, attackers can cause a calculation of the size of calls to memset in op_fnj3 in sr_port/op_fnj3.c to result in an extremely large value in order to cause a …

  18. 7.5CVE-2021-44490EPSS 1.0%

    An issue was discovered in YottaDB through r1.32 and V7.0-000. Using crafted input, attackers can cause a calculation of the size of calls to memset in op_fnj3 in sr_port/op_fnj3.c to result in an extremely large value in order to cause a …

  19. 8.8CVE-2022-28048EPSS 1.5%

    STB v2.27 was discovered to contain an integer shift of invalid size in the component stbi__jpeg_decode_block_prog_ac.

  20. 5.3CVE-2022-23628openpolicyagent open policy agentEPSS 1.0%

    OPA is an open source, general-purpose policy engine. Under certain conditions, pretty-printing an abstract syntax tree (AST) that contains synthetic nodes could change the logic of some statements by reordering array literals. Example of …

  21. 5.3CVE-2022-23028f5 big-ip advanced firewall managerEPSS 1.0%

    On BIG-IP AFM version 16.x before 16.1.0, 15.1.x before 15.1.5, 14.1.x before 14.1.4.5, and all versions of 13.1.x, when global AFM SYN cookie protection (TCP Half Open flood vector) is activated in the AFM Device Dos or DOS profile, certa…

  22. 7.5CVE-2022-23011f5EPSS 1.0%

    On certain hardware BIG-IP platforms, in version 15.1.x before 15.1.4 and 14.1.x before 14.1.3, virtual servers may stop responding while processing TCP traffic due to an issue in the SYN Cookie Protection feature. Note: Software versions …

  23. 8.8CVE-2021-45960EPSS 4.6%

    In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory).