CyberSecBulletin

Heap-based Buffer Overflow

CWE-122

The product writes past the end of a buffer that was allocated on the heap.

We track 1,418 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.3. 21 have been exploited in real attacks.

How this weakness is prevented

  • Pre-design: Use a language or compiler that performs automatic bounds checking.
  • Architecture and Design: Use an abstraction library to abstract away risky APIs. Not a complete solution.
  • Operation Build and Compilation: Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.
  • Implementation: Implement and perform bounds checking on input.
  • Implementation: Do not use dangerous functions such as gets. Look for their safe equivalent, which checks for the boundary.

Latest Heap-based Buffer Overflow vulnerabilities

  • 7.8 High severity

    Tecnomatix Plant Simulation V2201: Out-of-bounds Write

    CVE-2024-23796Siemens

    A vulnerability has been identified in Tecnomatix Plant Simulation V2201 (All versions < V2201.0012), Tecnomatix Plant Simulation V2302 (All versions < V2302.0006). The affected application is vulnerable to heap-based buffer overflow while parsing specially cr

  • 9.8 Critical severity

    Chrome: Out-of-bounds Write

    CVE-2024-1283GoogleEPSS 21.6%

    Heap buffer overflow in Skia in Google Chrome prior to 121.0.6167.160 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: High)

  • 9.8 Critical severity

    libgit2: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2024-24577Libgit2EPSS 1.55%

    libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to `git_index_add` can cause heap corruption that could be leve

  • 7.2 High severity

    QTS: Buffer Copy without Checking Size of Input

    CVE-2023-41276QNAP

    A buffer copy without checking size of input vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow authenticated administrators to execute code via a network. We have already fixed the vul

  • 7.2 High severity

    QTS: Buffer Copy without Checking Size of Input

    CVE-2023-41275QNAP

    A buffer copy without checking size of input vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow authenticated administrators to execute code via a network. We have already fixed the vul

  • 7.2 High severity

    QTS: Out-of-bounds Write

    CVE-2023-41273QNAP

    A heap-based buffer overflow vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow authenticated administrators to execute code via a network. We have already fixed the vulnerability in th

  • 9.1 Critical severity

    OpenEXR: Out-of-bounds Write

    CVE-2023-5841Academy Software FoundationEPSS 1.25%

    Due to a failure in validating the number of scanline samples of a OpenEXR file containing deep scanline data, Academy Software Foundation OpenEX image parsing library version 3.2.1 and prior is susceptible to a heap-based buffer overflow vulnerability. This i

  • 7.5 High severity

    glibc: Out-of-bounds Write

    CVE-2023-6779GlibcEPSS 3.15%

    An off-by-one heap-based buffer overflow was found in the __vsyslog_internal function of the glibc library. This function is called by the syslog and vsyslog functions. This issue occurs when these functions are called with a message bigger than INT_MAX bytes,

  • 7.8 High severity

    glibc: Out-of-bounds Write

    CVE-2023-6246GlibcEPSS 4.79%

    A heap-based buffer overflow was found in the __vsyslog_internal function of the glibc library. This function is called by the syslog and vsyslog functions. This issue occurs when the openlog function was not called, or called with the ident argument set to NU

  • 7.5 High severity

    Red Hat Enterprise Linux 10: Out-of-bounds Write

    CVE-2023-52356Red HatEPSS 2.72%

    A segment fault (SEGV) flaw was found in libtiff that could be triggered by passing a crafted tiff file to the TIFFReadRGBATileExt() API. This flaw allows a remote attacker to cause a heap-buffer overflow, leading to a denial of service.

  • 9.8 Critical severity

    FreeRDP: Integer Overflow or Wraparound

    CVE-2024-22211FreeRDPEPSS 1.08%

    FreeRDP is a set of free and open source remote desktop protocol library and clients. In affected versions an integer overflow in `freerdp_bitmap_planar_context_reset` leads to heap-buffer overflow. This affects FreeRDP based clients. FreeRDP based server impl

  • 7.8 High severity

    DGX A100: Out-of-bounds Write

    CVE-2023-31031NVIDIA

    NVIDIA DGX Station A100 and DGX Station A800 SBIOS contains a vulnerability where a user may cause a heap-based buffer overflow by local access. A successful exploit of this vulnerability may lead to code execution, denial of service, information disclosure, a

  • 9.8 Critical severity

    Nexo cordless nutrunner NXA015S-36V (0608842001): Out-of-bounds Write

    CVE-2023-48263Rexroth

    The vulnerability allows an unauthenticated remote attacker to perform a Denial-of-Service (DoS) attack or, possibly, obtain Remote Code Execution (RCE) via a crafted network request.

  • 8.8 High severity

    MegaRAC_SPx: Out-of-bounds Write

    CVE-2023-37297AMI

    AMI’s SPx contains a vulnerability in the BMC where an Attacker may cause a heap memory corruption via an adjacent network. A successful exploitation of this vulnerability may lead to a loss of confidentiality, integrity, and/or availability.

  • 8.8 High severity

    MegaRAC_SPx: Out-of-bounds Write

    CVE-2023-37295AMI

    AMI’s SPx contains a vulnerability in the BMC where an Attacker may cause a heap memory corruption via an adjacent network. A successful exploitation of this vulnerability may lead to a loss of confidentiality, integrity, and/or availability.

  • 8.8 High severity

    MegaRAC_SPx: Out-of-bounds Write

    CVE-2023-37294AMI

    AMI’s SPx contains a vulnerability in the BMC where an Attacker may cause a heap memory corruption via an adjacent network. A successful exploitation of this vulnerability may lead to a loss of confidentiality, integrity, and/or availability.

  • 7.8 High severity

    3D Viewer: Heap-based Buffer Overflow

    CVE-2024-20677MicrosoftEPSS 3.26%

    A security vulnerability exists in FBX that could lead to remote code execution. To mitigate this vulnerability, the ability to insert FBX files has been disabled in Word, Excel, PowerPoint and Outlook for Windows and Mac. Versions of Office that had this feat

  • 7.8 High severity

    edk2: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2022-36764TianoCore

    EDK2 is susceptible to a vulnerability in the Tcg2MeasurePeImage() function, allowing a user to trigger a heap buffer overflow via a local network. Successful exploitation of this vulnerability may result in a compromise of confidentiality, integrity, and/or a

  • 7.8 High severity

    edk2: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2022-36763TianoCore

    EDK2 is susceptible to a vulnerability in the Tcg2MeasureGptTable() function, allowing a user to trigger a heap buffer overflow via a local network. Successful exploitation of this vulnerability may result in a compromise of confidentiality, integrity, and/or

  • 7.8 High severity

    Solid Edge SE2023: Out-of-bounds Write

    CVE-2023-49123Siemens

    A vulnerability has been identified in Solid Edge SE2023 (All versions < V223.0 Update 10). The affected application is vulnerable to heap-based buffer overflow while parsing specially crafted PAR files. This could allow an attacker to execute code in the cont

  • 7.8 High severity

    Solid Edge SE2023: Out-of-bounds Write

    CVE-2023-49122Siemens

    A vulnerability has been identified in Solid Edge SE2023 (All versions < V223.0 Update 10). The affected application is vulnerable to heap-based buffer overflow while parsing specially crafted PAR files. This could allow an attacker to execute code in the cont

  • 7.8 High severity

    Solid Edge SE2023: Out-of-bounds Write

    CVE-2023-49121Siemens

    A vulnerability has been identified in Solid Edge SE2023 (All versions < V223.0 Update 10). The affected application is vulnerable to heap-based buffer overflow while parsing specially crafted PAR files. This could allow an attacker to execute code in the cont

  • 7.8 High severity

    Red Hat Enterprise Linux 6: Out-of-bounds Write

    CVE-2023-47039Red Hat

    A vulnerability was found in Perl. This security issue occurs while Perl for Windows relies on the system path environment variable to find the shell (`cmd.exe`). When running an executable that uses the Windows Perl interpreter, Perl attempts to find and exec

  • 7.3 High severity

    SQLite3: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2023-7104SQLiteEPSS 1.46%

    A vulnerability was found in SQLite SQLite3 up to 3.43.0 and classified as critical. This issue affects the function sessionReadRecord of the file ext/session/sqlite3session.c of the component make alltest Handler. The manipulation leads to heap-based buffer o

  • 9.8 Critical severity

    MicroPython: Out-of-bounds Write

    CVE-2023-7158MicroPythonEPSS 1.23%

    A vulnerability was found in MicroPython up to 1.21.0. It has been classified as critical. Affected is the function slice_indices of the file objslice.c. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack remotely. The ex

  • 7.5 High severity

    ClickHouse: Out-of-bounds Write

    CVE-2023-48704ClickHouse

    ClickHouse is an open-source column-oriented database management system that allows generating analytical data reports in real-time. A heap buffer overflow issue was discovered in ClickHouse server. An attacker could send a specially crafted payload to the nat

  • 9.8 Critical severity

    ClickHouse: Out-of-bounds Write

    CVE-2023-47118ClickHouse

    ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports in real-time. A heap buffer overflow issue was discovered in ClickHouse server. An attacker could send a specially crafted payload to the na

  • 7.8 High severity

    Red Hat Enterprise Linux 8: Out-of-bounds Write

    CVE-2023-47038Red Hat

    A vulnerability was found in perl 5.30.0 through 5.38.0. This issue occurs when a crafted regular expression is compiled by perl, which can allow an attacker controlled byte buffer overflow in a heap allocated buffer.

  • 7.5 High severity

    OpenImageIO: Out-of-bounds Write

    CVE-2023-3430OpenImageIOEPSS 1.24%

    A vulnerability was found in OpenImageIO, where a heap buffer overflow exists in the src/gif.imageio/gifinput.cpp file. This flaw allows a remote attacker to pass a specially crafted file to the application, which triggers a heap-based buffer overflow and coul

  • 9.8 Critical severity

    SIGMA Lite & Lite +: Out-of-bounds Write

    CVE-2023-33221IdemiaEPSS 1.03%

    When reading DesFire keys, the function that reads the card isn't properly checking the boundaries when copying internally the data received. This allows a heap based buffer overflow that could lead to a potential Remote Code Execution on the targeted device.

  • 7.8 High severity

    Informix Dynamic Server: Out-of-bounds Write

    CVE-2023-28523IBM

    IBM Informix Dynamic Server 12.10 and 14.10 onsmsync is vulnerable to a heap buffer overflow, caused by improper bounds checking which could allow an attacker to execute arbitrary code. IBM X-Force ID: 250753.

  • 7.8 High severity

    AutoCAD, Advance Steel and Civil 3D: Out-of-bounds Write

    CVE-2023-41140Autodesk

    A maliciously crafted PRT file when parsed through Autodesk AutoCAD 2024 and 2023 can be used to cause a Heap-Based Buffer Overflow. A malicious actor can leverage this vulnerability to cause a crash, read sensitive data, or execute arbitrary code in the conte

  • 9.8 Critical severity

    AutoCAD, Advance Steel and Civil 3D: Out-of-bounds Write

    CVE-2023-29073AutodeskEPSS 1.13%

    A maliciously crafted MODEL file when parsed through Autodesk AutoCAD 2024 and 2023 can be used to cause a Heap-Based Buffer Overflow. A malicious actor can leverage this vulnerability to cause a crash, read sensitive data, or execute arbitrary code in the con

  • 7.8 High severity

    Premiere Pro: Out-of-bounds Write

    CVE-2023-47056Adobe

    Adobe Premiere Pro version 24.0 (and earlier) and 23.6 (and earlier) are affected by a Heap-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interacti

  • 7.8 High severity

    Audition: Out-of-bounds Write

    CVE-2023-47051Adobe

    Adobe Audition version 24.0 (and earlier) and 23.6.1 (and earlier) are affected by a Heap-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction

  • 7.8 High severity

    Media Encoder: Out-of-bounds Write

    CVE-2023-47042Adobe

    Adobe Media Encoder version 24.0.2 (and earlier) and 23.6 (and earlier) are affected by a Heap-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user intera

  • 7.8 High severity

    Microsoft Windows Cloud Files Mini Filter Driver Privilege Escalation Exploited

    CVE-2023-36036MicrosoftEPSS 16.7%

    Windows Cloud Files Mini Filter Driver Elevation of Privilege Vulnerability

  • 9.8 Critical severity

    Gecko Platform: Out-of-bounds Write

    CVE-2023-27882Silicon LabsEPSS 1.78%

    A heap-based buffer overflow vulnerability exists in the HTTP Server form boundary functionality of Weston Embedded uC-HTTP v3.01.01. A specially crafted network packet can lead to code execution. An attacker can send a malicious packet to trigger this vulnera

  • 9.8 Critical severity

    Gecko Platform: Out-of-bounds Write

    CVE-2023-25181Silicon LabsEPSS 1.69%

    A heap-based buffer overflow vulnerability exists in the HTTP Server functionality of Weston Embedded uC-HTTP v3.01.01. A specially crafted set of network packets can lead to arbitrary code execution. An attacker can send a malicious packet to trigger this vul

  • 9.8 Critical severity

    PX4-Autopilot: Out-of-bounds Write

    CVE-2023-46256PX4

    PX4-Autopilot provides PX4 flight control solution for drones. In versions 1.14.0-rc1 and prior, PX4-Autopilot has a heap buffer overflow vulnerability in the parser function due to the absence of `parserbuf_index` value checking. A malfunction of the sensor d