Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-369 (除零错误) — Vulnerability Class 170

170 vulnerabilities classified as CWE-369 (除零错误). AI Chinese analysis included.

CWE-369, Divide By Zero, is a logical weakness where a software product attempts to divide a value by zero, causing a runtime error or application crash. This flaw typically arises when unexpected user input or internal state errors bypass validation checks, particularly in calculations involving physical dimensions like length or width. Exploitation often results in denial of service, as the resulting exception disrupts normal program flow and may expose sensitive stack traces to attackers. To mitigate this risk, developers must implement robust input validation to ensure divisor values are non-zero before arithmetic operations. Additionally, employing defensive programming techniques, such as explicit error handling blocks and boundary checks, allows the application to gracefully manage invalid inputs. By rigorously testing edge cases and enforcing strict data integrity constraints, engineers can prevent these arithmetic anomalies from compromising system stability and security.

MITRE CWE Description
The product divides a value by zero. This weakness typically occurs when an unexpected value is provided to the product, or if an error occurs that is not properly detected. It frequently occurs in calculations involving physical dimensions such as size, length, width, and height.
Common Consequences (1)
Availability DoS: Crash, Exit, or Restart
A Divide by Zero results in a crash.
Examples (2)
The following Java example contains a function to compute an average but does not validate that the input value used as the denominator is not zero. This will create an exception for attempting to divide by zero. If this error is not handled by Java exception handling, unexpected results can occur.
public int computeAverageResponseTime (int totalTime, int numRequests) { return totalTime / numRequests; }
Bad · Java
public int computeAverageResponseTime (int totalTime, int numRequests) throws ArithmeticException { if (numRequests == 0) { System.out.println("Division by zero attempted!"); throw ArithmeticException; } return totalTime / numRequests; }
Good · Java
The following C/C++ example contains a function that divides two numeric values without verifying that the input value used as the denominator is not zero. This will create an error for attempting to divide by zero, if this error is not caught by the error handling capabilities of the language, unexpected results can occur.
double divide(double x, double y){ return x/y; }
Bad · C
const int DivideByZero = 10; double divide(double x, double y){ if ( 0 == y ){ throw DivideByZero; } return x/y; } ... try{ divide(10, 0); } catch( int i ){ if(i==DivideByZero) { cerr<<"Divide by zero error"; } }
Good · C
CVE ID Title CVSS Severity Published
CVE-2026-125258 FFmpeg through 9.0.2 Division by Zero via dovi_configure_ext() in dovi_rpuenc.c — FFmpeg 4.7 Medium 2026-11-09
CVE-2026-125254 FFmpeg through 9.0.2 Division by Zero via VVC ff_vvc_slice_rpl() — FFmpeg 5.5 Medium 2026-11-09
CVE-2026-125232 FFmpeg through 9.0.2 Division by Zero in B-frame Motion Estimation — FFmpeg 5.5 Medium 2026-11-09
CVE-2026-125185 FFmpeg through 9.0.2 Division by Zero via AFGS1 Film Grain Scaling Points — FFmpeg 5.5 Medium 2026-11-09
CVE-2026-107359 Malformed Wi-Fi Beacon Causes Crash on WF200 — WF200 FW 7.1 High 2026-11-05
CVE-2026-122330 Blosc c-blosc2 before 3.5.0 Divide-by-Zero via blosc2_schunk_get_slice_buffer() — c-blosc2 5.5 Medium 2026-11-05
CVE-2026-121410 FreeRDP before 3.32.2 Denial of Service via RDPGFX ALPHA WIRETOSURFACE_2 — FreeRDP 4.3 Medium 2026-11-03
CVE-2026-65160 NVIDIA nvJPEG 除零漏洞导致拒绝服务 — CUDA Toolkit 5.5 Medium 2026-11-03
CVE-2026-59959 SAIL: WebP decoder division by zero through malformed animated canvas metadata — sail 4.8 Medium 2026-10-28
CVE-2026-112054 Schroedinger libschroedinger through 1.0.11 Divide by Zero in Low-Delay Transform Parsing — schroedinger 5.5 Medium 2026-10-18
CVE-2026-112013 libtta through 2.3 Divide by Zero via tta_decoder_init_get_info — libtta 5.5 Medium 2026-10-18
CVE-2026-110605 libschrift through 0.10.2 Divide by Zero via unitsPerEm in draw_line — libschrift 5.5 Medium 2026-10-14
CVE-2026-107159 MiniUPnPd through 2.3.11 Divide-by-Zero DoS via SSDP M-SEARCH MX Header — miniupnpd 6.5 Medium 2026-10-07
CVE-2026-105250 vgmstream Microsoft IMA Decoder ima_decoder.c decode_ms_ima divide by zero — vgmstream 4.3 Medium 2026-10-05
CVE-2026-101887 BlueALSA bluealsad LC3plus Decoder Division-by-Zero DoS — bluez-alsa 3.5 Low 2026-10-01
CVE-2026-47534 NVIDIA驱动内核层除零漏洞致拒绝服务 — GeForce 5.5 Medium 2026-09-30
CVE-2026-93589 ImageMagick before 7.1.2-31 Division by Zero in FLIF encoder — ImageMagick 3.7 Low 2026-09-18
CVE-2026-92881 vgmstream AWB parser awb.c init_vgmstream_awb_memory divide by zero — vgmstream 4.3 Medium 2026-09-17
CVE-2026-91955 FreeRDP before 3.31.0 Denial of Service via Desktop Dimensions — FreeRDP 7.5 High 2026-09-15
CVE-2026-15417 CP210x Denial of Service — silabser.sys driver 6.9 Medium 2026-09-10
CVE-2026-6244 division by zero in libpcap before 1.10.7 — libpcap 5.5 Medium 2026-09-05
CVE-2026-85458 Divide-by-zero in Xpdf 4.06 due to zero-height Type 3 glyph — Xpdf 2.1 Low 2026-09-03
CVE-2026-16897 Vulnerabilities in IBM AIX and PowerVM VIOS — AIX 4.4 Medium 2026-08-19
CVE-2026-63117 FreeRDP: Denial of service through ADPCM frame size calculation — FreeRDP 6.5 Medium 2026-08-19
CVE-2026-64951 Velociraptor DoS triggered by Divide by Zero panic — Velociraptor 3.5 Low 2026-08-12
CVE-2026-19025 HDF5 divide-by-zero (SIGFPE) via mismatched chunk-layout dimensionality and dataspace rank on dataset open — HDF5 6.8 Medium 2026-08-05
CVE-2026-67302 FreeRDP rdpecam StartStreamsRequest divide-by-zero denial of service — FreeRDP 4.3 Medium 2026-08-01
CVE-2026-7007 Division by zero in Zephyr ext2 superblock parsing allows DoS via crafted filesystem image — zephyr 4.6 Medium 2026-07-24
CVE-2026-10679 Divide-by-zero in DesignWare SPI driver reachable from spi_transceive syscall (local DoS) — zephyr 3.3 Low 2026-07-21
CVE-2026-61378 AutomationDirect Productivity Suite Divide By Zero — Productivity Suite 5.5 Medium 2026-07-16

Vulnerabilities classified as CWE-369 (除零错误) represent 170 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.