Skip to content
OpenAdvisories

Weakness (CWE)

CWE-369: Divide By Zero

Base Draft

The product divides a value by zero.

Source: MITRE CWE-369

235 results · Feed

  • Medium 4.3

    CISA Thorium download stream divide by zero

    CISA Thorium accepts a stream split size of zero then divides by this value. A remote, authenticated attacker could cause the service to crash. Fixed in commit 89101a6.

  • Low 3.3

    appneta tcpreplay send_packets.c calc_sleep_time divide by zero

    A security vulnerability has been detected in appneta tcpreplay 4.5.1. Impacted is the function calc_sleep_time of the file send_packets.c. Such manipulation leads to divide by zero. An attack has to be approached locally. The exploit has been disclosed publi…

  • Low 3.7

    ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-28 and 7.1.2-2, passing a geometry string containing only a colon (":") to montage -geometry leads GetGeometry() to set width/height to 0. …

  • High 7.5

    NVIDIA Triton Inference Server for Windows and Linux contains a vulnerability where a user could cause a divide by zero…

  • Low 2.7

    RISC Zero Underconstrained Vulnerability: Division

    RISC Zero is a zero-knowledge verifiable general computing platform based on zk-STARKs and the RISC-V microarchitecture. RISC packages risc0-zkvm versions 2.0.0 through 2.1.0 and risc0-circuit-rv32im and risc0-circuit-rv32im-sys versions 2.0.0 through 2.0.4 c…

  • High 7.5

    vproxy is vulnerable to a divide by zero DoS attack

    vproxy is an HTTP/HTTPS/SOCKS5 proxy server. In versions 2.3.3 and below, untrusted data is extracted from the user-controlled HTTP Proxy-Authorization header and passed to Extension::try_from and flows into parse_ttl_extension where it is parsed as a TTL val…

  • Medium 6.2

    An issue in redoxOS kernel before commit 5d41cd7c allows a local attacker to cause a denial of service via the `setitim…

  • Low 2.9

    memory_pages division by zero

    In the memory_pages crate 0.1.0 for Rust, division by zero can occur.

  • High 8.7

    Divide By Zero in dlib

    Divide By Zero vulnerability in davisking dlib allows remote attackers to cause a denial of service via a crafted file. .This issue affects dlib: before <19.24.7.

  • Medium 5.5

    ftrace: Avoid potential division by zero in function_stat_show()

    In the Linux kernel, the following vulnerability has been resolved: ftrace: Avoid potential division by zero in function_stat_show() Check whether denominator expression x * (x - 1) * 1000 mod {2^32, 2^64} produce zero and skip stddev computation in that case…

  • Medium 6.6

    fig2dev float point exception

    Floating point exception in fig2dev in version 3.2.9a allows an attacker to availability via local input manipulation via get_slope function.

  • Medium 4.3

    Open Asset Import Library Assimp MDLLoader.cpp InternReadFile_Quake1 divide by zero

    A vulnerability classified as problematic was found in Open Asset Import Library Assimp 5.4.3. This vulnerability affects the function MDLImporter::InternReadFile_Quake1 of the file code/AssetLib/MDL/MDLLoader.cpp. The manipulation of the argument skinwidth/s…

  • High 7.5

    Divide by Zero in ollama/ollama

    A divide by zero vulnerability exists in ollama/ollama version v0.3.3. The vulnerability occurs when importing GGUF models with a crafted type for `block_count` in the Modelfile. This can lead to a denial of service (DoS) condition when the server processes t…

  • High 7.5
    CVE-2025-0317 EPSS 15%

    Divide By Zero in ollama/ollama

    A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model file on the Ollama server. This can lead to a division by zero error in the ggufPadding function, causing the server to crash and resulting…

  • Medium —

    ntpd NTS client denial of service via wrongly sized cookies

    Two denial of service vulnerabilities were found in ntpd-rs related to the handling of NTS cookies in our client functionality. Whenever an NTS source is configured and the server behind that source is sending zero-sized cookies or cookies larger than what wo…

  • Medium 5.5

    spi: sn-f-ospi: Fix division by zero

    In the Linux kernel, the following vulnerability has been resolved: spi: sn-f-ospi: Fix division by zero When there is no dummy cycle in the spi-nor commands, both dummy bus cycle bytes and width are zero. Because of the cpu's warning when divided by zero, th…

  • High 7.5

    linux/dim: Fix divide by 0 in RDMA DIM

    In the Linux kernel, the following vulnerability has been resolved: linux/dim: Fix divide by 0 in RDMA DIM Fix a divide 0 error in rdma_dim_stats_compare() when prev->cpe_ratio == 0. CallTrace: Hardware name: H3C R4900 G3/RS33M2C9S, BIOS 2.00.37P21 03/12/2020…

  • Medium 5.5

    drm/amd/display: Check if modulo is 0 before dividing.

    In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check if modulo is 0 before dividing. [How & Why] If a value of 0 is read, then this will cause a divide-by-0 panic.

  • Medium 5.5

    video: fbdev: cirrusfb: check pixclock to avoid divide by zero

    In the Linux kernel, the following vulnerability has been resolved: video: fbdev: cirrusfb: check pixclock to avoid divide by zero Do a sanity check on pixclock value to avoid divide by zero. If the pixclock value is zero, the cirrusfb driver will round up pi…

  • High —

    Cosmos SDK: Groups module can halt chain when handling a malicious proposal

    Name: ASA-2025-003: Groups module can halt chain when handling a malicious proposal Component: CosmosSDK Criticality: High (Considerable Impact; Likely Likelihood per [ACMv1.2](https://github.com/interchainio/security/blob/main/resources/CLASSIFICATION_MATRIX…

  • Medium 5.5

    drm/amd/display: Initialize denominator defaults to 1

    In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Initialize denominator defaults to 1 [WHAT & HOW] Variables, used as denominators and maybe not assigned to other values, should be initialized to non-zero to avoid DIVIDE_BY…

  • Medium 6.5

    A floating point exception (divide-by-zero) vulnerability was discovered in Bento4 1.6.0-641 in function AP4_TfraAtom()…

  • Medium 5.5

    drm/amd/display: Add check for granularity in dml ceil/floor helpers

    In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add check for granularity in dml ceil/floor helpers [Why] Wrapper functions for dcn_bw_ceil2() and dcn_bw_floor2() should check for granularity is non zero to avoid assert an…

  • Medium 5.5

    drm/amd/display: fix divide error in DM plane scale calcs

    In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: fix divide error in DM plane scale calcs dm_get_plane_scale doesn't take into account plane scaled size equal to zero, leading to a kernel oops due to division by zero. Fix b…

  • Medium 5.5

    drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()

    In the Linux kernel, the following vulnerability has been resolved: drm/modes: Avoid divide by zero harder in drm_mode_vrefresh() drm_mode_vrefresh() is trying to avoid divide by zero by checking whether htotal or vtotal are zero. But we may still end up with…

  • Medium 5.5

    scsi: ufs: core: sysfs: Prevent div by zero

    In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: sysfs: Prevent div by zero Prevent a division by 0 when monitoring is not enabled.

  • Medium 5.5

    ad7780: fix division by zero in ad7780_write_raw()

    In the Linux kernel, the following vulnerability has been resolved: ad7780: fix division by zero in ad7780_write_raw() In the ad7780_write_raw() , val2 can be zero, which might lead to a division by zero error in DIV_ROUND_CLOSEST(). The ad7780_write_raw() is…

  • High 7.5

    An issue was discovered in FastNetMon Community Edition through 1.2.7. Zero-length templates for Netflow v9 allow remot…

  • Medium 6.5

    In VideoFrameScheduler.cpp of VideoFrameScheduler::PLL::fit, there is a possible remote denial of service due to divide…

  • Medium 5.5

    media: v4l2-tpg: prevent the risk of a division by zero

    In the Linux kernel, the following vulnerability has been resolved: media: v4l2-tpg: prevent the risk of a division by zero As reported by Coverity, the logic at tpg_precalculate_line() blindly rescales the buffer even when scaled_witdh is equal to zero. If t…

  • Medium 5.5

    staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()

    In the Linux kernel, the following vulnerability has been resolved: staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg() In the ad9832_write_frequency() function, clk_get_rate() might return 0. This can lead to a division by zero whe…

  • Medium 5.5

    iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr()

    In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr() In the ad7124_write_raw() function, parameter val can potentially be zero. This may lead to a division by zero when DIV_ROUN…

  • Medium 5.5

    ALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size()

    In the Linux kernel, the following vulnerability has been resolved: ALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size() The step variable is initialized to zero. It is changed in the loop, but if it's not changed it will remain zero. Add …

  • High 7.6

    BT: Missing Check in LL_CONNECTION_UPDATE_IND Packet Leads to Division by Zero

    BT: Missing Check in LL_CONNECTION_UPDATE_IND Packet Leads to Division by Zero

  • Low 2.1

    Integer overflow and divide-by-zero in Xpdf 4.05 due to bogus page box coordinates

    In Xpdf 4.05 (and earlier), very large coordinates in a page box can cause an integer overflow and divide-by-zero.

  • Medium 6.0

    Integer Overflow caused by divide by zero during S3 suspension

    EDK2 contains a vulnerability when S3 sleep is activated where an Attacker may cause a Division-By-Zero due to a UNIT32 overflow via local access. A successful exploit of this vulnerability may lead to a loss of Availability.

  • High 8.4

    crypto: iaa - Fix nr_cpus < nr_iaa case

    In the Linux kernel, the following vulnerability has been resolved: crypto: iaa - Fix nr_cpus < nr_iaa case If nr_cpus < nr_iaa, the calculated cpus_per_iaa will be 0, which causes a divide-by-0 in rebalance_wq_table(). Make sure cpus_per_iaa is 1 in that cas…

  • Medium 5.3

    lunasvg v2.3.9 was discovered to contain an FPE (Floating Point Exception) at blend_transformed_tiled_argb.isra.0.

  • High 7.5

    Microsoft AllJoyn API Denial of Service Vulnerability

    Microsoft AllJoyn API Denial of Service Vulnerability

  • Medium 4.7

    FPE in paddle.argmin and paddle.argmax

    FPE in paddle.argmin and paddle.argmax in PaddlePaddle before 2.6.0. This flaw can cause a runtime crash and a denial of service.