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

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

    CVE-2023-4692Red Hat

    An out-of-bounds write flaw was found in grub2's NTFS filesystem driver. This issue may allow an attacker to present a specially crafted NTFS filesystem image, leading to grub's heap metadata corruption. In some circumstances, the attack may also corrupt the U

  • 8.1 High severity

    SoftEther VPN: Out-of-bounds Write

    CVE-2023-27395SoftEther VPNEPSS 1.54%

    A heap-based buffer overflow vulnerability exists in the vpnserver WpcParsePacket() functionality of SoftEther VPN 4.41-9782-beta, 5.01.9674 and 5.02. A specially crafted network packet can lead to arbitrary code execution. An attacker can perform a man-in-the

  • 7.8 High severity

    Red Hat Enterprise Linux 8: Integer Overflow or Wraparound

    CVE-2023-43787Red Hat

    A vulnerability was found in libX11 due to an integer overflow within the XCreateImage() function. This flaw allows a local user to trigger an integer overflow and execute arbitrary code with elevated privileges.

  • 7.8 High severity

    GNU C Library Buffer Overflow Exploited

    CVE-2023-4911Red HatEPSS 63.8%

    A buffer overflow was discovered in the GNU C Library's dynamic loader ld.so while processing the GLIBC_TUNABLES environment variable. This issue could allow a local attacker to use maliciously crafted GLIBC_TUNABLES environment variables when launching binari

  • 7.0 High severity

    CUPS: Out-of-bounds Write

    CVE-2023-4504OpenPrinting

    Due to failure in validating the length provided by an attacker-crafted PPD PostScript document, CUPS and libppd are susceptible to a heap-based buffer overflow and possibly code execution. This issue has been fixed in CUPS version 2.4.7, released in September

  • 7.8 High severity

    glib: Out-of-bounds Write

    CVE-2023-32643Glib

    A flaw was found in GLib. The GVariant deserialization code is vulnerable to a heap buffer overflow introduced by the fix for CVE-2023-32665. This bug does not affect any released version of GLib, but does affect GLib distributors who followed the guidance of

  • 7.8 High severity

    JT2Go: Out-of-bounds Write

    CVE-2023-38076Siemens

    A vulnerability has been identified in JT2Go (All versions < V14.3.0.1), Teamcenter Visualization V13.3 (All versions < V13.3.0.12), Teamcenter Visualization V14.0 (All versions), Teamcenter Visualization V14.1 (All versions < V14.1.0.11), Teamcenter Visualiza

  • 7.8 High severity

    JT2Go: Out-of-bounds Write

    CVE-2023-38071Siemens

    A vulnerability has been identified in JT2Go (All versions < V14.3.0.1), Teamcenter Visualization V13.3 (All versions < V13.3.0.12), Teamcenter Visualization V14.0 (All versions), Teamcenter Visualization V14.1 (All versions < V14.1.0.11), Teamcenter Visualiza

  • 7.8 High severity

    notepad-plus-plus: Buffer Copy without Checking Size of Input

    CVE-2023-40031Notepad-plus-plus

    Notepad++ is a free and open-source source code editor. Versions 8.5.6 and prior are vulnerable to heap buffer write overflow in `Utf8_16_Read::convert`. This issue may lead to arbitrary code execution. As of time of publication, no known patches are available

  • 7.5 High severity

    Fast-DDS: Out-of-bounds Write

    CVE-2023-39947eProsima

    eprosima Fast DDS is a C++ implementation of the Data Distribution Service standard of the Object Management Group. Prior to versions 2.11.1, 2.10.2, 2.9.2, and 2.6.6, even after the fix at commit 3492270, malformed `PID_PROPERTY_LIST` parameters cause heap ov

  • 7.5 High severity

    Fast-DDS: Out-of-bounds Write

    CVE-2023-39946eProsima

    eprosima Fast DDS is a C++ implementation of the Data Distribution Service standard of the Object Management Group. Prior to versions 2.11.1, 2.10.2, 2.9.2, and 2.6.6, heap can be overflowed by providing a PID_PROPERTY_LIST parameter that contains a CDR string

  • 7.8 High severity

    Dimension: Heap-based Buffer Overflow

    CVE-2023-38212Adobe

    Adobe Dimension version 3.4.9 is 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 in that a victim must open a maliciou

  • 8.8 High severity

    Mongoose: Out-of-bounds Write

    CVE-2023-2905CesantaEPSS 1.01%

    Due to a failure in validating the length of a provided MQTT_CMD_PUBLISH parsed message with a variable length header, Cesanta Mongoose, an embeddable web server, version 7.10 is susceptible to a heap-based buffer overflow vulnerability in the default configur

  • 8.8 High severity

    AXIS A1001 Network Door Controller: Out-of-bounds Write

    CVE-2023-21406Axis Communications AB

    Ariel Harush and Roy Hodir from OTORIO have found a flaw in the AXIS A1001 when communicating over OSDP. A heap-based buffer overflow was found in the pacsiod process which is handling the OSDP communication allowing to write outside of the allocated buffer. B

  • 7.8 High severity

    Open Babel: Out-of-bounds Write

    CVE-2022-46290Open Babel

    Multiple out-of-bounds write vulnerabilities exist in the ORCA format nAtoms functionality of Open Babel 3.1.1 and master commit 530dbfa3. A specially-crafted malformed file can lead to arbitrary code execution. An attacker can provide a malicious file to trig

  • 7.8 High severity

    Open Babel: Out-of-bounds Write

    CVE-2022-46289Open Babel

    Multiple out-of-bounds write vulnerabilities exist in the ORCA format nAtoms functionality of Open Babel 3.1.1 and master commit 530dbfa3. A specially-crafted malformed file can lead to arbitrary code execution. An attacker can provide a malicious file to trig

  • 9.8 Critical severity

    CIMPLICITY: Out-of-bounds Write

    CVE-2023-3463GE Digital

    All versions of GE Digital CIMPLICITY that are not adhering to SDG guidance and accepting documents from untrusted sources are vulnerable to memory corruption issues due to insufficient input validation, including issues such as out-of-bounds reads and writes,

  • 8.8 High severity

    redis: Heap-based Buffer Overflow

    CVE-2022-24834RedisEPSS 41.4%

    Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions

  • 7.8 High severity

    SOLIDWORKS Desktop: Use After Free

    CVE-2023-2763Dassault Systèmes

    Use-After-Free, Out-of-bounds Write and Heap-based Buffer Overflow vulnerabilities exist in the DWG and DXF file reading procedure in SOLIDWORKS Desktop from Release SOLIDWORKS 2021 through Release SOLIDWORKS 2023. These vulnerabilities could allow an attacker

  • 8.8 High severity

    redis: Out-of-bounds Write

    CVE-2023-36824RedisEPSS 77.4%

    Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentiall

  • 7.8 High severity

    Tecnomatix Plant Simulation V2201: Out-of-bounds Write

    CVE-2023-37247Siemens

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

  • 7.8 High severity

    Tecnomatix Plant Simulation V2201: Out-of-bounds Write

    CVE-2023-37246Siemens

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

  • 7.8 High severity

    sox: Out-of-bounds Write

    CVE-2023-34432SoX

    A heap buffer overflow vulnerability was found in sox, in the lsx_readbuf function at sox/src/formats_i.c:98:16. This flaw can lead to a denial of service, code execution, or information disclosure.

  • 7.8 High severity

    sox: Out-of-bounds Write

    CVE-2023-34318SoX

    A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.

  • 9.8 Critical severity

    HarmonyOS: Use After Free

    CVE-2022-48512Huawei

    Use After Free (UAF) vulnerability in the Vdecoderservice service. Successful exploitation of this vulnerability may cause the image decoding feature to perform abnormally.

  • 7.8 High severity

    Diagon: Out-of-bounds Write

    CVE-2023-27390Diagon

    A heap-based buffer overflow vulnerability exists in the Sequence::DrawText functionality of Diagon v1.0.139. A specially crafted markdown file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger this vulnerability.

  • 9.8 Critical severity

    Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Exploited

    CVE-2023-27997FortinetEPSS 86.8%

    A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, version 6.4.12 and below, version 6.0.16 and below and FortiProxy version 7.2.3 and below, version 7.0.9 and below, version 2.0.12 and below, ver

  • 7.8 High severity

    CNCSoft-B DOPSoft: Out-of-bounds Write

    CVE-2023-24014Delta Electronics

    Delta Electronics' CNCSoft-B DOPSoft versions 1.0.0.4 and prior are vulnerable to heap-based buffer overflow, which could allow an attacker to execute arbitrary code.

  • 7.5 High severity

    sofia-sip: Integer Overflow or Wraparound

    CVE-2023-32307FreeswitchEPSS 1.06%

    Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to [GHSA-8599-x7rq-fr54](https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-8599-x7rq-fr54), several other potential heap-over-flow and i

  • 7.8 High severity

    Substance3D - Painter: Out-of-bounds Write

    CVE-2023-29283Adobe

    Adobe Substance 3D Painter versions 8.3.0 (and earlier) is 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 in that a v

  • 9.8 Critical severity

    Canon Office/Small Office Multifunction…: Out-of-bounds Write

    CVE-2023-0854CanonEPSS 1.16%

    Buffer overflow in NetBIOS QNAME registering and communication process of Office / Small Office Multifunction Printers and Laser Printers(*) which may allow an attacker on the network segment to trigger the affected product being unresponsive or to execute arb

  • 9.8 Critical severity

    Canon Office/Small Office Multifunction…: Out-of-bounds Write

    CVE-2023-0851CanonEPSS 1.14%

    Buffer overflow in CPCA Resource Download process of Office / Small Office Multifunction Printers and Laser Printers(*) which may allow an attacker on the network segment to trigger the affected product being unresponsive or to execute arbitrary code. *:Satera

  • 7.8 High severity

    PoDoFo: Out-of-bounds Write

    CVE-2023-2241PoDoFo

    A vulnerability, which was classified as critical, was found in PoDoFo 0.10.0. Affected is the function readXRefStreamEntry of the file PdfXRefStreamParserObject.cpp. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally.

  • 7.8 High severity

    Autodesk FBX SDK: Out-of-bounds Write

    CVE-2023-27911Autodesk FBX SDK

    A user may be tricked into opening a malicious FBX file that may exploit a heap buffer overflow vulnerability in Autodesk® FBX® SDK 2020 or prior which may lead to code execution.

  • 7.8 High severity

    Substance3D - Designer: Out-of-bounds Write

    CVE-2023-26416Adobe

    Adobe Substance 3D Designer version 12.4.0 (and earlier) is 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 in that a

  • 7.8 High severity

    Substance3D - Designer: Out-of-bounds Write

    CVE-2023-26413Adobe

    Adobe Substance 3D Designer version 12.4.0 (and earlier) is 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 in that a

  • 7.8 High severity

    Substance3D - Stager: Out-of-bounds Write

    CVE-2023-26394Adobe

    Adobe Substance 3D Stager version 2.0.1 (and earlier) is 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 in that a vic

  • 7.8 High severity

    Microsoft Windows Common Log File System (CLFS) Driver Privilege Escalation Exploited

    CVE-2023-28252MicrosoftEPSS 48.9%

    Windows Common Log File System Driver Elevation of Privilege Vulnerability

  • 7.8 High severity

    Ichitaro: Heap-based Buffer Overflow

    CVE-2023-22660Ichitaro

    A heap-based buffer overflow vulnerability exists in the way Ichitaro version 2022 1.0.1.57600 processes certain LayoutBox stream record types. A specially crafted document can cause a buffer overflow, leading to memory corruption, which can result in arbitrar

  • 7.8 High severity

    Ichitaro: Heap-based Buffer Overflow

    CVE-2022-45115Ichitaro

    A buffer overflow vulnerability exists in the Attribute Arena functionality of Ichitaro 2022 1.0.1.57600. A specially crafted document can lead to memory corruption. An attacker can provide a malicious file to trigger this vulnerability.