CyberSecBulletin

Integer Overflow or Wraparound

CWE-190

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.

We track 963 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.2. 22 have been exploited in real attacks.

How this weakness is prevented

  • Requirements: Ensure that all protocols are strictly defined, such that all out-of-bounds behavior can be identified simply, and require strict conformance to the protocol.
  • Requirements: Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. If possible, choose a language or compiler that performs automatic bounds checking.
  • Architecture and Design: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Use 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++).
  • 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. Use unsigned integers where possible. This makes it easier to perform validation for integer overflows. When signed integers are required, ensure that the range check includes minimum values as well as maximum values.
  • Implementation: Understand the programming language's underlying representation and how it interacts with numeric calculation (CWE-681). Pay close attention to byte size discrepancies, precision, signed/unsigned distinctions, truncation, conversion and casting between types, not-a-number calculations, and how the language handles numbers that are too large or too small for its underlying representation. Also be careful to account for 32-bit, 64-bit, and other potential differences that may affect the numeric representation.

Latest Integer Overflow or Wraparound vulnerabilities

  • 9.1 Critical severity

    psd-tools: Integer Overflow or Wraparound

    CVE-2026-27809Psd-tools

    psd-tools is a Python package for working with Adobe Photoshop PSD files. Prior to version 1.12.2, when a PSD file contains malformed RLE-compressed image data (e.g. a literal run that extends past the expected row size), decode_rle() raises ValueError which p

  • 7.5 High severity

    FreeRDP: Integer Overflow or Wraparound

    CVE-2026-27951FreeRDP

    FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, the function `Stream_EnsureCapacity` can create an endless blocking loop. This may affect all client and server implementations using `FreeRDP`. For practical exploitatio

  • 9.8 Critical severity

    Firefox: Integer Overflow or Wraparound

    CVE-2026-2781Mozilla

    Integer overflow in the Libraries component in NSS. This vulnerability was fixed in Firefox 148, Firefox ESR 140.8, Thunderbird 148, Thunderbird 140.8, and Firefox ESR 115.35.

  • 9.8 Critical severity

    Firefox: Integer Overflow or Wraparound

    CVE-2026-2774Mozilla

    Integer overflow in the Audio/Video component. This vulnerability was fixed in Firefox 148, Firefox ESR 115.33, Firefox ESR 140.8, Thunderbird 148, and Thunderbird 140.8.

  • 9.8 Critical severity

    Firefox: Integer Overflow or Wraparound

    CVE-2026-2762Mozilla

    Integer overflow in the JavaScript: Standard Library component. This vulnerability was fixed in Firefox 148, Firefox ESR 140.8, Thunderbird 148, and Thunderbird 140.8.

  • 7.5 High severity

    ImageMagick: Off-by-one Error

    CVE-2026-25989ImageMagick

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a crafted SVG file can cause a denial of service. An off-by-one boundary check (`>` instead of `>=`) that allows bypass the

  • 7.5 High severity

    ImageMagick: Integer Overflow or Wraparound

    CVE-2026-25970ImageMagick

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a signed integer overflow vulnerability in ImageMagick's SIXEL decoder allows an attacker to trigger memory corruption and

  • 9.8 Critical severity

    ImageMagick: Integer Overflow or Wraparound

    CVE-2026-25897ImageMagick

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, an Integer Overflow vulnerability exists in the sun decoder. On 32-bit systems/builds, a carefully crafted image can lead t

  • 8.2 High severity

    ImageMagick: Heap-based Buffer Overflow

    CVE-2026-25794ImageMagick

    ImageMagick is free and open-source software used for editing and manipulating digital images. `WriteUHDRImage` in `coders/uhdr.c` uses `int` arithmetic to compute the pixel buffer size. Prior to version 7.1.2-15, when image dimensions are large, the multiplic

  • 9.1 Critical severity

    Crypt::NaCl::Sodium: Integer Overflow or Wraparound

    CVE-2026-2588Timlegge

    Crypt::NaCl::Sodium versions through 2.001 for Perl has an integer overflow flaw on 32-bit systems. Sodium.xs casts a STRLEN (size_t) to unsigned long long when passing a length pointer to libsodium functions. On 32-bit systems size_t is typically 32-bits whil

  • 7.0 High severity

    AMD Ryzen™ 4000 Series Mobile Processors with…: Integer Overflow or Wraparound

    CVE-2024-36320AMD

    Integer Overflow within atihdwt6.sys can allow a local attacker to cause out of bound read/write potentially leading to loss of confidentiality, integrity and availability

  • 7.8 High severity

    Adobe DNG Software Development Kit (SDK): Integer Overflow or Wraparound

    CVE-2026-21353Adobe

    DNG SDK versions 1.7.1 2410 and earlier are affected by an Integer Overflow or Wraparound vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a victim must

  • 7.8 High severity

    Bridge: Integer Overflow or Wraparound

    CVE-2026-21347Adobe

    Bridge versions 15.1.3, 16.0.1 and earlier are affected by an Integer Overflow or Wraparound vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a victim m

  • 7.8 High severity

    After Effects: Integer Overflow or Wraparound

    CVE-2026-21321Adobe

    After Effects versions 25.6 and earlier are affected by an Integer Overflow or Wraparound vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a victim must

  • 7.5 High severity

    Fast-DDS: Integer Overflow or Wraparound

    CVE-2025-62600eProsima

    eprosima Fast DDS is a C++ implementation of the DDS (Data Distribution Service) standard of the OMG (Object Management Group). Prior to 2.6.11, 2.14.6, 3.2.4, 3.3.1, and 3.4.1, when the security mode is enabled, modifying the DATA Submessage within an SPDP pa

  • 7.5 High severity

    Fast-DDS: Integer Overflow or Wraparound

    CVE-2025-62599eProsima

    eprosima Fast DDS is a C++ implementation of the DDS (Data Distribution Service) standard of the OMG (Object Management Group). Prior to 2.6.11, 2.14.6, 3.2.4, 3.3.1, and 3.4.1, when the security mode is enabled, modifying the DATA Submessage within an SPDP pa

  • 7.8 High severity

    libexpat: Integer Overflow or Wraparound

    CVE-2026-25210Libexpat Project

    In libexpat before 2.7.4, the doContent function does not properly determine the buffer size bufSize because there is no integer overflow check for tag buffer reallocation.

  • 7.8 High severity

    GeForce: Integer Overflow or Wraparound

    CVE-2025-33219NVIDIA

    NVIDIA Display Driver for Linux contains a vulnerability in the NVIDIA kernel module where an attacker could cause an integer overflow or wraparound. A successful exploit of this vulnerability might lead to code execution, escalation of privileges, data tamper

  • 7.8 High severity

    GeForce: Integer Overflow or Wraparound

    CVE-2025-33218NVIDIA

    NVIDIA GPU Display Driver for Windows contains a vulnerability in the kernel mode layer (nvlddmkm.sys), where an attacker could cause an integer overflow. A successful exploit of this vulnerability might lead to code execution, escalation of privileges, data t

  • 8.8 High severity

    Beckhoff.Device.Manager.XAR: Integer Overflow or Wraparound

    CVE-2025-41726Beckhoff Automation

    A low privileged remote attacker can execute arbitrary code by sending specially crafted calls to the web service of the Device Manager or locally via an API and can cause integer overflows which then may lead to arbitrary code execution within privileged proc

  • 10.0 Critical severity

    swoole-src: Integer Overflow or Wraparound

    CVE-2026-24814Swoole

    Integer Overflow or Wraparound vulnerability in swoole swoole-src (thirdparty/hiredis modules). This vulnerability is associated with program files sds.C. This issue affects swoole-src: before 6.0.2.

  • 8.3 High severity

    RawTherapee: Integer Overflow or Wraparound

    CVE-2026-24808RawTherapee

    Integer Overflow or Wraparound vulnerability in RawTherapee (rtengine modules). This vulnerability is associated with program files dcraw.Cc. This issue affects RawTherapee: through 5.11.

  • 8.8 High severity

    iccDEV provides libraries and tools for interacting with, manipulating, and applying ICC color…

    CVE-2026-24403InternationalColorConsortium

    iccDEV provides libraries and tools for interacting with, manipulating, and applying ICC color management profiles. In versions 2.3.1.1 and below, an integer overflow vulnerability exists in icValidateStatus CIccProfile::CheckHeader() when user-controllable in

  • 9.8 Critical severity

    ImageMagick: Heap-based Buffer Overflow

    CVE-2026-23876ImageMagick

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-13 and 6.9.13-38, a heap buffer overflow vulnerability in the XBM image decoder (ReadXBMImage) allows an attacker to write controlled data pa

  • 7.5 High severity

    esphome: Integer Overflow or Wraparound

    CVE-2026-23833Esphome

    ESPHome is a system to control microcontrollers remotely through Home Automation systems. In versions 2025.9.0 through 2025.12.6, an integer overflow in the API component's protobuf decoder allows denial-of-service attacks when API encryption is not used. The

  • 7.8 High severity

    raylib: Integer Overflow or Wraparound

    CVE-2025-15534Raysan5

    A vulnerability was identified in raysan5 raylib up to 909f040. Affected by this issue is the function LoadFontData of the file src/rtext.c. The manipulation leads to integer overflow. The attack can only be performed from a local environment. The exploit is p

  • 7.1 High severity

    Kerberos 5: Integer Overflow or Wraparound

    CVE-2025-24528Mit

    In MIT Kerberos 5 (aka krb5) before 1.22 (with incremental propagation), there is an integer overflow for a large update size to resize() in kdb_log.c. An authenticated attacker can cause an out-of-bounds write and kadmind daemon crash.

  • 8.4 High severity

    glibc: Integer Overflow or Wraparound

    CVE-2026-0861The GNU C Library

    Passing too large an alignment to the memalign suite of functions (memalign, posix_memalign, aligned_alloc) in the GNU C Library version 2.30 to 2.42 may result in an integer overflow, which could consequently result in a heap corruption. Note that the attacke

  • 9.8 Critical severity

    Linux: Integer Overflow or Wraparound

    CVE-2025-68794Linux

    In the Linux kernel, the following vulnerability has been resolved: iomap: adjust read range correctly for non-block-aligned positions iomap_adjust_read_range() assumes that the position and length passed in are block-aligned. This is not always the case howev

  • 7.5 High severity

    Firefox: Integer Overflow or Wraparound

    CVE-2026-0880Mozilla

    Sandbox escape due to integer overflow in the Graphics component. This vulnerability was fixed in Firefox 147, Firefox ESR 115.32, Firefox ESR 140.7, Thunderbird 147, and Thunderbird 140.7.

  • 7.8 High severity

    libpng: Out-of-bounds Read

    CVE-2026-22801Pnggroup

    LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.6.26 to 1.6.53, there is an integer truncation in the libpng simplified write API functions png_write_image_16bit

  • 8.8 High severity

    iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and…

    CVE-2026-21688InternationalColorConsortium

    iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of International Color Consortium (ICC) color management profiles. Versions prior to 2.3.1.2 have a Type Confusion vulnerability in `SIccCalcOp::ArgsPush

  • 7.8 High severity

    iccDEV: Heap-based Buffer Overflow

    CVE-2026-21486InternationalColorConsortium

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Versions 2.3.1.1 and below contain Use After Free, Heap-based Buffer Overflow and Integer Overflow or Wraparound and Out-of-bounds Write vulnerabilities in its CIccSpa

  • 8.8 High severity

    iccDEV provides a set of libraries and tools for working with ICC color management profiles.

    CVE-2026-21485InternationalColorConsortium

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Versions 2.3.1.1 and below are prone to have Undefined Behavior (UB) and Out of Memory errors. This issue is fixed in version 2.3.1.2.

  • 7.8 High severity

    iccDEV: Integer Overflow or Wraparound

    CVE-2026-21673InternationalColorConsortium

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Versions 2.3.1 and below have overflows and underflows in CIccXmlArrayType::ParseTextCountNum(). This vulnerability affects users of the iccDEV library who process ICC

  • 7.8 High severity

    FontForge: Integer Overflow or Wraparound

    CVE-2025-15278FontForge

    FontForge GUtils XBM File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of FontForge. User interaction is required to exploit this vulnerability in t

  • 7.5 High severity

    WasmEdge: Integer Overflow or Wraparound

    CVE-2025-69261WasmEdge

    WasmEdge is a WebAssembly runtime. Prior to version 0.16.0-alpha.3, a multiplication in `WasmEdge/include/runtime/instance/memory.h` can wrap, causing `checkAccessBound()` to incorrectly allow the access. This leads to a segmentation fault. Version 0.16.0-alph

  • 7.5 High severity

    ImageMagick: Integer Overflow or Wraparound

    CVE-2025-69204ImageMagick

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-12, in the WriteSVGImage function, using an int variable to store number_attributes caused an integer overflow. This, in turn, triggered a buf

  • 7.1 High severity

    libheif: Out-of-bounds Read

    CVE-2025-68431Strukturag

    libheif is an HEIF and AVIF file format decoder and encoder. Prior to version 1.21.0, a crafted HEIF that exercises the overlay image item path triggers a heap buffer over-read in `HeifPixelImage::overlay()`. The function computes a negative row length (likely

  • 8.2 High severity

    PHP: Integer Overflow or Wraparound

    CVE-2025-14178PHP Group

    In PHP versions:8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.* before 8.5.1, a heap buffer overflow occurs in array_merge() when the total element count of packed arrays exceeds 32-bit limits or HT_MAX_SIZE, due to an