目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CWE-682 数值计算不正确 类漏洞列表 66

CWE-682 数值计算不正确 类弱点 66 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-682属于逻辑计算错误漏洞,指软件在执行关键计算时产生非预期结果。攻击者常利用此缺陷操纵资源分配或权限判定,从而绕过安全控制或引发拒绝服务。开发者应避免使用浮点数进行精确比较,严格验证输入范围,并在涉及安全决策的计算环节引入冗余校验机制,确保逻辑严密性与数值准确性。

MITRE CWE 官方描述
CWE:CWE-682 Incorrect Calculation 英文:The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management. When product performs a security-critical calculation incorrectly, it might lead to incorrect resource allocations, incorrect privilege assignments, or failed comparisons among other things. Many of the direct results of an incorrect calculation can lead to even larger problems such as failed protection mechanisms or even arbitrary code execution.
常见影响 (4)
Availability DoS: Crash, Exit, or Restart
If the incorrect calculation causes the program to move into an unexpected state, it may lead to a crash or impairment of service.
Integrity, Confidentiality, Availability DoS: Crash, Exit, or Restart, DoS: Resource Consumption (Other), Execute Unauthorized Code or Commands
If the incorrect calculation is used in the context of resource allocation, it could lead to an out-of-bounds operation (CWE-119) leading to a crash or even arbitrary code execution. Alternatively, it may result in an integer overflow (CWE-190) and / or a resource consumption problem (CWE-400).
Access Control Gain Privileges or Assume Identity
In the context of privilege or permissions assignment, an incorrect calculation can provide an attacker with access to sensitive resources.
Access Control Bypass Protection Mechanism
If the incorrect calculation leads to an insufficient comparison (CWE-697), it may compromise a protection mechanism such as a validation routine and allow an attacker to bypass the security-critical code.
缓解措施 (5)
Implementation Understand your programming language's underlying representation and how it interacts with numeric calculation. Pay close attention to byte size discrepancies, precision, signed/unsigned distinctions, truncation, conversion and casting between types, "not-a-number" calculations, and how your language handles numbers that are too large or too small for its underlying representation.
Implementation Perform input validation on any numeric input by ensuring that it is within the expected range. Enforce that the input meets both the minimum and maximum requirements for the expected range.
Implementation Use the appropriate type for the desired action. For example, in C/C++, only use unsigned types for values that could never be negative, such as height, width, or other numbers related to quantity.
Architecture and Design Use languages, libraries, or frameworks that make it easier to handle numbers without unexpected consequences. Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++).
Architecture and Design Use languages, libraries, or frameworks that make it easier to handle numbers without unexpected consequences. Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++).
代码示例 (2)
The following image processing code allocates a table for images.
img_t table_ptr; /*struct containing img data, 10kB each*/ int num_imgs; ... num_imgs = get_num_imgs(); table_ptr = (img_t*)malloc(sizeof(img_t)*num_imgs); ...
Bad · C
This code attempts to calculate a football team's average number of yards gained per touchdown.
... int touchdowns = team.getTouchdowns(); int yardsGained = team.getTotalYardage(); System.out.println(team.getName() + " averages " + yardsGained / touchdowns + "yards gained for every touchdown scored"); ...
Bad · Java
CVE ID 标题 CVSS 风险等级 Published
CVE-2026-116541 Netty-tcnative 2.0.84 前版本拒绝服务漏洞 — netty-tcnative 5.9 Medium 2026-10-26
CVE-2026-115786 Zimbra 协作套件共享文件邮箱配额耗尽漏洞 — Zimbra Collaboration Suite 6.5 Medium 2026-10-23
CVE-2026-20236 多款 Cisco Snort 3 产品配置加固 — Cisco Cyber Vision 7.5 High 2026-10-21
CVE-2026-114117 Vyper 0.3.8-0.5.0b1 msg.value 三元分支优化误编译漏洞 — vyper 5.9 Medium 2026-10-21
CVE-2026-101963 Junos OS 使用 SRv6 多归时 BGP EVPN 邻居导致 rpd 崩溃漏洞 — Junos OS 7.5 High 2026-10-14
CVE-2026-109410 macrozheng mall admin portal 金额信息计算漏洞 — mall 2.4 Low 2026-10-13
CVE-2026-106438 MongoDB C 驱动十进制值损坏漏洞 — C Driver 4.0 Medium 2026-10-08
CVE-2026-76470 Cisco Meraki 强化发布中错误计算漏洞 — Cisco Campus Gateway Software 8.8 High 2026-10-07
CVE-2026-106420 Chrome < 155.0.8059.39 计算错误漏洞 — Chrome - - 2026-10-06
CVE-2026-97071 WordPress CURCY插件≤2.2.17 访问控制漏洞 — CURCY 5.3 Medium 2026-10-05
CVE-2026-18459 RTI Connext Professional 计算错误漏洞 — Connext Professional 8.7 High 2026-09-22
CVE-2026-20335 思科防火墙软件不正确计算漏洞 — Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 8.1 High 2026-09-16
CVE-2026-86736 Grokability Snipe-IT 数字错误漏洞 — snipe-it 4.3 Medium 2026-09-08
CVE-2026-53706 vbpf PREVAIL 数字错误漏洞 — prevail 8.8 High 2026-09-02
CVE-2026-53670 vbpf PREVAIL 数字错误漏洞 — prevail 9.3 Critical 2026-09-02
CVE-2026-53671 vbpf PREVAIL 数字错误漏洞 — prevail 9.3 Critical 2026-09-02
CVE-2026-20275 Cisco IOS XR Software 数字错误漏洞 — Cisco IOS XR Software 8.8 High 2026-09-02
CVE-2026-76043 Google Chrome 数字错误漏洞 — Chrome - - 2026-08-18
CVE-2026-20270 Cisco IOS XE Software 数字错误漏洞 — Cisco IOS XE Software 8.6 High 2026-08-05
CVE-2026-55597 ImageMagick 数字错误漏洞 — ImageMagick 5.5 Medium 2026-07-01
CVE-2026-10512 wolfSSL 数字错误漏洞 — wolfSSL - - 2026-06-25
CVE-2026-44074 Netatalk 安全漏洞 — Netatalk 3.7 Low 2026-05-21
CVE-2026-7836 Netatalk 安全漏洞 — Netatalk 3.1 Low 2026-05-21
CVE-2023-7346 Ledger Bitcoin app 安全漏洞 — Ledger Bitcoin app 4.0 Medium 2026-05-20
CVE-2026-44498 zebra 安全漏洞 — zebra 5.3AI Medium AI 2026-05-08
CVE-2026-1229 CIRCL 安全漏洞 — CIRCL 7.5AI High AI 2026-02-24
CVE-2026-24783 soroban-fixed-point-math 安全漏洞 — soroban-fixed-point-math 7.5 High 2026-01-27
CVE-2026-21911 Juniper Junos OS Evolved 安全漏洞 — Junos OS Evolved 6.5 Medium 2026-01-15
CVE-2025-59047 Matrix Rust SDK 安全漏洞 — matrix-rust-sdk 7.5AI High AI 2025-09-11
CVE-2025-54427 Polkadot Frontier 代码问题漏洞 — frontier - - AI 2025-07-28

CWE-682(数值计算不正确) 是常见的弱点类别,本平台收录该类弱点关联的 66 条 CVE 漏洞。