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

  • 8.8 High severity

    i21: Out-of-bounds Write

    CVE-2024-4251TendaEPSS 1.35%

    A vulnerability was found in Tenda i21 1.0.0.14(4656). It has been rated as critical. Affected by this issue is the function fromDhcpSetSer of the file /goform/DhcpSetSe. The manipulation of the argument dhcpStartIp/dhcpEndIp/dhcpGw/dhcpMask/dhcpLeaseTime/dhcp

  • 8.8 High severity

    i21: Out-of-bounds Write

    CVE-2024-4250TendaEPSS 1.35%

    A vulnerability was found in Tenda i21 1.0.0.14(4656). It has been declared as critical. Affected by this vulnerability is the function formwrlSSIDset of the file /goform/wifiSSIDset. The manipulation of the argument ssidIndex leads to stack-based buffer overf

  • 8.8 High severity

    i21: Out-of-bounds Write

    CVE-2024-4249TendaEPSS 1.35%

    A vulnerability was found in Tenda i21 1.0.0.14(4656). It has been classified as critical. Affected is the function formwrlSSIDget of the file /goform/wifiSSIDget. The manipulation of the argument ssidIndex leads to stack-based buffer overflow. It is possible

  • 8.8 High severity

    i21: Out-of-bounds Write

    CVE-2024-4248TendaEPSS 1.35%

    A vulnerability was found in Tenda i21 1.0.0.14(4656) and classified as critical. This issue affects the function formQosManage_user. The manipulation of the argument ssidIndex leads to stack-based buffer overflow. The attack may be initiated remotely. The ass

  • 8.8 High severity

    i21: Out-of-bounds Write

    CVE-2024-4247TendaEPSS 1.45%

    A vulnerability has been found in Tenda i21 1.0.0.14(4656) and classified as critical. This vulnerability affects the function formQosManage_auto. The manipulation of the argument ssidIndex leads to stack-based buffer overflow. The attack can be initiated remo

  • 8.8 High severity

    i21: Out-of-bounds Write

    CVE-2024-4246TendaEPSS 1.35%

    A vulnerability, which was classified as critical, was found in Tenda i21 1.0.0.14(4656). This affects the function formQosManageDouble_auto. The manipulation of the argument ssidIndex leads to stack-based buffer overflow. It is possible to initiate the attack

  • 8.8 High severity

    i21: Out-of-bounds Write

    CVE-2024-4245TendaEPSS 1.35%

    A vulnerability, which was classified as critical, has been found in Tenda i21 1.0.0.14(4656). Affected by this issue is the function formQosManageDouble_user. The manipulation of the argument ssidIndex leads to stack-based buffer overflow. The attack may be l

  • 8.8 High severity

    W9: Out-of-bounds Write

    CVE-2024-4244TendaEPSS 1.35%

    A vulnerability classified as critical was found in Tenda W9 1.0.0.7(4456). Affected by this vulnerability is the function fromDhcpSetSer of the file /goform/DhcpSetSer. The manipulation of the argument dhcpStartIp/dhcpEndIp/dhcpGw/dhcpMask/dhcpLeaseTime/dhcpD

  • 8.8 High severity

    W9: Out-of-bounds Write

    CVE-2024-4243TendaEPSS 1.35%

    A vulnerability classified as critical has been found in Tenda W9 1.0.0.7(4456). Affected is the function formwrlSSIDset of the file /goform/wifiSSIDset. The manipulation of the argument ssidIndex leads to stack-based buffer overflow. It is possible to launch

  • 8.8 High severity

    W9: Out-of-bounds Write

    CVE-2024-4242TendaEPSS 1.35%

    A vulnerability was found in Tenda W9 1.0.0.7(4456). It has been rated as critical. This issue affects the function formwrlSSIDget of the file /goform/wifiSSIDget. The manipulation of the argument ssidIndex leads to stack-based buffer overflow. The attack may

  • 8.8 High severity

    W9: Out-of-bounds Write

    CVE-2024-4241TendaEPSS 1.35%

    A vulnerability was found in Tenda W9 1.0.0.7(4456). It has been declared as critical. This vulnerability affects the function formQosManageDouble_auto. The manipulation of the argument ssidIndex leads to stack-based buffer overflow. The attack can be initiate

  • 8.8 High severity

    W9: Out-of-bounds Write

    CVE-2024-4240TendaEPSS 1.45%

    A vulnerability was found in Tenda W9 1.0.0.7(4456). It has been classified as critical. This affects the function formQosManageDouble_user. The manipulation of the argument ssidIndex leads to stack-based buffer overflow. It is possible to initiate the attack

  • 8.8 High severity

    AX1806: Out-of-bounds Write

    CVE-2024-4239TendaEPSS 1.45%

    A vulnerability was found in Tenda AX1806 1.0.0.1 and classified as critical. Affected by this issue is the function formSetRebootTimer of the file /goform/SetRebootTimer. The manipulation of the argument rebootTime leads to stack-based buffer overflow. The at

  • 8.8 High severity

    AX1806: Out-of-bounds Write

    CVE-2024-4238TendaEPSS 1.45%

    A vulnerability has been found in Tenda AX1806 1.0.0.1 and classified as critical. Affected by this vulnerability is the function formSetDeviceName of the file /goform/SetOnlineDevName. The manipulation of the argument devName leads to stack-based buffer overf

  • 8.8 High severity

    AX1806: Out-of-bounds Write

    CVE-2024-4237TendaEPSS 1.45%

    A vulnerability, which was classified as critical, was found in Tenda AX1806 1.0.0.1. Affected is the function R7WebsSecurityHandler of the file /goform/execCommand. The manipulation of the argument password leads to stack-based buffer overflow. It is possible

  • 8.8 High severity

    AX1803: Out-of-bounds Write

    CVE-2024-4236TendaEPSS 14.9%

    A vulnerability, which was classified as critical, has been found in Tenda AX1803 1.0.0.1. This issue affects the function formSetSysToolDDNS of the file /goform/SetDDNSCfg. The manipulation of the argument serverName/ddnsUser/ddnsPwd/ddnsDomain leads to stack

  • 8.8 High severity

    QTS: Buffer Copy without Checking Size of Input

    CVE-2023-50362QNAP

    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 users to execute code via a network. We have already fixed the vulnerabilit

  • 8.8 High severity

    QTS: Buffer Copy without Checking Size of Input

    CVE-2023-50361QNAP

    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 users to execute code via a network. We have already fixed the vulnerabilit

  • 8.9 High severity

    XRN-420S: Stack-based Buffer Overflow

    CVE-2023-6116Hanwha Vision

    Team ENVY, a Security Research TEAM has found a flaw that allows for a remote code execution on the camera. An attacker could inject malicious into http request packets to execute arbitrary code. The manufacturer has released patch firmware for the flaw, pleas

  • 8.9 High severity

    HRX-1620: Stack-based Buffer Overflow

    CVE-2023-6095Hanwha Vision

    Vladimir Kononovich, a Security Researcher has found a flaw that allows for a remote code execution on the DVR. An attacker could inject malicious HTTP headers into request packets to execute arbitrary code. The manufacturer has released patch firmware for the

  • 8.8 High severity

    W30E: Stack-based Buffer Overflow

    CVE-2024-4171TendaEPSS 1.36%

    A vulnerability classified as critical has been found in Tenda W30E 1.0/1.0.1.25. Affected is the function fromWizardHandle of the file /goform/WizardHandle. The manipulation of the argument PPW leads to stack-based buffer overflow. It is possible to launch th

  • 8.8 High severity

    4G300: Out-of-bounds Write

    CVE-2024-4170TendaEPSS 1.68%

    A vulnerability was found in Tenda 4G300 1.01.42. It has been rated as critical. This issue affects the function sub_429A30. The manipulation of the argument list1 leads to stack-based buffer overflow. The attack may be initiated remotely. The identifier VDB-2

  • 8.8 High severity

    4G300: Out-of-bounds Write

    CVE-2024-4169TendaEPSS 1.75%

    A vulnerability was found in Tenda 4G300 1.01.42. It has been declared as critical. This vulnerability affects the function sub_42775C/sub_4279CC. The manipulation of the argument page leads to stack-based buffer overflow. The attack can be initiated remotely.

  • 8.8 High severity

    4G300: Out-of-bounds Write

    CVE-2024-4168TendaEPSS 1.75%

    A vulnerability was found in Tenda 4G300 1.01.42. It has been classified as critical. This affects the function sub_4260F0. The manipulation of the argument upfilen leads to stack-based buffer overflow. It is possible to initiate the attack remotely. The assoc

  • 8.8 High severity

    4G300: Out-of-bounds Write

    CVE-2024-4167TendaEPSS 1.77%

    A vulnerability was found in Tenda 4G300 1.01.42 and classified as critical. Affected by this issue is the function sub_422AA4. The manipulation of the argument year/month/day/hour/minute/second leads to stack-based buffer overflow. The attack may be launched

  • 8.8 High severity

    4G300: Out-of-bounds Write

    CVE-2024-4166TendaEPSS 1.75%

    A vulnerability has been found in Tenda 4G300 1.01.42 and classified as critical. Affected by this vulnerability is the function sub_41E858. The manipulation of the argument GO/page leads to stack-based buffer overflow. The attack can be launched remotely. The

  • 9.8 Critical severity

    G3: Out-of-bounds Write

    CVE-2024-4165TendaEPSS 1.46%

    A vulnerability, which was classified as critical, was found in Tenda G3 15.11.0.17(9502). Affected is the function modifyDhcpRule of the file /goform/modifyDhcpRule. The manipulation of the argument bindDhcpIndex leads to stack-based buffer overflow. It is po

  • 9.8 Critical severity

    G3: Out-of-bounds Write

    CVE-2024-4164TendaEPSS 1.46%

    A vulnerability, which was classified as critical, has been found in Tenda G3 15.11.0.17(9502). This issue affects the function formModifyPppAuthWhiteMac of the file /goform/ModifyPppAuthWhiteMac. The manipulation of the argument pppoeServerWhiteMacIndex leads

  • 8.8 High severity

    W15E: Out-of-bounds Write

    CVE-2024-4127TendaEPSS 1.76%

    A vulnerability was found in Tenda W15E 15.11.0.14. It has been classified as critical. Affected is the function guestWifiRuleRefresh. The manipulation of the argument qosGuestDownstream leads to stack-based buffer overflow. It is possible to launch the attack

  • 8.8 High severity

    W15E: Out-of-bounds Write

    CVE-2024-4126TendaEPSS 1.76%

    A vulnerability was found in Tenda W15E 15.11.0.14 and classified as critical. This issue affects the function formSetSysTime of the file /goform/SetSysTimeCfg. The manipulation of the argument manualTime leads to stack-based buffer overflow. The attack may be

  • 8.8 High severity

    W15E: Out-of-bounds Write

    CVE-2024-4125TendaEPSS 1.76%

    A vulnerability has been found in Tenda W15E 15.11.0.14 and classified as critical. This vulnerability affects the function formSetStaticRoute of the file /goform/setStaticRoute. The manipulation of the argument staticRouteIndex leads to stack-based buffer ove

  • 8.8 High severity

    W15E: Out-of-bounds Write

    CVE-2024-4124TendaEPSS 1.68%

    A vulnerability, which was classified as critical, was found in Tenda W15E 15.11.0.14. This affects the function formSetRemoteWebManage of the file /goform/SetRemoteWebManage. The manipulation of the argument remoteIP leads to stack-based buffer overflow. It i

  • 8.8 High severity

    W15E: Out-of-bounds Write

    CVE-2024-4123TendaEPSS 1.68%

    A vulnerability, which was classified as critical, has been found in Tenda W15E 15.11.0.14. Affected by this issue is the function formSetPortMapping of the file /goform/SetPortMapping. The manipulation of the argument portMappingServer/portMappingProtocol/por

  • 8.8 High severity

    W15E: Out-of-bounds Write

    CVE-2024-4122TendaEPSS 1.68%

    A vulnerability classified as critical was found in Tenda W15E 15.11.0.14. Affected by this vulnerability is the function formSetDebugCfg of the file /goform/setDebugCfg. The manipulation of the argument enable/level/module leads to stack-based buffer overflow

  • 8.8 High severity

    W15E: Out-of-bounds Write

    CVE-2024-4121TendaEPSS 1.68%

    A vulnerability classified as critical has been found in Tenda W15E 15.11.0.14. Affected is the function formQOSRuleDel. The manipulation of the argument qosIndex leads to stack-based buffer overflow. It is possible to launch the attack remotely. The identifie

  • 8.8 High severity

    W15E: Out-of-bounds Write

    CVE-2024-4120TendaEPSS 1.68%

    A vulnerability was found in Tenda W15E 15.11.0.14. It has been rated as critical. This issue affects the function formIPMacBindModify of the file /goform/modifyIpMacBind. The manipulation of the argument IPMacBindRuleId/IPMacBindRuleIp/IPMacBindRuleMac/IPMacB

  • 8.8 High severity

    W15E: Out-of-bounds Write

    CVE-2024-4119TendaEPSS 1.68%

    A vulnerability was found in Tenda W15E 15.11.0.14. It has been declared as critical. This vulnerability affects the function formIPMacBindDel of the file /goform/delIpMacBind. The manipulation of the argument IPMacBindIndex leads to stack-based buffer overflo

  • 8.8 High severity

    W15E: Out-of-bounds Write

    CVE-2024-4118TendaEPSS 1.68%

    A vulnerability was found in Tenda W15E 15.11.0.14. It has been classified as critical. This affects the function formIPMacBindAdd of the file /goform/addIpMacBind. The manipulation of the argument IPMacBindRule leads to stack-based buffer overflow. It is poss

  • 8.8 High severity

    W15E: Out-of-bounds Write

    CVE-2024-4117TendaEPSS 1.68%

    A vulnerability was found in Tenda W15E 15.11.0.14 and classified as critical. Affected by this issue is the function formDelPortMapping of the file /goform/DelPortMapping. The manipulation of the argument portMappingIndex leads to stack-based buffer overflow.

  • 8.8 High severity

    W15E: Out-of-bounds Write

    CVE-2024-4116TendaEPSS 1.68%

    A vulnerability has been found in Tenda W15E 15.11.0.14 and classified as critical. Affected by this vulnerability is the function formDelDhcpRule of the file /goform/DelDhcpRule. The manipulation of the argument delDhcpIndex leads to stack-based buffer overfl