CyberSecBulletin

Buffer Copy without Checking Size of Input

CWE-120

The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.

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

How this weakness is prevented

  • Requirements: Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
  • Architecture and Design: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega, and the Strsafe.h library from Microsoft. These libraries provide safer versions of overflow-prone string-handling functions.
  • 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: For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
  • Operation: Use a CPU and operating system that offers Data Execution Protection (using hardware NX or XD bits) or the equivalent techniques that simulate this feature in software, such as PaX. These techniques ensure that any instruction executed is exclusively at a memory address that is part of the code segment. For more information on these techniques see D3-PSEP (Process Segment Execution Prevention) from D3FEND.

Latest Buffer Copy without Checking Size of Input vulnerabilities

  • 8.8 High severity

    1200GW: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-10169UTTEPSS 8.35%

    A weakness has been identified in UTT 1200GW up to 3.0.0-170831. Affected by this issue is some unknown functionality of the file /goform/ConfigWirelessBase. This manipulation of the argument ssid causes buffer overflow. The attack may be initiated remotely. T

  • 8.8 High severity

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

    CVE-2025-10120Tenda

    A vulnerability was detected in Tenda AC20 up to 16.03.08.12. The impacted element is the function strcpy of the file /goform/GetParentControlInfo. The manipulation of the argument mac results in buffer overflow. The attack may be performed from remote. The ex

  • 7.8 High severity

    Linux: Buffer Copy without Checking Size of Input

    CVE-2025-39727Linux

    In the Linux kernel, the following vulnerability has been resolved: mm: swap: fix potential buffer overflow in setup_clusters() In setup_swap_map(), we only ensure badpages are in range (0, last_page]. As maxpages might be < last_page, setup_clusters() will en

  • 9.8 Critical severity

    DIR-825: Buffer Copy without Checking Size of Input

    CVE-2025-10034D-LinkEPSS 1.05%

    A vulnerability was found in D-Link DIR-825 1.08.01. This impacts the function get_ping6_app_stat of the file ping6_response.cg of the component httpd. Performing manipulation of the argument ping6_ipaddr results in buffer overflow. It is possible to initiate

  • 8.6 High severity

    AX10 V1/V1.2/V2/V2.6/V3/V3.6: Buffer Copy without Checking Size of Input

    CVE-2025-9961TP-LinkEPSS 11.5%

    An authenticated attacker may remotely execute arbitrary code via the CWMP binary on the devices AX10 and AX1500. The exploit can only be conducted via a Man-In-The-Middle (MITM) attack. This issue affects AX10 V1/V1.2/V2/V2.6/V3/V3.6: before 1.2.1; AX1500 V1/

  • 8.8 High severity

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

    CVE-2025-9813Tenda

    A vulnerability was identified in Tenda CH22 1.0.0.1. This issue affects the function formSetSambaConf of the file /goform/SetSambaConf. The manipulation of the argument samba_userNameSda leads to buffer overflow. It is possible to initiate the attack remotely

  • 8.8 High severity

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

    CVE-2025-9812Tenda

    A vulnerability was determined in Tenda CH22 1.0.0.1. This vulnerability affects the function formexeCommand of the file /goform/exeCommand. Executing manipulation of the argument cmdinput can lead to buffer overflow. The attack may be performed from remote. T

  • 8.8 High severity

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

    CVE-2025-9783TOTOLINK

    A vulnerability was determined in TOTOLINK A702R 4.0.0-B20211108.1423. This issue affects the function sub_418030 of the file /boafrm/formParentControl. Executing manipulation of the argument submit-url can lead to buffer overflow. The attack may be launched r

  • 8.8 High severity

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

    CVE-2025-9782TOTOLINK

    A vulnerability was found in TOTOLINK A702R 4.0.0-B20211108.1423. This vulnerability affects the function sub_4466F8 of the file /boafrm/formOneKeyAccessButton. Performing manipulation of the argument submit-url results in buffer overflow. The attack may be in

  • 8.8 High severity

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

    CVE-2025-9781TOTOLINK

    A vulnerability has been found in TOTOLINK A702R 4.0.0-B20211108.1423. This affects the function sub_4162DC of the file /boafrm/formFilter. Such manipulation of the argument ip6addr leads to buffer overflow. The attack can be launched remotely. The exploit has

  • 8.8 High severity

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

    CVE-2025-9780TOTOLINK

    A flaw has been found in TOTOLINK A702R 4.0.0-B20211108.1423. Affected by this issue is the function sub_419BE0 of the file /boafrm/formIpQoS. This manipulation of the argument mac causes buffer overflow. The attack can be initiated remotely. The exploit has b

  • 8.8 High severity

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

    CVE-2025-9779TOTOLINK

    A vulnerability was detected in TOTOLINK A702R 4.0.0-B20211108.1423. Affected by this vulnerability is the function sub_4162DC of the file /boafrm/formFilter. The manipulation of the argument ip6addr results in buffer overflow. It is possible to launch the att

  • 8.8 High severity

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

    CVE-2025-9443Tenda

    A flaw has been found in Tenda CH22 1.0.0.1. This vulnerability affects the function formeditUserName of the file /goform/editUserName. Executing manipulation of the argument new_account can lead to buffer overflow. It is possible to launch the attack remotely

  • 7.0 High severity

    Di-8100 Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-51281D-Link

    D-Link DI-8100 16.07.26A1 is vulnerable to Buffer Overflow via the en`, `val and id parameters in the qj_asp function. This vulnerability allows authenticated attackers to cause a Denial of Service (DoS) by sending crafted GET requests with overly long values

  • 9.8 Critical severity

    A720R: Buffer Copy without Checking Size of Input

    CVE-2025-9303TOTOLINK

    A security flaw has been discovered in TOTOLINK A720R 4.1.5cu.630_B20250509. This issue affects the function setParentalRules of the file /cgi-bin/cstecgi.cgi. Performing manipulation of the argument desc results in buffer overflow. The attack is possible to b

  • 8.8 High severity

    esp-idf: Buffer Copy without Checking Size of Input

    CVE-2025-55297Espressif

    ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. The BluFi example bundled in ESP-IDF was vulnerable to memory overflows in two areas: Wi-Fi credential handling and Diffie–Hellman key exchange. This vulnerability is fixed in 5.4.1, 5.3.

  • 7.8 High severity

    AutoCAD: Buffer Copy without Checking Size of Input

    CVE-2025-5048Autodesk

    A maliciously crafted DGN file, when linked or imported into Autodesk AutoCAD, can force a Memory Corruption vulnerability. A malicious actor can leverage this vulnerability to execute arbitrary code in the context of the current process.

  • 8.8 High severity

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

    CVE-2025-9023Tenda

    A vulnerability has been found in Tenda AC7 and AC18 15.03.05.19/15.03.06.44. Affected is the function formSetSchedLed of the file /goform/SetLEDCfg. The manipulation of the argument Time leads to buffer overflow. It is possible to launch the attack remotely.

  • 8.8 High severity

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

    CVE-2025-9007Tenda

    A vulnerability has been found in Tenda CH22 1.0.0.1. Affected by this issue is the function formeditFileName of the file /goform/editFileName. The manipulation leads to buffer overflow. The attack may be launched remotely. The exploit has been disclosed to th

  • 8.8 High severity

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

    CVE-2025-9006TendaEPSS 1.14%

    A vulnerability was identified in Tenda CH22 1.0.0.1. Affected by this vulnerability is the function formdelFileName of the file /goform/delFileName. The manipulation leads to buffer overflow. The attack can be launched remotely. The exploit has been disclosed

  • 8.6 High severity

    Cisco Firepower Threat Defense Software: Buffer Copy without Checking Size of Input

    CVE-2025-20222Cisco

    A vulnerability in the RADIUS proxy feature for the IPsec VPN feature of Cisco Secure Firewall Adaptive Security Appliance (ASA) Software and Cisco Secure Firewall Threat Defense (FTD) Software could allow an unauthenticated, remote attacker to cause a denial

  • 8.8 High severity

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

    CVE-2025-8940Tenda

    A vulnerability was identified in Tenda AC20 up to 16.03.08.12. Affected by this vulnerability is the function strcpy of the file /goform/saveParentControlInfo. The manipulation of the argument Time leads to buffer overflow. The attack can be launched remotely

  • 8.8 High severity

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

    CVE-2025-8939TendaEPSS 1.03%

    A vulnerability was determined in Tenda AC20 up to 16.03.08.12. Affected is an unknown function of the file /goform/WifiGuestSet. The manipulation of the argument shareSpeed leads to buffer overflow. It is possible to launch the attack remotely. The exploit ha

  • 7.5 High severity

    Wf2880 Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-50616Netis-systems

    A buffer overflow vulnerability has been discovered in Netis WF2880 v2.1.40207 in the FUN_0046f984 function of the cgitest.cgi file. Attackers can trigger this vulnerability by controlling the value of wl_advanced_set in the payload, which can cause the progra

  • 7.5 High severity

    Wf2880 Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-50614Netis-systems

    A buffer overflow vulnerability has been discovered in the Netis WF2880 v2.1.40207 in the FUN_0047151c function of the cgitest.cgi file. Attackers can trigger this vulnerability by controlling the value of wds_set in the payload, which can cause the program to

  • 7.5 High severity

    Wf2880 Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-50613Netis-systems

    A buffer overflow vulnerability has been discovered in Netis WF2880 v2.1.40207 in the FUN_00475e1c function of the cgitest.cgi file. Attackers can trigger this vulnerability by controlling the value of wds_key_wep in the payload, which can cause the program to

  • 7.5 High severity

    Wf2880 Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-50612Netis-systems

    A buffer overflow vulnerability has been discovered in the Netis WF2880 v2.1.40207 in the FUN_004743f8 function of the cgitest.cgi file. Attackers can trigger this vulnerability by controlling the value of wl_sec_set in the payload, which may cause the program

  • 7.5 High severity

    Wf2880 Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-50611Netis-systems

    A buffer overflow vulnerability has been discovered in Netis WF2880 v2.1.40207 in the FUN_00473154 function of the cgitest.cgi file. Attackers can trigger this vulnerability by controlling the value of wl_sec_set_5g and wl_sec_rp_set_5g in the payload, which c

  • 7.5 High severity

    Wf2880 Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-50610Netis-systems

    A buffer overflow vulnerability has been discovered in Netis WF2880 v2.1.40207 in the FUN_00476598 function of the cgitest.cgi file. Attackers can trigger this vulnerability by controlling the value of wl_base_set_5g in the payload, which can cause the program

  • 7.5 High severity

    Wf2880 Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-50609Netis-systems

    A buffer overflow vulnerability has been discovered in Netis WF2880 v2.1.40207 in the Function_00465620 of the cgitest.cgi file. Attackers can trigger this vulnerability by controlling the value of specify_parame in the payload, which can cause the program to

  • 7.5 High severity

    Wf2880 Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-50608Netis-systems

    A buffer overflow vulnerability has been discovered in Netis WF2880 v2.1.40207 in the FUN_00471994 function of the cgitest.cgi file. Attackers can trigger this vulnerability by controlling the value of wl_base_set in the payload, which can cause the program to

  • 9.8 Critical severity

    2K+: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-8760INSTAR

    A vulnerability was identified in INSTAR 2K+ and 4K 3.11.1 Build 1124. This affects the function base64_decode of the component fcgi_server. The manipulation of the argument Authorization leads to buffer overflow. It is possible to initiate the attack remotely

  • 9.8 Critical severity

    bullet3: Out-of-bounds Write

    CVE-2025-8854Bulletphysics

    Stack-based buffer overflow in LoadOFF in bulletphysics bullet3 before 3.26 on all platforms allows remote attackers to execute arbitrary code via a crafted OFF file with an overlong initial token processed by the VHACD test utility or invoked indirectly throu

  • 7.8 High severity

    3ds Max: Buffer Copy without Checking Size of Input

    CVE-2025-6634Autodesk

    A maliciously crafted TGA file, when linked or imported into Autodesk 3ds Max, can force a Memory Corruption vulnerability. A malicious actor can leverage this vulnerability to execute arbitrary code in the context of the current process.

  • 8.8 High severity

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

    CVE-2025-43214AppleEPSS 1.09%

    The issue was addressed with improved memory handling. This issue is fixed in Safari 18.6, iOS 18.6 and iPadOS 18.6, macOS Sequoia 15.6, tvOS 18.6, visionOS 2.6, watchOS 11.6. Processing maliciously crafted web content may lead to an unexpected Safari crash.

  • 8.8 High severity

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

    CVE-2025-43213Apple

    The issue was addressed with improved memory handling. This issue is fixed in Safari 18.6, iOS 18.6 and iPadOS 18.6, macOS Sequoia 15.6, tvOS 18.6, visionOS 2.6, watchOS 11.6. Processing maliciously crafted web content may lead to an unexpected Safari crash.

  • 8.8 High severity

    Apple Multiple Products Buffer Overflow Exploited

    CVE-2025-31277AppleEPSS 1.68%

    The issue was addressed with improved memory handling. This issue is fixed in Safari 18.6, iOS 18.6 and iPadOS 18.6, macOS Sequoia 15.6, tvOS 18.6, visionOS 2.6, watchOS 11.6. Processing maliciously crafted web content may lead to memory corruption.

  • 7.8 High severity

    Shared Components: Buffer Copy without Checking Size of Input

    CVE-2025-5038Autodesk

    A maliciously crafted X_T file, when parsed through certain Autodesk products, can force a Memory Corruption vulnerability. A malicious actor can leverage this vulnerability to execute arbitrary code in the context of the current process.

  • 7.5 High severity

    TL-WR841N V11: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-53713TP-Link

    A vulnerability has been found in TP-Link TL-WR841N V11. The vulnerability exists in the /userRpm/WlanNetworkRpm_APC.htm file due to missing input parameter validation, which may lead to the buffer overflow to cause a crash of the web service and result in a d

  • 7.5 High severity

    TL-WR841N V11: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-53712TP-Link

    A vulnerability has been found in TP-Link TL-WR841N V11. The vulnerability exists in the /userRpm/WlanNetworkRpm_AP.htm file due to missing input parameter validation, which may lead to the buffer overflow to cause a crash of the web service and result in a de