cve.bz

CWE-369: Divide By Zero, published in 2023

Filter

The product divides a value by zero.

What the weakness is: CWE-369 at MITRE. OWASP Top 10: A10:2025 Mishandling of Exceptional Conditions. All weaknesses

Ask an AI about CWE-369

Show the promptExplain CWE-369: Divide By Zero and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/369.html and https://cve.bz/cve/cwe/369?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-2023-51107artifex mupdfEPSS 0.9%

    A floating point exception (divide-by-zero) vulnerability was discovered in Artifex MuPDF 1.23.4 in functon compute_color() of jquant2.c. NOTE: this is disputed by the supplier because there was not reasonable evidence to determine the exi…

  2. 7.5CVE-2023-51106artifex mupdfEPSS 0.9%

    A floating point exception (divide-by-zero) vulnerability was discovered in mupdf 1.23.4 in function pnm_binary_read_image() of load-pnm.c when fz_colorspace_n returns zero.

  3. 7.5CVE-2023-51105artifex mupdfEPSS 1.2%

    A floating point exception (divide-by-zero) vulnerability was discovered in Artifex MuPDF 1.23.4 in function bmp_decompress_rle4() of load-bmp.c.

  4. 7.5CVE-2023-51104artifex mupdfEPSS 1.2%

    A floating point exception (divide-by-zero) vulnerability was discovered in Artifex MuPDF 1.23.4 in function pnm_binary_read_image() of load-pnm.c when span equals zero.

  5. 7.5CVE-2023-51103artifex mupdfEPSS 1.2%

    A floating point exception (divide-by-zero) vulnerability was discovered in Artifex MuPDF 1.23.4 in the function fz_new_pixmap_from_float_data() of pixmap.c.

  6. 7.5CVE-2023-46849EPSS 1.2%

    Using the --fragment option in certain configuration setups OpenVPN version 2.6.0 to 2.6.6 allows an attacker to trigger a divide by zero behaviour which could cause an application crash, leading to a denial of service.

  7. 5.5CVE-2023-42467qemuEPSS 0.3%

    QEMU through 8.0.0 could trigger a division by zero in scsi_disk_reset in hw/scsi/scsi-disk.c because scsi_disk_emulate_mode_select does not prevent s->qdev.blocksize from being 256. This stops QEMU and the guest immediately.

  8. 5.5CVE-2023-4678gpacEPSS 0.3%

    Divide By Zero in GitHub repository gpac/gpac prior to 2.3-DEV.

  9. 6.5CVE-2023-2906wiresharkEPSS 3.2%

    Due to a failure in validating the length provided by an attacker-crafted CP2179 packet, Wireshark versions 2.0.0 through 4.0.7 is susceptible to a divide by zero allowing for a denial of service attack.

  10. 6.5CVE-2021-46312djvulibre project djvulibreEPSS 1.0%

    An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.

  11. 6.5CVE-2021-46310djvulibre project djvulibreEPSS 1.0%

    An issue was discovered IW44Image.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.

  12. 7.5CVE-2021-40211imagemagickEPSS 1.0%

    An issue was discovered with ImageMagick 7.1.0-4 via Division by zero in function ReadEnhMetaFile of coders/emf.c.

  13. 5.5CVE-2020-21710artifex ghostscriptEPSS 0.7%

    A divide by zero issue discovered in eps_print_page in gdevepsn.c in Artifex Software GhostScript 9.50 allows remote attackers to cause a denial of service via opening of crafted PDF file.

  14. 5.5CVE-2023-20588EPSS 1.8%

    A division-by-zero error on some AMD processors can potentially return speculative data resulting in loss of confidentiality.

  15. 7.8CVE-2023-3896vimEPSS 0.4%

    Divide By Zero in vim/vim from 9.0.1367-1 to 9.0.1367-3

  16. 7.5CVE-2023-38672paddlepaddleEPSS 0.8%

    FPE in paddle.trace in PaddlePaddle before 2.5.0. This flaw can cause a runtime crash and a denial of service.

  17. 6.5CVE-2023-37769pixmanEPSS 0.7%

    stress-test master commit e4c878 was discovered to contain a FPE vulnerability via the component combine_inner at /pixman-combine-float.c.

  18. 7.5CVE-2021-32494radare radare2EPSS 0.8%

    Radare2 has a division by zero vulnerability in Mach-O parser's rebase_buffer function. This allow attackers to create malicious inputs that can cause denial of service.

  19. 5.5CVE-2023-30207kodiEPSS 0.4%

    A divide by zero issue discovered in Kodi Home Theater Software 19.5 and earlier allows attackers to cause a denial of service via use of crafted mp3 file.

  20. 3.3CVE-2023-3044xpdfreader xpdfEPSS 0.3%

    An excessively large PDF page size (found in fuzz testing, unlikely in normal PDF files) can result in a divide-by-zero in Xpdf's text extraction code. This is related to CVE-2022-30524, but the problem here is caused by a very large p…

  21. 7.5CVE-2022-47525fox-it fox datadiode firmwareEPSS 1.0%

    Fox-IT DataDiode (aka Fox DataDiode) 3.4.3 suffers from a Divide-by-Zero vulnerability in the packet parser. A remote attacker could leverage this vulnerability to cause a denial-of-service. Exploitation of this issue does not require user…

  22. 7.5CVE-2023-2839gpacEPSS 0.7%

    Divide By Zero in GitHub repository gpac/gpac prior to 2.2.2.

  23. 5.5CVE-2023-2662xpdfreader xpdfEPSS 0.3%

    In Xpdf 4.04 (and earlier), a bad color space object in the input PDF file can cause a divide-by-zero.

  24. 6.5CVE-2023-32573EPSS 1.1%

    In Qt before 5.15.14, 6.0.x through 6.2.x before 6.2.9, and 6.3.x through 6.5.x before 6.5.1, QtSvg QSvgFont m_unitsPerEm initialization is mishandled.

  25. 6.5CVE-2023-29659EPSS 1.0%

    A Segmentation fault caused by a floating point exception exists in libheif 1.15.1 using crafted heif images via the heif::Fraction::round() function in box.cc, which causes a denial of service.

  26. 5.5CVE-2023-31085linux kernelEPSS 0.3%

    An issue was discovered in drivers/mtd/ubi/cdev.c in the Linux kernel 6.2. There is a divide-by-zero error in do_div(sz,mtd->erasesize), used indirectly by ctrl_cdev_ioctl, when mtd->erasesize is 0.

  27. 3.3CVE-2023-25511nvidia cuda toolkitEPSS 0.3%

    NVIDIA CUDA Toolkit for Linux and Windows contains a vulnerability in cuobjdump, where a division-by-zero error may enable a user to cause a crash, which may lead to a limited denial of service.

  28. 7.8CVE-2023-1127EPSS 0.4%

    Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.

  29. 7.5CVE-2023-23109crasm project crasmEPSS 0.9%

    In crasm 1.8-3, invalid input validation, specific files passed to the command line application, can lead to a divide by zero fault in the function opdiv.

  30. 5.5CVE-2023-0615linux kernelEPSS 0.2%

    A memory leak flaw and potential divide by zero and Integer overflow was found in the Linux kernel V4L2 and vivid test code functionality. This issue occurs when a user triggers ioctls, such as VIDIOC_S_DV_TIMINGS ioctl. This could allow a…

  31. 7.8CVE-2023-0512vimEPSS 0.5%

    Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.

  32. 7.8CVE-2023-21789microsoft 3d builderEPSS 0.9%

    3D Builder Remote Code Execution Vulnerability