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

  • 7.8 High severity

    Sandboxie: Buffer Copy without Checking Size of Input

    CVE-2025-46714Sandboxie-plus

    Sandboxie is a sandbox-based isolation software for 32-bit and 64-bit Windows NT-based operating systems. Starting in version 1.3.0 and prior to 1.15.12, API_GET_SECURE_PARAM has an arithmetic overflow leading to a small memory allocation and then a extremely

  • 7.8 High severity

    Sandboxie: Buffer Copy without Checking Size of Input

    CVE-2025-46713Sandboxie-plus

    Sandboxie is a sandbox-based isolation software for 32-bit and 64-bit Windows NT-based operating systems. Starting in version 0.0.1 and prior to 1.15.12, API_SET_SECURE_PARAM may have an arithmetic overflow deep in the memory allocation subsystem that would le

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-5074FreeFloat

    A vulnerability, which was classified as critical, was found in FreeFloat FTP Server 1.0. 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 expl

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-5073FreeFloat

    A vulnerability, which was classified as critical, has been found in FreeFloat FTP Server 1.0. This issue affects some unknown processing of the component MKDIR Command Handler. The manipulation leads to buffer overflow. The attack may be initiated remotely. T

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-5053FreeFloat

    A vulnerability, which was classified as critical, has been found in FreeFloat FTP Server 1.0. Affected by this issue is some unknown functionality of the component MDIR Command Handler. The manipulation leads to buffer overflow. The attack may be launched rem

  • 9.8 Critical severity

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

    CVE-2025-5052FreeFloat

    A vulnerability classified as critical was found in FreeFloat FTP Server 1.0. Affected by this vulnerability is an unknown functionality of the component LS Command Handler. The manipulation leads to buffer overflow. The attack can be launched remotely. The ex

  • 9.8 Critical severity

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

    CVE-2025-5051FreeFloat

    A vulnerability classified as critical has been found in FreeFloat FTP Server 1.0. Affected is an unknown function of the component BINARY Command Handler. The manipulation leads to buffer overflow. It is possible to launch the attack remotely. The exploit has

  • 9.8 Critical severity

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

    CVE-2025-5050FreeFloat

    A vulnerability was found in FreeFloat FTP Server 1.0. It has been rated as critical. This issue affects some unknown processing of the component BELL Command Handler. The manipulation leads to buffer overflow. The attack may be initiated remotely. The exploit

  • 9.8 Critical severity

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

    CVE-2025-5049FreeFloat

    A vulnerability was found in FreeFloat FTP Server 1.0. It has been declared as critical. This vulnerability affects unknown code of the component APPEND Command Handler. The manipulation leads to buffer overflow. The attack can be initiated remotely. The explo

  • 7.8 High severity

    Linux: Buffer Copy without Checking Size of Input

    CVE-2025-37891Linux

    In the Linux kernel, the following vulnerability has been resolved: ALSA: ump: Fix buffer overflow at UMP SysEx message conversion The conversion function from MIDI 1.0 to UMP packet contains an internal buffer to keep the incoming MIDI bytes, and its size is

  • 7.5 High severity

    A15: Buffer Copy without Checking Size of Input

    CVE-2025-4897TendaEPSS 7.22%

    A vulnerability was found in Tenda A15 15.13.07.09/15.13.07.13. It has been classified as critical. This affects an unknown part of the file /goform/multimodalAdd of the component HTTP POST Request Handler. The manipulation leads to buffer overflow. It is poss

  • 7.5 High severity

    AC10: Buffer Copy without Checking Size of Input

    CVE-2025-4896Tenda

    A vulnerability was found in Tenda AC10 16.03.10.13 and classified as critical. Affected by this issue is some unknown functionality of the file /goform/UserCongratulationsExec. The manipulation of the argument getuid leads to buffer overflow. The attack may b

  • 7.8 High severity

    Police Station Management System: Buffer Copy without Checking Size of Input

    CVE-2025-4891code-projects

    A vulnerability was found in code-projects Police Station Management System 1.0. It has been classified as critical. Affected is the function criminal::display of the file source.cpp of the component Display Record. The manipulation of the argument N leads to

  • 7.8 High severity

    Tourism Management System: Buffer Copy without Checking Size of Input

    CVE-2025-4889code-projects

    A vulnerability has been found in code-projects Tourism Management System 1.0 and classified as critical. This vulnerability affects the function AddUser of the component User Registration. The manipulation of the argument username/password leads to buffer ove

  • 7.8 High severity

    Pharmacy Management System: Buffer Copy without Checking Size of Input

    CVE-2025-4888code-projects

    A vulnerability, which was classified as critical, was found in code-projects Pharmacy Management System 1.0. This affects the function medicineType::take_order of the component Add Order Details. The manipulation leads to buffer overflow. An attack has to be

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-4872FreeFloat

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

  • 9.8 Critical severity

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

    CVE-2025-4871PCManEPSS 1.73%

    A vulnerability, which was classified as critical, has been found in PCMan FTP Server 2.0.7. This issue affects some unknown processing of the component REST Command Handler. The manipulation leads to buffer overflow. The attack may be initiated remotely. The

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-4848FreeFloat

    A vulnerability was found in FreeFloat FTP Server 1.0 and classified as critical. This issue affects some unknown processing of the component RECV Command Handler. The manipulation leads to buffer overflow. The attack may be initiated remotely. The exploit has

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-4847FreeFloat

    A vulnerability has been found in FreeFloat FTP Server 1.0 and classified as critical. This vulnerability affects unknown code of the component MLS Command Handler. The manipulation leads to buffer overflow. The attack can be initiated remotely. The exploit ha

  • 9.8 Critical severity

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

    CVE-2025-4846FreeFloat

    A vulnerability, which was classified as critical, was found in FreeFloat FTP Server 1.0. This affects an unknown part of the component MPUT Command Handler. The manipulation leads to buffer overflow. It is possible to initiate the attack remotely. The exploit

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-4845FreeFloat

    A vulnerability, which was classified as critical, has been found in FreeFloat FTP Server 1.0. Affected by this issue is some unknown functionality of the component TRACE Command Handler. The manipulation leads to buffer overflow. The attack may be launched re

  • 9.8 Critical severity

    FTP Server: Buffer Copy without Checking Size of Input

    CVE-2025-4844FreeFloat

    A vulnerability classified as critical was found in FreeFloat FTP Server 1.0. Affected by this vulnerability is an unknown functionality of the component CD Command Handler. The manipulation leads to buffer overflow. The attack can be launched remotely. The ex

  • 8.8 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-4835TOTOLINK

    A vulnerability was found in TOTOLINK A702R, A3002R and A3002RU 3.0.0-B20230809.1615. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /boafrm/formWlanRedirect of the component HTTP POST Request Handler.

  • 8.8 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-4834TOTOLINK

    A vulnerability was found in TOTOLINK A702R, A3002R and A3002RU 3.0.0-B20230809.1615. It has been classified as critical. Affected is an unknown function of the file /boafrm/formSetLg of the component HTTP POST Request Handler. The manipulation of the argument

  • 8.8 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-4833TOTOLINK

    A vulnerability was found in TOTOLINK A702R, A3002R and A3002RU 3.0.0-B20230809.1615 and classified as critical. This issue affects some unknown processing of the file /boafrm/formNtp of the component HTTP POST Request Handler. The manipulation of the argument

  • 8.8 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-4832TOTOLINK

    A vulnerability has been found in TOTOLINK A702R, A3002R and A3002RU 3.0.0-B20230809.1615 and classified as critical. This vulnerability affects unknown code of the file /boafrm/formDosCfg of the component HTTP POST Request Handler. The manipulation of the arg

  • 8.8 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-4831TOTOLINK

    A vulnerability, which was classified as critical, was found in TOTOLINK A702R, A3002R and A3002RU 3.0.0-B20230809.1615. This affects an unknown part of the file /boafrm/formSiteSurveyProfile of the component HTTP POST Request Handler. The manipulation of the

  • 8.8 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-4830TOTOLINK

    A vulnerability, which was classified as critical, has been found in TOTOLINK A702R, A3002R and A3002RU 3.0.0-B20230809.1615. Affected by this issue is some unknown functionality of the file /boafrm/formSysCmd of the component HTTP POST Request Handler. The ma

  • 8.8 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-4829TOTOLINK

    A vulnerability classified as critical was found in TOTOLINK A702R, A3002R and A3002RU 3.0.0-B20230809.1615. Affected by this vulnerability is the function sub_40BE30 of the file /boafrm/formStats of the component HTTP POST Request Handler. The manipulation of

  • 8.8 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-4827TOTOLINK

    A vulnerability, which was classified as critical, was found in TOTOLINK A702R, A3002R and A3002RU 3.0.0-B20230809.1615. Affected is an unknown function of the file /boafrm/formSaveConfig of the component HTTP POST Request Handler. The manipulation of the argu

  • 8.8 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-4826TOTOLINK

    A vulnerability, which was classified as critical, has been found in TOTOLINK A702R, A3002R and A3002RU 3.0.0-B20230809.1615. This issue affects some unknown processing of the file /boafrm/formWirelessTbl of the component HTTP POST Request Handler. The manipul

  • 8.8 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-4825TOTOLINK

    A vulnerability classified as critical was found in TOTOLINK A702R, A3002R and A3002RU 3.0.0-B20230809.1615. This vulnerability affects unknown code of the file /boafrm/formDMZ of the component HTTP POST Request Handler. The manipulation of the argument submit

  • 8.8 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-4824TOTOLINK

    A vulnerability classified as critical has been found in TOTOLINK A702R, A3002R and A3002RU 3.0.0-B20230809.1615. This affects an unknown part of the file /boafrm/formWsc of the component HTTP POST Request Handler. The manipulation of the argument submit-url l

  • 8.8 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-4823TOTOLINK

    A vulnerability was found in TOTOLINK A702R, A3002R and A3002RU 3.0.0-B20230809.1615. It has been rated as critical. Affected by this issue is the function submit-url of the file /boafrm/formReflashClientTbl of the component HTTP POST Request Handler. The mani

  • 9.8 Critical severity

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

    CVE-2025-4792FreeFloat

    A vulnerability was found in FreeFloat FTP Server 1.0 and classified as critical. This issue affects some unknown processing of the component MDELETE Command Handler. The manipulation leads to buffer overflow. The attack may be initiated remotely. The exploit

  • 9.8 Critical severity

    FTP Server: Out-of-bounds Write

    CVE-2025-4791FreeFloat

    A vulnerability has been found in FreeFloat FTP Server 1.0 and classified as critical. This vulnerability affects unknown code of the component HASH Command Handler. The manipulation leads to buffer overflow. The attack can be initiated remotely. The exploit h

  • 9.8 Critical severity

    FTP Server: Out-of-bounds Write

    CVE-2025-4790FreeFloat

    A vulnerability, which was classified as critical, was found in FreeFloat FTP Server 1.0. This affects an unknown part of the component GLOB Command Handler. The manipulation leads to buffer overflow. It is possible to initiate the attack remotely. The exploit

  • 9.8 Critical severity

    FTP Server: Out-of-bounds Write

    CVE-2025-4789FreeFloat

    A vulnerability, which was classified as critical, has been found in FreeFloat FTP Server 1.0. Affected by this issue is some unknown functionality of the component LCD Command Handler. The manipulation leads to buffer overflow. The attack may be launched remo

  • 9.8 Critical severity

    FTP Server: Out-of-bounds Write

    CVE-2025-4788FreeFloat

    A vulnerability classified as critical was found in FreeFloat FTP Server 1.0. Affected by this vulnerability is an unknown functionality of the component DELETE Command Handler. The manipulation leads to buffer overflow. The attack can be launched remotely. Th

  • 8.8 High severity

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

    CVE-2025-4733TOTOLINK

    A vulnerability, which was classified as critical, has been found in TOTOLINK A3002R and A3002RU 3.0.0-B20230809.1615. This issue affects some unknown processing of the file /boafrm/formIpQoS of the component HTTP POST Request Handler. The manipulation of the