VYPR

CWE-190

Integer Overflow or Wraparound

BaseStableLikelihood: Medium

Description

The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Hierarchy (View 1000)

Parents

Children

Related attack patterns (CAPEC)

CAPEC-92

CVEs mapped to this weakness (3,387)

page 148 of 170
  • CVE-2024-46669LowJan 14, 2025
    risk 0.23cvss 3.5epss 0.01

    An Integer Overflow or Wraparound vulnerability [CWE-190] in version 7.4.4 and below, version 7.2.10 and below; FortiSASE version 23.4.b FortiOS tenant IPsec IKE service may allow an authenticated attacker to crash the IPsec tunnel via crafted requests, resulting in potential…

  • CVE-2024-50610LowOct 27, 2024
    risk 0.23cvss 3.6epss 0.00

    GSL (GNU Scientific Library) through 2.8 has an integer signedness error in gsl_siman_solve_many in siman/siman.c. When params.n_tries is negative, incorrect memory allocation occurs.

  • CVE-2026-30935MedMar 10, 2026
    risk 0.22cvss 4.4epss 0.00

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16, BilateralBlurImage contains a heap buffer over-read caused by an incorrect conversion. When processing a crafted image with the -bilateral-blur operation an…

  • CVE-2023-53156MedJul 27, 2025
    risk 0.22cvss 4.5epss 0.00

    The transpose crate before 0.2.3 for Rust allows an integer overflow via input_width and input_height arguments.

  • CVE-2020-27769LowMay 14, 2021
    risk 0.22cvss 3.3epss 0.01

    In ImageMagick versions before 7.0.9-0, there are outside the range of representable values of type 'float' at MagickCore/quantize.c.

  • CVE-2020-27768LowFeb 23, 2021
    risk 0.22cvss 3.3epss 0.01

    In ImageMagick, there is an outside the range of representable values of type 'unsigned int' at MagickCore/quantum-private.h. This flaw affects ImageMagick versions prior to 7.0.9-0.

  • CVE-2020-27758LowDec 8, 2020
    risk 0.22cvss 3.3epss 0.01

    A flaw was found in ImageMagick in coders/txt.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned long long`. This would most likely lead to an impact to application…

  • CVE-2020-27757LowDec 8, 2020
    risk 0.22cvss 3.3epss 0.01

    A floating point math calculation in ScaleAnyToQuantum() of /MagickCore/quantum-private.h could lead to undefined behavior in the form of a value outside the range of type unsigned long long. The flaw could be triggered by a crafted input file under certain conditions when it is…

  • CVE-2020-27754LowDec 8, 2020
    risk 0.22cvss 3.3epss 0.01

    In IntensityCompare() of /magick/quantize.c, there are calls to PixelPacketIntensity() which could return overflowed values to the caller when ImageMagick processes a crafted input file. To mitigate this, the patch introduces and uses the ConstrainPixelIntensity() function,…

  • CVE-2020-27751LowDec 8, 2020
    risk 0.22cvss 3.3epss 0.01

    A flaw was found in ImageMagick in MagickCore/quantum-export.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned long long` as well as a shift exponent that is too…

  • CVE-2020-25675LowDec 8, 2020
    risk 0.22cvss 3.3epss 0.01

    In the CropImage() and CropImageToTiles() routines of MagickCore/transform.c, rounding calculations performed on unconstrained pixel offsets was causing undefined behavior in the form of integer overflow and out-of-range values as reported by UndefinedBehaviorSanitizer. Such…

  • CVE-2020-25666LowDec 8, 2020
    risk 0.22cvss 3.3epss 0.01

    There are 4 places in HistogramCompare() in MagickCore/histogram.c where an integer overflow is possible during simple math calculations. This occurs in the rgb values and `count` value for a color. The patch uses casts to `ssize_t` type for these calculations, instead of `int`.…

  • CVE-2020-27772LowDec 4, 2020
    risk 0.22cvss 3.3epss 0.01

    A flaw was found in ImageMagick in coders/bmp.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned int`. This would most likely lead to an impact to application…

  • CVE-2020-27776LowDec 4, 2020
    risk 0.22cvss 3.3epss 0.01

    A flaw was found in ImageMagick in MagickCore/statistic.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type unsigned long. This would most likely lead to an impact to…

  • CVE-2020-27775LowDec 4, 2020
    risk 0.22cvss 3.3epss 0.01

    A flaw was found in ImageMagick in MagickCore/quantum.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type unsigned char. This would most likely lead to an impact to…

  • CVE-2020-27774LowDec 4, 2020
    risk 0.22cvss 3.3epss 0.01

    A flaw was found in ImageMagick in MagickCore/statistic.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of a too large shift for 64-bit type `ssize_t`. This would most likely lead to an impact to application…

  • CVE-2020-27771LowDec 4, 2020
    risk 0.22cvss 3.3epss 0.01

    In RestoreMSCWarning() of /coders/pdf.c there are several areas where calls to GetPixelIndex() could result in values outside the range of representable for the unsigned char type. The patch casts the return value of GetPixelIndex() to ssize_t type to avoid this bug. This…

  • CVE-2020-27767LowDec 4, 2020
    risk 0.22cvss 3.3epss 0.01

    A flaw was found in ImageMagick in MagickCore/quantum.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of types `float` and `unsigned char`. This would most likely lead to an…

  • CVE-2020-27761LowDec 3, 2020
    risk 0.22cvss 3.3epss 0.01

    WritePALMImage() in /coders/palm.c used size_t casts in several areas of a calculation which could lead to values outside the range of representable type `unsigned long` undefined behavior when a crafted input file was processed by ImageMagick. The patch casts to `ssize_t`…

  • CVE-2020-27759LowDec 3, 2020
    risk 0.22cvss 3.3epss 0.01

    In IntensityCompare() of /MagickCore/quantize.c, a double value was being casted to int and returned, which in some cases caused a value outside the range of type `int` to be returned. The flaw could be triggered by a crafted input file under certain conditions when processed by…