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

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-4238PCMan

    A vulnerability was found in PCMan FTP Server 2.0.7. It has been classified as critical. This affects an unknown part of the component MGET Command Handler. The manipulation leads to buffer overflow. It is possible to initiate the attack remotely. The exploit

  • 9.8 Critical severity

    FTP Server: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-4237PCMan

    A vulnerability was found in PCMan FTP Server 2.0.7 and classified as critical. Affected by this issue is some unknown functionality of the component MDELETE Command Handler. The manipulation leads to buffer overflow. The attack may be launched remotely. The e

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-4236PCMan

    A vulnerability has been found in PCMan FTP Server 2.0.7 and classified as critical. Affected by this vulnerability is an unknown functionality of the component MDIR Command Handler. The manipulation leads to buffer overflow. The attack can be launched remotel

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-4184PCMan

    A vulnerability classified as critical was found in PCMan FTP Server 2.0.7. This vulnerability affects unknown code of the component QUOTE Command Handler. The manipulation leads to buffer overflow. The attack can be initiated remotely. The exploit has been di

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-4183PCMan

    A vulnerability classified as critical has been found in PCMan FTP Server 2.0.7. This affects an unknown part of the component RECV Command Handler. The manipulation leads to buffer overflow. It is possible to initiate the attack remotely. The exploit has been

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-4182PCMan

    A vulnerability was found in PCMan FTP Server 2.0.7. It has been rated as critical. Affected by this issue is some unknown functionality of the component BELL Command Handler. The manipulation leads to buffer overflow. The attack may be launched remotely. The

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-4181PCMan

    A vulnerability was found in PCMan FTP Server 2.0.7. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the component SEND Command Handler. The manipulation leads to buffer overflow. The attack can be launched remot

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-4180PCMan

    A vulnerability was found in PCMan FTP Server 2.0.7. It has been classified as critical. Affected is an unknown function of the component TRACE Command Handler. The manipulation leads to buffer overflow. It is possible to launch the attack remotely. The exploi

  • 9.8 Critical severity

    FTP Server: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-4162PCMan

    A vulnerability classified as critical was found in PCMan FTP Server up to 2.0.7. This vulnerability affects unknown code of the component ASCII Command Handler. The manipulation leads to buffer overflow. The attack can be initiated remotely. The exploit has b

  • 9.8 Critical severity

    FTP Server: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-4161PCMan

    A vulnerability classified as critical has been found in PCMan FTP Server up to 2.0.7. This affects an unknown part of the component VERBOSE Command Handler. The manipulation leads to buffer overflow. It is possible to initiate the attack remotely. The exploit

  • 9.8 Critical severity

    FTP Server: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-4160PCMan

    A vulnerability was found in PCMan FTP Server up to 2.0.7. It has been rated as critical. Affected by this issue is some unknown functionality of the component LS Command Handler. The manipulation leads to buffer overflow. The attack may be launched remotely.

  • 9.8 Critical severity

    FTP Server: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-4159PCMan

    A vulnerability was found in PCMan FTP Server up to 2.0.7. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the component GLOB Command Handler. The manipulation leads to buffer overflow. The attack can be launched

  • 9.8 Critical severity

    FTP Server: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-4158PCMan

    A vulnerability was found in PCMan FTP Server up to 2.0.7. It has been classified as critical. Affected is an unknown function of the component PROMPT Command Handler. The manipulation leads to buffer overflow. It is possible to launch the attack remotely. The

  • 9.8 Critical severity

    EX6200: Buffer Copy without Checking Size of Input

    CVE-2025-4150NETGEAREPSS 1.66%

    A vulnerability was found in Netgear EX6200 1.0.3.94. It has been declared as critical. This vulnerability affects the function sub_54340. The manipulation of the argument host leads to buffer overflow. The attack can be initiated remotely. The vendor was cont

  • 9.8 Critical severity

    EX6200: Buffer Copy without Checking Size of Input

    CVE-2025-4149NETGEAREPSS 1.72%

    A vulnerability was found in Netgear EX6200 1.0.3.94. It has been classified as critical. This affects the function sub_54014. The manipulation of the argument host leads to buffer overflow. It is possible to initiate the attack remotely. The vendor was contac

  • 9.8 Critical severity

    EX6200: Buffer Copy without Checking Size of Input

    CVE-2025-4148NETGEAREPSS 1.72%

    A vulnerability was found in Netgear EX6200 1.0.3.94 and classified as critical. Affected by this issue is the function sub_503FC. The manipulation of the argument host leads to buffer overflow. The attack may be launched remotely. The vendor was contacted ear

  • 9.8 Critical severity

    EX6200: Buffer Copy without Checking Size of Input

    CVE-2025-4147NETGEAREPSS 1.18%

    A vulnerability has been found in Netgear EX6200 1.0.3.94 and classified as critical. Affected by this vulnerability is the function sub_47F7C. The manipulation of the argument host leads to buffer overflow. The attack can be launched remotely. The vendor was

  • 9.8 Critical severity

    EX6200: Buffer Copy without Checking Size of Input

    CVE-2025-4146NETGEAREPSS 1.52%

    A vulnerability, which was classified as critical, was found in Netgear EX6200 1.0.3.94. Affected is the function sub_41940. The manipulation of the argument host leads to buffer overflow. It is possible to launch the attack remotely. The vendor was contacted

  • 9.8 Critical severity

    EX6200: Buffer Copy without Checking Size of Input

    CVE-2025-4145NETGEAREPSS 1.22%

    A vulnerability, which was classified as critical, has been found in Netgear EX6200 1.0.3.94. This issue affects the function sub_3D0BC. The manipulation of the argument host leads to buffer overflow. The attack may be initiated remotely. The vendor was contac

  • 9.8 Critical severity

    EX6200: Buffer Copy without Checking Size of Input

    CVE-2025-4142NETGEAREPSS 1.22%

    A vulnerability has been found in Netgear EX6200 1.0.3.94 and classified as critical. This vulnerability affects the function sub_3C8EC. The manipulation of the argument host leads to buffer overflow. The attack can be initiated remotely. The vendor was contac

  • 9.8 Critical severity

    EX6200: Buffer Copy without Checking Size of Input

    CVE-2025-4141NETGEAREPSS 1.18%

    A vulnerability, which was classified as critical, was found in Netgear EX6200 1.0.3.94. This affects the function sub_3C03C. The manipulation of the argument host leads to buffer overflow. It is possible to initiate the attack remotely. The vendor was contact

  • 9.8 Critical severity

    EX6120: Buffer Copy without Checking Size of Input

    CVE-2025-4140NETGEAREPSS 1.22%

    A vulnerability, which was classified as critical, has been found in Netgear EX6120 1.0.3.94. Affected by this issue is the function sub_30394. The manipulation of the argument host leads to buffer overflow. The attack may be launched remotely. The vendor was

  • 8.8 High severity

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

    CVE-2025-4139NETGEAREPSS 1.17%

    A vulnerability classified as critical was found in Netgear EX6120 1.0.0.68. Affected by this vulnerability is the function fwAcosCgiInbound. The manipulation of the argument host leads to buffer overflow. The attack can be launched remotely. The vendor was co

  • 9.8 Critical severity

    JWNR2000v2: Buffer Copy without Checking Size of Input

    CVE-2025-4120NETGEAREPSS 1.03%

    A vulnerability was found in Netgear JWNR2000v2 1.0.0.11. It has been classified as critical. Affected is the function sub_4238E8. The manipulation of the argument host leads to buffer overflow. It is possible to launch the attack remotely. The vendor was cont

  • 9.8 Critical severity

    JWNR2000v2: Buffer Copy without Checking Size of Input

    CVE-2025-4117NETGEAR

    A vulnerability, which was classified as critical, was found in Netgear JWNR2000v2 1.0.0.11. This affects the function sub_41A914. The manipulation of the argument host leads to buffer overflow. The vendor was contacted early about this disclosure but did not

  • 9.8 Critical severity

    JWNR2000v2: Buffer Copy without Checking Size of Input

    CVE-2025-4116NETGEAREPSS 1.02%

    A vulnerability, which was classified as critical, has been found in Netgear JWNR2000v2 1.0.0.11. Affected by this issue is the function get_cur_lang_ver. The manipulation of the argument host leads to buffer overflow. The attack may be launched remotely. The

  • 9.8 Critical severity

    JWNR2000v2: Buffer Copy without Checking Size of Input

    CVE-2025-4115NETGEAREPSS 1.02%

    A vulnerability classified as critical was found in Netgear JWNR2000v2 1.0.0.11. Affected by this vulnerability is the function default_version_is_new. The manipulation of the argument host leads to buffer overflow. The attack can be launched remotely. The ven

  • 9.8 Critical severity

    JWNR2000v2: Buffer Copy without Checking Size of Input

    CVE-2025-4114NETGEAREPSS 1.12%

    A vulnerability classified as critical has been found in Netgear JWNR2000v2 1.0.0.11. Affected is the function check_language_file. The manipulation of the argument host leads to buffer overflow. It is possible to launch the attack remotely. The vendor was con

  • 9.8 Critical severity

    FTP Server: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-4079PCMan

    A vulnerability, which was classified as critical, was found in PCMan FTP Server up to 2.0.7. Affected is an unknown function of the component RENAME Command Handler. The manipulation leads to buffer overflow. It is possible to launch the attack remotely. The

  • 8.8 High severity

    N150RT: Buffer Copy without Checking Size of Input

    CVE-2025-3993TOTOLINKEPSS 1.06%

    A vulnerability was found in TOTOLINK N150RT 3.4.0-B20190525 and classified as critical. This issue affects some unknown processing of the file /boafrm/formWsc. The manipulation of the argument submit-url leads to buffer overflow. The attack may be initiated r

  • 8.8 High severity

    N150RT: Buffer Copy without Checking Size of Input

    CVE-2025-3992TOTOLINKEPSS 1.06%

    A vulnerability has been found in TOTOLINK N150RT 3.4.0-B20190525 and classified as critical. This vulnerability affects unknown code of the file /boafrm/formWlwds. The manipulation of the argument submit-url leads to buffer overflow. The attack can be initiat

  • 8.8 High severity

    N150RT: Buffer Copy without Checking Size of Input

    CVE-2025-3991TOTOLINKEPSS 1.06%

    A vulnerability, which was classified as critical, was found in TOTOLINK N150RT 3.4.0-B20190525. This affects an unknown part of the file /boafrm/formWdsEncrypt. The manipulation of the argument submit-url leads to buffer overflow. It is possible to initiate t

  • 8.8 High severity

    N150RT: Buffer Copy without Checking Size of Input

    CVE-2025-3990TOTOLINKEPSS 1.06%

    A vulnerability, which was classified as critical, has been found in TOTOLINK N150RT 3.4.0-B20190525. Affected by this issue is some unknown functionality of the file /boafrm/formVlan. The manipulation of the argument submit-url leads to buffer overflow. The a

  • 8.8 High severity

    N150RT: Buffer Copy without Checking Size of Input

    CVE-2025-3989TOTOLINKEPSS 1.06%

    A vulnerability classified as critical was found in TOTOLINK N150RT 3.4.0-B20190525. Affected by this vulnerability is an unknown functionality of the file /boafrm/formStaticDHCP. The manipulation of the argument Hostname leads to buffer overflow. The attack c

  • 8.8 High severity

    N150RT: Buffer Copy without Checking Size of Input

    CVE-2025-3988TOTOLINKEPSS 1.46%

    A vulnerability classified as critical has been found in TOTOLINK N150RT 3.4.0-B20190525. Affected is an unknown function of the file /boafrm/formPortFw. The manipulation of the argument service_type leads to buffer overflow. It is possible to launch the attac

  • 8.0 High severity

    GL-A1300 Slate Plus: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-2851GL.iNet

    A vulnerability classified as critical has been found in GL.iNet GL-A1300 Slate Plus, GL-AR300M16 Shadow, GL-AR300M Shadow, GL-AR750 Creta, GL-AR750S-EXT Slate, GL-AX1800 Flint, GL-AXT1800 Slate AX, GL-B1300 Convexa-B, GL-B3000 Marble, GL-BE3600 Slate 7, GL-E7

  • 7.7 High severity

    RM5110: Buffer Copy without Checking Size of Input

    CVE-2024-6199ViaSat

    An unauthenticated attacker on the WAN interface, with the ability to intercept Dynamic DNS (DDNS) traffic between DDNS services and the modem, could manipulate specific responses to include code that forces a buffer overflow on the modem. Customers that have

  • 7.7 High severity

    RM4100: Buffer Copy without Checking Size of Input

    CVE-2024-6198ViaSat

    The device exposes a web interface on ports TCP/3030 and TCP/9882. This web service runs lighttpd, which implements the “SNORE” interface. This interface is affected by a stack buffer overflow vulnerability due to insecure path parsing. An attacker with access

  • 7.3 High severity

    A830r Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-28028TOTOLINK

    TOTOLINK A830R V4.1.2cu.5182_B20201102, A950RG V4.1.2cu.5161_B20200903, A3000RU V5.9c.5185_B20201128, and A3100R V4.1.2cu.5247_B20211129 were found to contain a buffer overflow vulnerability in downloadFile.cgi through the v5 parameter.

  • 7.3 High severity

    A830r Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-28025TOTOLINK

    TOTOLINK A830R V4.1.2cu.5182_B20201102, A950RG V4.1.2cu.5161_B20200903, A3000RU V5.9c.5185_B20201128, and A3100R V4.1.2cu.5247_B20211129 were found to contain a buffer overflow vulnerability in downloadFile.cgi through the v14 parameter.