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.9 Critical severity

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

    CVE-2026-85031TOTOLINK

    A vulnerability was found in TOTOLINK CP450 4.1.0. The impacted element is an unknown function of the file /cgi-bin/cstecgi.cgi. Performing a manipulation of the argument topicurl results in buffer overflow. Remote exploitation of the attack is possible.

  • 7.6 High severity

    AOS-CX: Buffer Copy without Checking Size of Input

    CVE-2026-73774Hewlett Packard Enterprise

    A buffer overflow vulnerability exists in the underlying operating system of AOS-CX that could lead to unauthenticated disclosure of sensitive information by sending specially crafted packets to the affected system. Successful exploitation of this vulnerabilit

  • 8.7 High severity

    RSLinx Classic®: Buffer Copy without Checking Size of Input

    CVE-2026-9625Rockwell Automation

    A denial-of-service security issue exists within RSLinx® Classic. A crafted CIP packet with an oversized embedded message request can cause the RSLinx® Classic service to crash, requiring a restart of the service to recover.

  • 10.0 Critical severity

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

    CVE-2026-82542TendaEPSS 1.1%

    A weakness has been identified in Tenda HG10 300001138. Affected by this issue is the function formIPv6Routing of the file /boaform/admin/formIPv6Routing of the component Boa Web Server. This manipulation of the argument destNet causes buffer overflow. The att

  • 7.5 High severity

    PLANET GS-4210-16P2S V3: Buffer Copy without Checking Size of Input

    CVE-2026-75124PLANET Technology

    PLANET GS-4210-16P2S V3 firmware before 3.441b260626 contains a pre-authentication memory corruption vulnerability in the web management interface where the _readHttpParam function copies an oversized HTTP query string without guaranteeing NUL termination, all

  • 7.6 High severity

    Red Hat Enterprise Linux 10: Buffer Copy without Checking Size of Input

    CVE-2026-80186Red Hat

    A stack-based buffer overflow vulnerability exists in BlueZ, the Linux Bluetooth protocol stack. A remote user within Bluetooth radio range can send a specially crafted Extended Inquiry Response (EIR) packet that causes a buffer overflow when the target device

  • 7.8 High severity

    Adobe XD: Buffer Copy without Checking Size of Input

    CVE-2026-71399Adobe

    Adobe XD is affected by a Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. An attacker could exploit this vulnerability to execute arbitrary code. Exploitation of this issue requires user interacti

  • 7.8 High severity

    3ds Max: Buffer Copy without Checking Size of Input

    CVE-2026-19568Autodesk

    A maliciously crafted SVG file, when parsed through 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.

  • 7.2 High severity

    VigorSwitch G2540xs: Buffer Copy without Checking Size of Input

    CVE-2026-71942DrayTek

    Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the mail_mailalert function. The vulnerability is caused by concatenating multiple smtpReceiver email addresses into a fixed-size buffer without checking the remaining buffer size.

  • 7.2 High severity

    VigorSwitch G2540xs: Buffer Copy without Checking Size of Input

    CVE-2026-71941DrayTek

    Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the diag_logmail function. The vulnerability is caused by concatenating multiple smtpReceiver email addresses into a fixed-size buffer without checking the remaining buffer size. A

  • 7.2 High severity

    VigorSwitch G2540xs: Buffer Copy without Checking Size of Input

    CVE-2026-71940DrayTek

    Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the acl_general_setup Edit ACE function. The vulnerability is caused by copying the name field into a fixed-size buffer without length validation. A remote attacker can trigger this

  • 7.2 High severity

    VigorSwitch G2540xs: Buffer Copy without Checking Size of Input

    CVE-2026-71939DrayTek

    Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the acl_general_setup Add ACE function. The vulnerability is caused by copying the name field into a fixed-size buffer without length validation. A remote attacker can trigger this

  • 7.2 High severity

    VigorSwitch G2540xs: Buffer Copy without Checking Size of Input

    CVE-2026-71938DrayTek

    Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the switch_lan_gvrp function. The vulnerability is caused by unsafe copying of the portList field into an undersized buffer. A remote attacker can trigger this vulnerability via cra

  • 7.2 High severity

    VigorSwitch G2540xs: Buffer Copy without Checking Size of Input

    CVE-2026-71937DrayTek

    Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the poe_schedule_profile function. The vulnerability is caused by repeated concatenation of the start_date, start_time, duration_time, how_often, weekdays, monthly_date, and cycle_d

  • 7.2 High severity

    VigorSwitch G2540xs: Buffer Copy without Checking Size of Input

    CVE-2026-71936DrayTek

    Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the sysreboot function. The vulnerability is caused by unsafe concatenation of split valueN data into a fixed-size buffer. A remote attacker can trigger this vulnerability via craft

  • 7.2 High severity

    VigorSwitch G2540xs: Buffer Copy without Checking Size of Input

    CVE-2026-71935DrayTek

    Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the webBackupAction function. The vulnerability is caused by repeated string concatenation of the pathN, valueN, key, and option fields into fixed-size stack buffers without total l

  • 7.2 High severity

    VigorSwitch G2540xs: Buffer Copy without Checking Size of Input

    CVE-2026-71934DrayTek

    Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the pingtrace function. The vulnerability is caused by missing length checks when the host, count, and interval fields are concatenated into a fixed-size buffer. A remote attacker c

  • 7.2 High severity

    VigorAP 918R: Buffer Copy without Checking Size of Input

    CVE-2026-71912DrayTek

    Multiple DrayTek VigorAP models contain a buffer overflow vulnerability in the apautotest function. The vulnerability is caused by missing length checks during memory copy operations involving the CMD6 field. A remote attacker can trigger this vulnerability vi

  • 7.2 High severity

    VigorAP 918R: Buffer Copy without Checking Size of Input

    CVE-2026-71911DrayTek

    Multiple DrayTek VigorAP models contain a buffer overflow vulnerability in the setLan function. The vulnerability is caused by missing length checks during memory copy operations involving the lanVlanId0, lanIp, and lanNetmask fields. A remote attacker can tri

  • 8.8 High severity

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

    CVE-2026-78170UTT

    A flaw has been found in UTT HiPER 1200GW up to 2.5.3-170306. Affected is the function strcpy of the file /goform/formConfigFastDirectionW. Executing a manipulation of the argument ssid can lead to buffer overflow. The attack may be performed from remote. The

  • 8.8 High severity

    XAV-9500ES: Buffer Copy without Checking Size of Input

    CVE-2026-18279Sony

    Sony XAV-9500ES RTSP SETUP Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Sony XAV-9500ES devices. Authentication is not required to exploit this

  • 8.8 High severity

    ADC: Buffer Copy without Checking Size of Input

    CVE-2026-19489NetScaler

    Vulnerability in NetScaler ADC and NetScaler Gateway. This issue affects ADC: from 14.1 through 73.32 and from 13.1 through 63.21; Gateway: from 14.1 through 73.32 and from 13.1 through 63.21.

  • 8.8 High severity

    Cumulus Linux GA: Buffer Copy without Checking Size of Input

    CVE-2026-24184NVIDIA

    NVIDIA Cumulus Linux contains a vulnerability in the Link Layer Discovery Protocol (LLDP) daemon component, where an unauthenticated attacker on an adjacent network could cause buffer overflow by sending crafted LLDP frames. A successful exploit of this vulner

  • 8.1 High severity

    PowerStore 500T: Buffer Copy without Checking Size of Input

    CVE-2026-70415Dell

    Dell PowerStore SDNAS contains a Buffer Copy without Checking Size of Input vulnerability in NFS/RPC. An unauthenticated attacker with remote access could potentially exploit this vulnerability, leading to command execution and denial of service.

  • 9.9 Critical severity

    EW-7478APC: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2026-19961Edimax

    A vulnerability was detected in Edimax EW-7478APC 1.04. Affected is the function formWlSiteSurvey of the file /goform/formWlSiteSurvey. Performing a manipulation of the argument selSSID results in buffer overflow. The attack is possible to be carried out remot

  • 7.8 High severity

    Linux: Buffer Copy without Checking Size of Input

    CVE-2026-72066Linux

    In the Linux kernel, the following vulnerability has been resolved: cpu: hotplug: Bound hotplug states sysfs output states_show() adds CPU hotplug state names into a single sysfs buffer using sprintf(). With enough registered states, this can write past the en

  • 8.8 High severity

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

    CVE-2026-19821Tenda

    A vulnerability was determined in Tenda AC12 15.03.06.23_multi_TD01. This vulnerability affects the function formSetRebootTimer of the file /goform/SetSysAutoRebbotCfg of the component httpd web management interface. This manipulation of the argument rebootTim

  • 8.8 High severity

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

    CVE-2026-19792Tenda

    A security flaw has been discovered in Tenda G0 up to 20260625. Impacted is the function setPortMapping of the file /goform/module of the component httpd web management interface. Performing a manipulation of the argument portMappingServer/porMappingtInternal/

  • 7.8 High severity

    Linux: Buffer Copy without Checking Size of Input

    CVE-2026-68452Linux

    In the Linux kernel, the following vulnerability has been resolved: s390/zcrypt: Validate length for CCA AES cipher key requests cca_cipher2protkey() derives the copy length for the CPRB parameter block directly from the length field in the key token. Reject t

  • 7.8 High severity

    Linux: Buffer Copy without Checking Size of Input

    CVE-2026-68451Linux

    In the Linux kernel, the following vulnerability has been resolved: s390/zcrypt: Validate length for CCA ECC private key requests cca_ecc2protkey() derives the copy length for the CPRB parameter block directly from the length field in the key token. Reject the

  • 8.1 High severity

    BI Connector ODBC Driver: Buffer Copy without Checking Size of Input

    CVE-2026-19002MongoDB

    A missing bounds check when parsing stored procedure parameter metadata in the MongoDB BI Connector ODBC Driver can result in an out-of-bounds write in the client application process. Triggering this issue requires control over the server the driver connects t

  • 8.1 High severity

    FortiClientWindows: Buffer Copy without Checking Size of Input

    CVE-2026-70465Fortinet

    A buffer copy without checking size of input ('classic buffer overflow') vulnerability in Fortinet FortiClientWindows 7.4.0 through 7.4.3, FortiClientWindows 7.2.0 through 7.2.11 may allow an unauthenticated attacker in a position to alter or craft DNS respons

  • 9.8 Critical severity

    AXC F 1152: Buffer Copy without Checking Size of Input

    CVE-2025-41769Phoenix Contact

    The device's PROFINET service is affected by a buffer overflow vulnerability that exists in the default configuration. An unauthenticated remote attacker could exploit this vulnerability to reboot the device or execute arbitrary code.

  • 7.5 High severity

    Red Hat JBoss Enterprise Application Platform…: Buffer Copy without Checking Size of Input

    CVE-2026-15565Red HatEPSS 1.02%

    A flaw was found in Undertow. A remote attacker can cause Out of Memory on websockets endpoint without authentication on any @ServerEndpoint class that has any @OnMessage method. This allows an attacker to cause Denial of Service attack without authentication

  • 9.8 Critical severity

    DWR-M961: Buffer Copy without Checking Size of Input

    CVE-2026-71958D-LinkEPSS 1.07%

    D-Link DWR-M961 devices with hardware version C1 and software version 1.1.2_C1_202602110044 contain a buffer overflow vulnerability in the quicksetup.cgi interface. A remote attacker can write overly long strings to the test4, ssid2, and username fields and ex

  • 9.8 Critical severity

    DWR-M961: Buffer Copy without Checking Size of Input

    CVE-2026-71957D-LinkEPSS 1.07%

    D-Link DWR-M961 devices with hardware version C1 and software version 1.1.2_C1_202602110044 contain a buffer overflow vulnerability in the app.cgi interface. A remote attacker can write an overly long string to the netAcc.addlist[].name field and execute arbit

  • 7.5 High severity

    Cisco Secure Endpoint: Buffer Copy without Checking Size of Input

    CVE-2026-20348Cisco

    A vulnerability in the XAR file format parser of ClamAV could allow an unauthenticated, remote attacker to cause a DoS condition or possibly other expanded impacts as a result of memory corruption on an affected device. This vulnerability is due to improp

  • 7.5 High severity

    Cisco Secure Endpoint: Buffer Copy without Checking Size of Input

    CVE-2026-20337Cisco

    A vulnerability in the zip archive parser of ClamAV could allow an unauthenticated, remote attacker to cause a DoS condition on an affected device. This vulnerability is due to improper boundary checks for content in zip files during scanning, which may result

  • 9.1 Critical severity

    opensips: Buffer Copy without Checking Size of Input

    CVE-2026-45537OpenSIPS

    OpenSIPS is a Session Initiation Protocol (SIP) server implementation. In versions prior to 3.6.6 and 4.0.0-rc1, the construct_uri() function concatenates multiple URI components (protocol, username, domain, port, params) into a fixed 1024-byte global BSS buff

  • 9.1 Critical severity

    opensips: Buffer Copy without Checking Size of Input

    CVE-2026-45100OpenSIPS

    OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Versions 3.4.0-beta through 3.6.5 and 4.0.0-beta contain a buffer overflow in the {s.b64encode} string transformation. The size check for {s.b64encode} only verifies that the input fits wit