CyberSecBulletin

Stack-based Buffer Overflow

CWE-121

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

We track 2,424 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.6. 20 have been exploited in real attacks.

How this weakness is prevented

  • 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.
  • Architecture and Design: Use an abstraction library to abstract away risky APIs. Not a complete solution.
  • Implementation: Implement and perform bounds checking on input.
  • Implementation: Do not use dangerous functions such as gets. Use safer, equivalent functions which check for boundary errors.

Latest Stack-based Buffer Overflow vulnerabilities

  • 7.8 High severity

    macOS: Out-of-bounds Write

    CVE-2026-84604Apple

    A stack buffer overflow was addressed through improved input validation. This issue is fixed in macOS Golden Gate 27, macOS Sequoia 15.8.2, macOS Tahoe 26.7.2. Processing a maliciously crafted audit file may corrupt process memory.

  • 7.8 High severity

    V-SFT: Stack-based Buffer Overflow

    V-SFT provided by FUJI ELECTRIC CO., LTD. contains a stack-based buffer overflow vulnerability. Opening a crafted V7 file may lead to information exposure or arbitrary code execution on the affected product.

  • 8.1 High severity

    ImageMagick: Stack-based Buffer Overflow

    CVE-2026-116149ImageMagick

    ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a stack-based buffer overflow in the handling of bzip2 compressed images. Attackers can supply a crafted image using bzip2 compression to overwrite stack memory during decoding, causing crashes or m

  • 7.6 High severity

    ConnMan: Stack-based Buffer Overflow

    CVE-2026-115863ConnMan

    ConnMan through 2.0 has a stack-based buffer overflow via a DHCPv6 Reply message. This occurs in get_domains in gdhcp/client.c. It copies a fixed NS_MAXDNAME (1025) bytes from a DHCPv6 DOMAIN_LIST (option 24) value into a 1026-byte stack buffer dns_name regard

  • 9.8 Critical severity

    odhcpd: Stack-based Buffer Overflow

    CVE-2026-53921OpenWrtEPSS 1.12%

    odhcpd is the DHCPv6, DHCPv4, and router-advertisement server used by OpenWrt. Prior to version 25.12, odhcpd's DHCPv6 IA response handler writes past the end of a fixed 512-byte stack buffer (pdbuf) when a single DHCPv6 REQUEST carries enough IA options to ne

  • 9.4 Critical severity

    ArubaOS (AOS): Stack-based Buffer Overflow

    CVE-2026-79872Hewlett Packard Enterprise

    A buffer overflow vulnerability exists in the underlying operating system of AOS that could lead to unauthenticated remote code execution by an unauthenticated remote attacker. Successful exploitation of this vulnerability results in the ability to execute arb

  • 9.8 Critical severity

    EmberZNet: Stack-based Buffer Overflow

    CVE-2026-94502Silicon Labs

    In EmberZNet 9.1.1 and earlier, a malformed Publish Price Matrix command can result in an out-of-bounds write potentially leading to remote code execution. These messages must come from a device that has already joined the network. Only devices supporting the

  • 9.1 Critical severity

    EmberZNet: Stack-based Buffer Overflow

    CVE-2026-85080Silicon Labs

    In EmberZNet 9.1.1 and earlier, a malformed GetGroupMembership message can result in an out-of-bounds write leading to a crash. A limited number of values can be written using this vulnerability, so no route to remote code execution was observed. These message

  • 9.8 Critical severity

    EmberZNet: Stack-based Buffer Overflow

    CVE-2026-85079Silicon Labs

    In EmberZNet 9.1.1 and earlier, a malformed Simple_Desc_req response can result in an out-of-bounds write potentially leading to remote code execution. This response must come from a device that has already joined the network, and the attacker must wait for a

  • 10.0 Critical severity

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

    CVE-2026-114383TOTOLINK

    A weakness has been identified in TOTOLINK EX200 5.2.3c.7200. This impacts the function setWiFiAclAddConfig of the file /cgi-bin/cstecgi.cgi of the component wireless.so. This manipulation of the argument macAddress causes stack-based buffer overflow. The atta

  • 10.0 Critical severity

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

    CVE-2026-114382TOTOLINK

    A security flaw has been discovered in TOTOLINK EX200 5.2.3c.7200. This affects the function setStaticDhcpConfig of the file /cgi-bin/cstecgi.cgi of the component lan.so. The manipulation of the argument Comment results in stack-based buffer overflow. It is po

  • 7.8 High severity

    GIMP: Stack-based Buffer Overflow

    CVE-2026-92183GIMP

    GIMP APNG File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that t

  • 10.0 Critical severity

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

    CVE-2026-113744Tenda

    A security vulnerability has been detected in Tenda AC19 16.03.10.07. The impacted element is the function formSetFirewallCfg of the file /goform/SetFirewallCfg of the component httpd Web Management Service. Such manipulation of the argument firewallEn leads t

  • 7.8 High severity

    Sterling Connect Direct for Unix: Stack-based Buffer Overflow

    CVE-2026-93888IBM

    IBM Sterling Connect Direct for Unix 6.4.0.0 through 6.4.0.6 and 6.3.0.0 through 6.3.0.7 apnotify utility is vulnerable to a code injection due to insufficient validation of user input.

  • 8.8 High severity

    Planning Analytics: Stack-based Buffer Overflow

    CVE-2026-76587IBM

    IBM Planning Analytics 2.0 and 2.1 are vulnerable to a stack-based buffer overflow, caused by improper bounds checking. An attacker could overflow the buffer and execute arbitrary code on the system.

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-9869TOTOLINK

    A stack-based buffer overflow vulnerability exists in the boa formTR069Config functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an authent

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-9817TOTOLINK

    A stack-based buffer overflow vulnerability exists in the boa formUploadFile functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an authenti

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-9660TOTOLINK

    Multiple exploitable stack-based buffer overflow vulnerabilities exist in the boa formFilter functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-9659TOTOLINK

    Multiple exploitable stack-based buffer overflow vulnerabilities exist in the boa formFilter functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-42026TOTOLINK

    Multiple exploitable stack-based buffer overflow vulnerabilities exist in the boa formIpv6Setup dhcp_dns functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An a

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-42025TOTOLINK

    Multiple exploitable stack-based buffer overflow vulnerabilities exist in the boa formIpv6Setup dhcp_dns functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An a

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-42024TOTOLINK

    Multiple stack-based buffer overflow vulnerabilities exist in the boa formIpv6Setup static network configuration functionality of Totolink X2000R TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327. A specially crafted HTTP request can lead to arbitrary code execution. A

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-42023TOTOLINK

    Multiple stack-based buffer overflow vulnerabilities exist in the boa formIpv6Setup static network configuration functionality of Totolink X2000R TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327. A specially crafted HTTP request can lead to arbitrary code execution. A

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-42022TOTOLINK

    Multiple stack-based buffer overflow vulnerabilities exist in the boa formIpv6Setup static network configuration functionality of Totolink X2000R TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327. A specially crafted HTTP request can lead to arbitrary code execution. A

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-42021TOTOLINK

    Multiple stack-based buffer overflow vulnerabilities exist in the boa formIpv6Setup static network configuration functionality of Totolink X2000R TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327. A specially crafted HTTP request can lead to arbitrary code execution. A

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-42020TOTOLINK

    Multiple stack-based buffer overflow vulnerabilities exist in the boa formIpv6Setup pppoe functionality of Totolink X2000R TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327. A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-42019TOTOLINK

    Multiple stack-based buffer overflow vulnerabilities exist in the boa formIpv6Setup pppoe functionality of Totolink X2000R TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327. A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-41223TOTOLINK

    A stack-based buffer overflow vulnerability exists in the boa formMapDelDevice macstr functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-41222TOTOLINK

    A stack-based buffer overflow vulnerability exists in the boa formParentControl url functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an a

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-40615TOTOLINK

    A stack-based buffer overflow vulnerability exists in the boa formParentControl deviceName functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can ma

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-28763TOTOLINK

    A stack-based buffer overflow vulnerability exists in the boa formMapDelDevice hostname functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-10139TOTOLINK

    A stack-based buffer overflow vulnerability exists in the Mcli functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an authenticated HTTP req

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-10137TOTOLINK

    A stack-based buffer overflow vulnerability exists in the boa formUpload() functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an authentica

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-10133TOTOLINK

    A stack-based buffer overflow vulnerability exists in the batchupg functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an authenticated HTTP

  • 9.1 Critical severity

    Totolink: Stack-based Buffer Overflow

    CVE-2026-10132TOTOLINK

    A stack-based buffer overflow vulnerability exists in the boa formIpQos mac functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an authentic

  • 8.6 High severity

    ADAM-3600: Stack-based Buffer Overflow

    CVE-2026-43856Advantech

    A stack-based buffer overflow vulnerability in the FileProcess::CheckDir function could allow a remote authenticated attacker to achieve arbitrary code execution via a path longer than 1024 bytes.

  • 8.2 High severity

    Router: Stack-based Buffer Overflow

    CVE-2026-17518ASUS

    Buffer Copy without Checking Size of Input in certain ASUS router models allows an adjacent authenticated user to corrupt device operations and cause a denial of service via an HTTP request with input exceeding the expected length. Refer to the ' Security Upda

  • 8.8 High severity

    iOS and iPadOS: Stack-based Buffer Overflow

    CVE-2026-86919Apple

    A stack overflow was addressed with improved input validation. This issue is fixed in iOS 26.7 and iPadOS 26.7, iOS 27 and iPadOS 27, macOS Golden Gate 27, macOS Sequoia 15.8, macOS Tahoe 26.7, visionOS 27. An attacker with a paired Bluetooth device may be abl

  • 7.8 High severity

    Red Hat Enterprise Linux 8: Stack-based Buffer Overflow

    CVE-2026-112257Red Hat

    A flaw was found in GIMP. The PSD thumbnail resource loader performs a BGR-to-RGB channel swap with a fixed 3-byte stride and does not verify that the JPEG thumbnail is RGB. A crafted grayscale PSD thumbnail can cause a heap out-of-bounds read and write in the

  • 8.5 High severity

    Tapo C320WS v2: Stack-based Buffer Overflow

    CVE-2026-105810TP-Link

    Tapo C320WS V2.0 contains an authenticated stack-based buffer overflow in the local onboarding Wi-Fi configuration path. An authenticated attacker on the adjacent network can submit a crafted request containing an oversized encrypted password field, overwrite