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

  • 9.8 Critical severity

    Wnr854t Firmware: Stack-based Buffer Overflow

    CVE-2024-54808NETGEAR

    Netgear WNR854T 1.5.2 (North America) contains a stack-based buffer overflow vulnerability in the SetDefaultConnectionService function due to an unconstrained use of sscanf. The vulnerability allows for control of the program counter and can be utilized to ach

  • 8.8 High severity

    Gecko OS: Stack-based Buffer Overflow

    CVE-2025-2837Silicon Labs

    Silicon Labs Gecko OS HTTP Request Handling Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Silicon Labs Gecko OS. Authentication is no

  • 9.8 Critical severity

    Ac7 Firmware: Stack-based Buffer Overflow

    CVE-2025-29135TendaEPSS 1.1%

    A stack-based buffer overflow vulnerability in Tenda AC7 V15.03.06.44 allows a remote attacker to execute arbitrary code through a stack overflow attack using the security parameter of the formWifiBasicSet function.

  • 9.8 Critical severity

    DAP-1620: Out-of-bounds Write

    CVE-2025-2621D-LinkEPSS 2.13%

    A vulnerability was found in D-Link DAP-1620 1.03 and classified as critical. This issue affects the function check_dws_cookie of the file /storage. The manipulation of the argument uid leads to stack-based buffer overflow. The attack may be initiated remotely

  • 9.8 Critical severity

    DAP-1620: Out-of-bounds Write

    CVE-2025-2620D-LinkEPSS 8.85%

    A vulnerability has been found in D-Link DAP-1620 1.03 and classified as critical. This vulnerability affects the function mod_graph_auth_uri_handler of the file /storage of the component Authentication Handler. The manipulation leads to stack-based buffer ove

  • 9.8 Critical severity

    DAP-1620: Out-of-bounds Write

    CVE-2025-2619D-LinkEPSS 2.06%

    A vulnerability, which was classified as critical, was found in D-Link DAP-1620 1.03. This affects the function check_dws_cookie of the file /storage of the component Cookie Handler. The manipulation leads to stack-based buffer overflow. It is possible to init

  • 9.8 Critical severity

    Corosync: Out-of-bounds Write

    CVE-2025-30472Corosync

    Corosync through 3.1.9, if encryption is disabled or the attacker knows the encryption key, has a stack-based buffer overflow in orf_token_endian_convert in exec/totemsrp.c via a large UDP packet.

  • 7.5 High severity

    QuickJS: Out-of-bounds Write

    CVE-2024-13903Quickjs-ng

    A vulnerability was found in quickjs-ng QuickJS up to 0.8.0. It has been declared as problematic. Affected by this vulnerability is the function JS_GetRuntime of the file quickjs.c of the component qjs. The manipulation leads to stack-based buffer overflow. Th

  • 9.8 Critical severity

    Dell Chassis Management Controller (CMC) for…: Out-of-bounds Write

    CVE-2025-26336Dell

    Dell Chassis Management Controller Firmware for Dell PowerEdge FX2, version(s) prior to 2.40.200.202101130302, and Dell Chassis Management Controller Firmware for Dell PowerEdge VRTX version(s) prior to 3.41.200.202209300499, contain(s) a Stack-based Buffer Ov

  • 7.5 High severity

    Ac6 Firmware: Stack-based Buffer Overflow

    CVE-2025-29121Tenda

    A vulnerability was found in Tenda AC6 V15.03.05.16. The vulnerability affects the functionality of the /goform/fast_setting_wifi_set file form_fast_setting_wifi_set. Using the timeZone parameter causes a stack-based buffer overflow.

  • 8.8 High severity

    LoadMaster: Stack-based Buffer Overflow

    CVE-2025-1758Progress SoftwareEPSS 4.94%

    Improper Input Validation vulnerability in Progress LoadMaster allows : Buffer OverflowThis issue affects: * LoadMaster: 7.2.40.0 and above * ECS: All versions * Multi-Tenancy: 7.1.35.4 and above

  • 9.8 Critical severity

    EX1800T: Out-of-bounds Write

    CVE-2025-2370TOTOLINKEPSS 1.17%

    A vulnerability was found in TOTOLINK EX1800T up to 9.1.0cu.2112_B20220316. It has been declared as critical. Affected by this vulnerability is the function setWiFiExtenderConfig of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument apcliSsid lead

  • 9.8 Critical severity

    EX1800T: Out-of-bounds Write

    CVE-2025-2369TOTOLINKEPSS 1.17%

    A vulnerability was found in TOTOLINK EX1800T up to 9.1.0cu.2112_B20220316. It has been classified as critical. Affected is the function setPasswordCfg of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument admpass leads to stack-based buffer overf

  • 7.1 High severity

    Ac9 Firmware: Out-of-bounds Write

    CVE-2025-29387Tenda

    In Tenda AC9 v1.0 V15.03.05.14_multi, the wanSpeed parameter of /goform/AdvSetMacMtuWan has a stack overflow vulnerability, which can lead to remote arbitrary code execution.

  • 9.8 Critical severity

    Sante PACS Server: Out-of-bounds Write

    CVE-2025-2263SantesoftEPSS 1.19%

    During login to the web server in "Sante PACS Server.exe", OpenSSL function EVP_DecryptUpdate is called to decrypt the username and password. A fixed 0x80-byte stack-based buffer is passed to the function as the output buffer. A stack-based buffer overflow exi

  • 7.8 High severity

    Illustrator: Out-of-bounds Write

    CVE-2025-27168Adobe

    Illustrator versions 29.2.1, 28.7.4 and earlier are affected by a Stack-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

  • 8.8 High severity

    Assimp: Out-of-bounds Write

    CVE-2025-2151Open Asset Import Library

    A vulnerability classified as critical was found in Open Asset Import Library Assimp 5.4.3. This vulnerability affects the function Assimp::GetNextLine in the library ParsingUtils.h of the component File Handler. The manipulation leads to stack-based buffer ov

  • 9.8 Critical severity

    EX1800T: Out-of-bounds Write

    CVE-2025-2097TOTOLINKEPSS 7.21%

    A vulnerability, which was classified as critical, has been found in TOTOLINK EX1800T 9.1.0cu.2112_B20220316. This issue affects the function setRptWizardCfg of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument loginpass leads to stack-based buff

  • 9.1 Critical severity

    HBS 3 Hybrid Backup Sync: Buffer Copy without Checking Size of Input

    CVE-2024-53695QNAP

    A buffer overflow vulnerability has been reported to affect HBS 3 Hybrid Backup Sync. If exploited, the vulnerability could allow remote attackers to modify memory or crash processes. We have already fixed the vulnerability in the following version: HBS 3 Hybr

  • 7.5 High severity

    Exynos 9820 Firmware: Stack-based Buffer Overflow

    CVE-2024-52924Samsung

    An issue was discovered in NRMM in Samsung Mobile Processor, Wearable Processor, and Modem Exynos 9820, 9825, 980, 990, 850, 1080, 2100, 1280, 2200, 1330, 1380, 1480, 2400, 9110, W920, W930, W1000, Modem 5123, Modem 5300, and Modem 5400. Lack of boundary check

  • 9.8 Critical severity

    DAP-1562: Out-of-bounds Write

    CVE-2025-1876D-LinkEPSS 3.55%

    A vulnerability, which was classified as critical, has been found in D-Link DAP-1562 1.10. Affected by this issue is the function http_request_parse of the component HTTP Header Handler. The manipulation of the argument Authorization leads to stack-based buffe

  • 9.8 Critical severity

    AC8: Out-of-bounds Write

    CVE-2025-1853TendaEPSS 1.46%

    A vulnerability was found in Tenda AC8 16.03.34.06 and classified as critical. This issue affects the function sub_49E098 of the file /goform/SetIpMacBind of the component Parameter Handler. The manipulation of the argument list leads to stack-based buffer ove

  • 8.8 High severity

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

    CVE-2025-1851TendaEPSS 1.09%

    A vulnerability, which was classified as critical, was found in Tenda AC7 up to 15.03.06.44. This affects the function formSetFirewallCfg of the file /goform/SetFirewallCfg. The manipulation of the argument firewallEn leads to stack-based buffer overflow. It i

  • 9.8 Critical severity

    AC6: Out-of-bounds Write

    CVE-2025-1814TendaEPSS 1.03%

    A vulnerability, which was classified as critical, has been found in Tenda AC6 15.03.05.16. Affected by this issue is some unknown functionality of the file /goform/WifiExtraSet. The manipulation of the argument wpapsk_crypto leads to stack-based buffer overfl

  • 9.8 Critical severity

    Vigor3912 Firmware: Stack-based Buffer Overflow

    CVE-2024-51138DrayTekEPSS 1.05%

    Vigor165/166 4.2.7 and earlier; Vigor2620/LTE200 3.9.8.9 and earlier; Vigor2860/2925 3.9.8 and earlier; Vigor2862/2926 3.9.9.5 and earlier; Vigor2133/2762/2832 3.9.9 and earlier; Vigor2135/2765/2766 4.4.5. and earlier; Vigor2865/2866/2927 4.4.5.3 and earlier;

  • 9.8 Critical severity

    libmodbus: Out-of-bounds Write

    CVE-2024-10918Libmodbus

    Stack-based Buffer Overflow vulnerability in libmodbus v3.1.10 allows to overflow the buffer allocated for the Modbus response if the function tries to reply to a Modbus request with an unexpected length.

  • 7.8 High severity

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

    CVE-2025-26595Red Hat

    A buffer overflow flaw was found in X.Org and Xwayland. The code in XkbVModMaskText() allocates a fixed-sized buffer on the stack and copies the names of the virtual modifiers to that buffer. The code fails to check the bounds of the buffer and would copy the

  • 8.8 High severity

    FFmpeg: Out-of-bounds Write

    CVE-2025-1594FFmpeg

    A vulnerability, which was classified as critical, was found in FFmpeg up to 7.1. This affects the function ff_aac_search_for_tns of the file libavcodec/aacenc_tns.c of the component AAC Encoder. The manipulation leads to stack-based buffer overflow. It is pos

  • 9.8 Critical severity

    DAP-1320: Out-of-bounds Write

    CVE-2025-1539D-LinkEPSS 1.6%

    A vulnerability, which was classified as critical, has been found in D-Link DAP-1320 1.00. Affected by this issue is the function replace_special_char of the file /storagein.pd-XXXXXX. The manipulation leads to stack-based buffer overflow. The attack may be la

  • 7.7 High severity

    libxml2: Stack-based Buffer Overflow

    CVE-2025-24928Xmlsoft

    libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is similar to CVE-2017-9047.

  • 7.8 High severity

    eScan Antivirus: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-1366MicroWord

    A vulnerability was found in MicroWord eScan Antivirus 7.0.32 on Linux and classified as critical. Affected by this issue is the function strcpy of the component VirusPopUp. The manipulation leads to stack-based buffer overflow. The attack needs to be approach

  • 8.8 High severity

    X18: Out-of-bounds Write

    CVE-2025-1340TOTOLINKEPSS 16.7%

    A vulnerability classified as critical has been found in TOTOLINK X18 9.1.0cu.2024_B20220329. Affected is the function setPasswordCfg of the file /cgi-bin/cstecgi.cgi. The manipulation as part of String leads to stack-based buffer overflow. It is possible to l

  • 9.8 Critical severity

    Certain HP LaserJet Pro, HP LaserJet…: Stack-based Buffer Overflow

    CVE-2025-26507HP

    Certain HP LaserJet Pro, HP LaserJet Enterprise, and HP LaserJet Managed Printers may potentially be vulnerable to Remote Code Execution and Elevation of Privilege when processing a PostScript print job.

  • 9.8 Critical severity

    Certain HP LaserJet Pro, HP LaserJet…: Stack-based Buffer Overflow

    CVE-2025-26506HPEPSS 1.11%

    Certain HP LaserJet Pro, HP LaserJet Enterprise, and HP LaserJet Managed Printers may potentially be vulnerable to Remote Code Execution and Elevation of Privilege when processing a PostScript print job.

  • 8.8 High severity

    Dir-853 Firmware: Stack-based Buffer Overflow

    CVE-2025-25745D-Link

    D-Link DIR-853 A1 FW1.20B07 was discovered to contain a stack-based buffer overflow vulnerability via the Password parameter in the SetQuickVPNSettings module.

  • 7.8 High severity

    Police FIR Record Management System: Out-of-bounds Write

    CVE-2025-1187code-projects

    A vulnerability classified as critical was found in code-projects Police FIR Record Management System 1.0. Affected by this vulnerability is an unknown functionality of the component Delete Record Handler. The manipulation leads to stack-based buffer overflow.

  • 7.8 High severity

    Illustrator: Out-of-bounds Write

    CVE-2025-21163Adobe

    Illustrator versions 29.1, 28.7.3 and earlier are affected by a Stack-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 mu

  • 8.1 High severity

    FortiOS: Stack-based Buffer Overflow

    CVE-2024-35279FortinetEPSS 1.02%

    A stack-based buffer overflow [CWE-121] vulnerability in Fortinet FortiOS version 7.2.4 through 7.2.8 and version 7.4.0 through 7.4.4 allows a remote unauthenticated attacker to execute arbitrary code or commands via crafted UDP packets through the CAPWAP cont

  • 8.8 High severity

    Connect Secure: Stack-based Buffer Overflow

    CVE-2025-22467IvantiEPSS 4.66%

    A stack-based buffer overflow in Ivanti Connect Secure before version 22.7R2.6 allows a remote authenticated attacker to achieve remote code execution.

  • 7.5 High severity

    Vehicle Parking Management System: Out-of-bounds Write

    CVE-2025-1163code-projects

    A vulnerability classified as critical was found in code-projects Vehicle Parking Management System 1.0. This vulnerability affects the function login of the component Authentication. The manipulation of the argument username leads to stack-based buffer overfl