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

    O4 Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-25662Tenda

    Tenda O4 V3.0 V1.0.0.10(2936) is vulnerable to Buffer Overflow in the function SafeSetMacFilter of the file /goform/setMacFilterList via the argument remark/type/time.

  • 7.8 High severity

    elfutils: Buffer Copy without Checking Size of Input

    CVE-2025-1372GNU

    A vulnerability was found in GNU elfutils 0.192. It has been declared as critical. Affected by this vulnerability is the function dump_data_section/print_string_section of the file readelf.c of the component eu-readelf. The manipulation of the argument z/x lea

  • 7.8 High severity

    elfutils: Buffer Copy without Checking Size of Input

    CVE-2025-1365GNU

    A vulnerability, which was classified as critical, was found in GNU elfutils 0.192. This affects the function process_symtab of the file readelf.c of the component eu-readelf. The manipulation of the argument D/a leads to buffer overflow. Local access is requi

  • 7.3 High severity

    Wap610n Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-25522Linksys

    Buffer overflow vulnerability in Linksys WAP610N v1.0.05.002 due to the lack of length verification, which is related to the time setting operation. The attacker can directly control the remote target device by successfully exploiting this vulnerability.

  • 9.8 Critical severity

    OpenV2G: Buffer Copy without Checking Size of Input

    CVE-2025-24956Siemens

    A vulnerability has been identified in OpenV2G (All versions < V0.9.6). The OpenV2G EXI parsing feature is missing a length check when parsing X509 serial numbers. Thus, an attacker could introduce a buffer overflow that leads to memory corruption.

  • 8.0 High severity

    W18e Firmware: Buffer Copy without Checking Size of Input

    CVE-2024-46431Tenda

    Tenda W18E V16.01.0.8(1625) is vulnerable to Buffer Overflow. An attacker with access to the web management portal can exploit this vulnerability by sending specially crafted data to the delWewifiPic function.

  • 7.8 High severity

    OpenHarmony: Buffer Copy without Checking Size of Input

    CVE-2025-0303OpenHarmony

    in OpenHarmony v4.1.2 and prior versions allow a local attacker cause the common permission is upgraded to root and sensitive information leak through buffer overflow.

  • 8.8 High severity

    Defense Platform Home Edition: Buffer Copy without Checking Size of Input

    CVE-2025-23236Humming Heads

    Buffer overflow vulnerability exists in Defense Platform Home Edition Ver.3.9.51.x and earlier. If an attacker performs a specific operation, SYSTEM privilege of the Windows system where the product is running may be obtained.

  • 7.5 High severity

    BIG-IP: Buffer Copy without Checking Size of Input

    CVE-2025-23412F5

    When BIG-IP APM Access Profile is configured on a virtual server, undisclosed request can cause TMM to terminate. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

  • 7.3 High severity

    curl: Buffer Copy without Checking Size of Input

    CVE-2025-0725CurlEPSS 1.79%

    When libcurl is asked to perform automatic gzip decompression of content-encoded HTTP responses with the `CURLOPT_ACCEPT_ENCODING` option, **using zlib 1.2.0.3 or older**, an attacker-controlled integer overflow would make libcurl perform a buffer overflow.

  • 9.8 Critical severity

    C-more EA9 HMI EA9-T6CL: Buffer Copy without Checking Size of Input

    CVE-2025-0960AutomationDirect

    AutomationDirect C-more EA9 HMI contains a function with bounds checks that can be skipped, which could result in an attacker abusing the function to cause a denial-of-service condition or achieving remote code execution on the affected device.

  • 8.8 High severity

    Gecko OS: Buffer Copy without Checking Size of Input

    CVE-2024-24731Silicon Labs

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Silicon Labs Gecko OS. Authentication is not required to exploit this vulnerability. The specific flaw exists within the implementation of the http_down

  • 8.8 High severity

    Gecko OS: Buffer Copy without Checking Size of Input

    CVE-2024-23973Silicon Labs

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Silicon Labs Gecko OS. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of HTTP GET requests.

  • 8.8 High severity

    Home Flex: Buffer Copy without Checking Size of Input

    CVE-2024-23968ChargePoint

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of ChargePoint Home Flex charging stations. Authentication is not required to exploit this vulnerability. The specific flaw exists within the SrvrToSmSetAu

  • 8.8 High severity

    Dsr-150 Firmware: Buffer Copy without Checking Size of Input

    CVE-2024-57376D-LinkEPSS 3.73%

    Buffer Overflow vulnerability in D-Link DSR-150, DSR-150N, DSR-250, DSR-250N, DSR-500N, DSR-1000N from 3.13 to 3.17B901C allows unauthenticated users to execute remote code execution.

  • 7.8 High severity

    NVIDIA vGPU software: Buffer Copy without Checking Size of Input

    CVE-2024-0146NVIDIA

    NVIDIA vGPU software contains a vulnerability in the Virtual GPU Manager, where a malicious guest could cause memory corruption. A successful exploit of this vulnerability might lead to code execution, denial of service, information disclosure, or data tamperi

  • 8.8 High severity

    Analytics Content Hub: Buffer Copy without Checking Size of Input

    CVE-2024-39750IBM

    IBM Analytics Content Hub 2.0 is vulnerable to a buffer overflow due to improper return length checking. A remote authenticated attacker could overflow a buffer and execute arbitrary code on the system or cause the server to crash.

  • 8.1 High severity

    Winet-s Firmware: Buffer Copy without Checking Size of Input

    CVE-2024-50697Sungrowpower

    In SunGrow WiNet-SV200.001.00.P027 and earlier versions, when decrypting MQTT messages, the code that parses specific TLV fields does not have sufficient bounds checks. This may result in a stack-based buffer overflow.

  • 7.5 High severity

    Magma: Buffer Copy without Checking Size of Input

    CVE-2024-24419Linux Foundation

    The Linux Foundation Magma <= 1.8.0 (fixed in v1.9 commit 08472ba98b8321f802e95f5622fa90fec2dea486) was discovered to contain a buffer overflow in the decode_traffic_flow_template_packet_filter function at /3gpp/3gpp_24.008_sm_ies.c. This vulnerability allows

  • 7.5 High severity

    Magma: Buffer Copy without Checking Size of Input

    CVE-2024-24418Linux Foundation

    The Linux Foundation Magma <= 1.8.0 (fixed in v1.9 commit 08472ba98b8321f802e95f5622fa90fec2dea486) was discovered to contain a buffer overflow in the decode_pdn_address function at /nas/ies/PdnAddress.cpp. This vulnerability allows attackers to cause a Denial

  • 7.5 High severity

    Magma: Out-of-bounds Read

    CVE-2024-24417Linux Foundation

    The Linux Foundation Magma <= 1.8.0 (fixed in v1.9 commit 08472ba98b8321f802e95f5622fa90fec2dea486) was discovered to contain a buffer overflow in the decode_protocol_configuration_options function at /3gpp/3gpp_24.008_sm_ies.c. This vulnerability allows attac

  • 7.5 High severity

    Magma: Buffer Copy without Checking Size of Input

    CVE-2024-24416Linux Foundation

    The Linux Foundation Magma <= 1.8.0 (fixed in v1.9 commit 08472ba98b8321f802e95f5622fa90fec2dea486) was discovered to contain a buffer overflow in the decode_access_point_name_ie function at /3gpp/3gpp_24.008_sm_ies.c. This vulnerability allows attackers to ca

  • 9.5 Critical severity

    NTC2218, NTC2250, NTC2299: Buffer Copy without Checking Size of Input

    CVE-2024-13503Newtec/iDirect

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in Newtec NTC2218, NTC2250, NTC2299 on Linux, PowerPC, ARM (Updating signaling process in the swdownload binary modules) allows Local Execution of Code, Remote Code Inclusion.

  • 9.8 Critical severity

    Ac8 Firmware: Out-of-bounds Write

    CVE-2024-57703Tenda

    Tenda AC8v4 V16.03.34.06 has a stack overflow vulnerability. Affected by this vulnerability is the function setSchedWifi of the file /goform/openSchedWifi. The manipulation of the argument schedEndTime leads to stack-based buffer overflow.

  • 9.8 Critical severity

    N12 Firmware: Buffer Copy without Checking Size of Input

    CVE-2024-57473H3C

    H3C N12 V100R005 contains a buffer overflow vulnerability due to the lack of length verification in the mac address editing function. Attackers who successfully exploit this vulnerability can cause the remote target device to crash or execute arbitrary command

  • 9.8 Critical severity

    N12 Firmware: Buffer Copy without Checking Size of Input

    CVE-2024-57482H3C

    H3C N12 V100R005 contains a buffer overflow vulnerability due to the lack of length verification in the 5G wireless network processing function. Attackers who successfully exploit this vulnerability can cause the remote target device to crash or execute arbitr

  • 9.8 Critical severity

    N12 Firmware: Buffer Copy without Checking Size of Input

    CVE-2024-57480H3C

    H3C N12 V100R005 contains a buffer overflow vulnerability due to the lack of length verification in the AP configuration function. Attackers who successfully exploit this vulnerability can cause the remote target device to crash or execute arbitrary commands b

  • 9.8 Critical severity

    N12 Firmware: Buffer Copy without Checking Size of Input

    CVE-2024-57479H3C

    H3C N12 V100R005 contains a buffer overflow vulnerability due to the lack of length verification in the mac address update function. Attackers who successfully exploit this vulnerability can cause the remote target device to crash or execute arbitrary commands

  • 9.8 Critical severity

    N12 Firmware: Buffer Copy without Checking Size of Input

    CVE-2024-57471H3C

    H3C N12 V100R005 contains a buffer overflow vulnerability due to the lack of length verification in the 2.4G wireless network processing function. Attackers who successfully exploit this vulnerability can cause the remote target device to crash or execute arbi

  • 7.2 High severity

    Wavlink AC3000: Buffer Copy without Checking Size of Input

    CVE-2024-39803WAVLINKEPSS 1.29%

    Multiple buffer overflow vulnerabilities exist in the qos.cgi qos_settings() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to stack-based buffer overflow. An attacker can make an authenticated HTTP request to tri

  • 7.2 High severity

    Wavlink AC3000: Buffer Copy without Checking Size of Input

    CVE-2024-39802WAVLINK

    Multiple buffer overflow vulnerabilities exist in the qos.cgi qos_settings() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to stack-based buffer overflow. An attacker can make an authenticated HTTP request to tri

  • 7.2 High severity

    Wavlink AC3000: Buffer Copy without Checking Size of Input

    CVE-2024-39801WAVLINKEPSS 1.38%

    Multiple buffer overflow vulnerabilities exist in the qos.cgi qos_settings() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to stack-based buffer overflow. An attacker can make an authenticated HTTP request to tri

  • 7.2 High severity

    Wavlink AC3000: Buffer Copy without Checking Size of Input

    CVE-2024-39774WAVLINKEPSS 1.35%

    A buffer overflow vulnerability exists in the adm.cgi set_sys_adm() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to stack-based buffer overflow. An attacker can make an authenticated HTTP request to trigger this

  • 7.2 High severity

    Wavlink AC3000: Buffer Copy without Checking Size of Input

    CVE-2024-39770WAVLINKEPSS 1.29%

    Multiple buffer overflow vulnerabilities exist in the internet.cgi set_qos() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to stack-based buffer overflow. An attacker can make an authenticated HTTP request to tri

  • 7.2 High severity

    Wavlink AC3000: Buffer Copy without Checking Size of Input

    CVE-2024-39769WAVLINK

    Multiple buffer overflow vulnerabilities exist in the internet.cgi set_qos() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to stack-based buffer overflow. An attacker can make an authenticated HTTP request to tri

  • 7.2 High severity

    Wavlink AC3000: Buffer Copy without Checking Size of Input

    CVE-2024-39768WAVLINKEPSS 1.29%

    Multiple buffer overflow vulnerabilities exist in the internet.cgi set_qos() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to stack-based buffer overflow. An attacker can make an authenticated HTTP request to tri

  • 7.2 High severity

    Wavlink AC3000: Buffer Copy without Checking Size of Input

    CVE-2024-39756WAVLINKEPSS 1.93%

    A buffer overflow vulnerability exists in the adm.cgi rep_as_router() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to stack-based buffer overflow. An attacker can make an authenticated HTTP request to trigger th

  • 7.2 High severity

    Wavlink AC3000: Buffer Copy without Checking Size of Input

    CVE-2024-39370WAVLINKEPSS 2.24%

    An arbitrary code execution vulnerability exists in the adm.cgi set_MeshAp() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an authenticated HTTP request to trigge

  • 7.2 High severity

    Wavlink AC3000: Buffer Copy without Checking Size of Input

    CVE-2024-39358WAVLINKEPSS 1.93%

    A buffer overflow vulnerability exists in the adm.cgi set_wzap() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to stack-based buffer overflow. An attacker can make an authenticated HTTP request to trigger this vu

  • 7.2 High severity

    Wavlink AC3000: Buffer Copy without Checking Size of Input

    CVE-2024-39299WAVLINKEPSS 1.58%

    A buffer overflow vulnerability exists in the qos.cgi qos_sta_settings() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to stack-based buffer overflow. An attacker can make an authenticated HTTP request to trigger