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.5 High severity

    Igmpproxy: Buffer Copy without Checking Size of Input

    CVE-2025-50681Pali

    igmpproxy 0.4 before commit 2b30c36 allows remote attackers to cause a denial of service (application crash) via a crafted IGMPv3 membership report packet with a malicious source address. Due to insufficient validation in the `recv_igmp()` function in src/igmp

  • 9.8 Critical severity

    capstone: Buffer Copy without Checking Size of Input

    CVE-2025-68114Capstone-engine

    Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, an unchecked vsnprintf return in SStream_concat lets a malicious cs_opt_mem.vsnprintf drive SStream’s index negative or past the end, leading to a stack buffer underflow/overflow when the

  • 9.8 Critical severity

    RIOT: Buffer Copy without Checking Size of Input

    CVE-2025-66647Riot-os

    RIOT is an open-source microcontroller operating system, designed to match the requirements of Internet of Things (IoT) devices and other embedded devices. A vulnerability was discovered in the IPv6 fragmentation reassembly implementation of RIOT OS v2025.07.

  • 9.8 Critical severity

    Ac10 Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-67073Tenda

    A Buffer overflow vulnerability in function fromAdvSetMacMtuWan of bin httpd in Tenda AC10V4.0 V16.03.10.20 allows remote attackers to cause denial of service and possibly code execution by sending a post request with a crafted payload (field `serviceName`) to

  • 9.8 Critical severity

    Shotcut: Buffer Copy without Checking Size of Input

    CVE-2025-65834Meltytech

    Meltytech Shotcut 25.10.31 is vulnerable to Buffer Overflow. A memory access violation occurs when processing MLT project files with manipulated width and height parameters. By setting these values to extremely large numbers, the application attempts to alloca

  • 7.8 High severity

    Shared Components: Buffer Copy without Checking Size of Input

    CVE-2025-10889Autodesk

    A maliciously crafted CATPART 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.8 High severity

    Shared Components: Buffer Copy without Checking Size of Input

    CVE-2025-10887Autodesk

    A maliciously crafted MODEL 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.8 High severity

    Shared Components: Buffer Copy without Checking Size of Input

    CVE-2025-10886Autodesk

    A maliciously crafted MODEL 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.

  • 9.0 Critical severity

    nanomq: Buffer Copy without Checking Size of Input

    CVE-2025-59947Nanomq

    NanoMQ is a messaging broker/bus for IoT Edge & SDV. Versions prior to 0.24.4 have a buffer overflow case while the PUBLISH packets trigger both shared subscription and vanila subscription. This is fixed in version 0.24.4. As a workaround, disable shared subsc

  • 9.8 Critical severity

    GOM Player: Buffer Copy without Checking Size of Input

    CVE-2023-53874Gomlab

    GOM Player 2.3.90.5360 contains a buffer overflow vulnerability in the equalizer preset name input field that allows attackers to crash the application. Attackers can overwrite the preset name with 260 'A' characters to trigger a buffer overflow and cause appl

  • 9.8 Critical severity

    sgwbox N3: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-14709ShiguangwuEPSS 5.85%

    A security vulnerability has been detected in Shiguangwu sgwbox N3 2.0.25. Affected by this issue is some unknown functionality of the file /usr/sbin/http_eshell_server of the component WIRELESSCFGGET Interface. The manipulation of the argument params leads to

  • 7.5 High severity

    sgwbox N3: Buffer Copy without Checking Size of Input

    CVE-2025-14708ShiguangwuEPSS 6.47%

    A weakness has been identified in Shiguangwu sgwbox N3 2.0.25. Affected by this vulnerability is an unknown functionality of the file /usr/sbin/http_eshell_server of the component WIREDCFGGET Interface. Executing manipulation of the argument params can lead to

  • 8.8 High severity

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

    CVE-2025-14656Tenda

    A weakness has been identified in Tenda AC20 16.03.08.12. This affects the function httpd of the file /goform/openSchedWifi. Executing a manipulation of the argument schedStartTime/schedEndTime can lead to buffer overflow. The attack may be performed from remo

  • 5.5 Medium severity

    Apple Multiple Products Classic Buffer Overflow Exploited

    CVE-2025-43520Apple

    A memory corruption issue was addressed with improved memory handling. This issue is fixed in iOS 18.7.2 and iPadOS 18.7.2, iOS 26.1 and iPadOS 26.1, macOS Sequoia 15.7.2, macOS Sonoma 14.8.2, macOS Tahoe 26.1, tvOS 26.1, visionOS 26.1, watchOS 26.1. A malicio

  • 7.8 High severity

    Android: Buffer Copy without Checking Size of Input

    CVE-2025-36931Google

    In GetHostAddress of gxp_buffer.h, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

  • 7.8 High severity

    Android: Buffer Copy without Checking Size of Input

    CVE-2025-36930Google

    In GetHostAddress of gxp_buffer.h, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

  • 7.8 High severity

    Android: Buffer Copy without Checking Size of Input

    CVE-2025-36928Google

    In GetHostAddress of gxp_buffer.h, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

  • 7.8 High severity

    Android: Buffer Copy without Checking Size of Input

    CVE-2025-36927Google

    In GetTachyonCommand of tachyon_server_common.h, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploita

  • 8.0 High severity

    Android: Buffer Copy without Checking Size of Input

    CVE-2025-36924Google

    In ss_DecodeLcsAssistDataReqMsg(void) of ss_LcsManagement.c, there is a possible out of bounds write due to an incorrect bounds check. This could lead to remote (proximal/adjacent) escalation of privilege with no additional execution privileges needed. User in

  • 9.8 Critical severity

    进取 512W: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-14535UTTEPSS 6.1%

    A vulnerability was identified in UTT 进取 512W up to 3.1.7.7-171114. Affected is the function strcpy of the file /goform/formConfigFastDirectionW. The manipulation of the argument ssid leads to buffer overflow. The attack may be initiated remotely. The exploit

  • 9.8 Critical severity

    进取 512W: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-14534UTTEPSS 6.2%

    A vulnerability was determined in UTT 进取 512W up to 3.1.7.7-171114. This impacts the function strcpy of the file /goform/formNatStaticMap of the component Endpoint. Executing manipulation of the argument NatBind can lead to buffer overflow. The attack can be l

  • 8.8 High severity

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

    CVE-2025-14526Tenda

    A security flaw has been discovered in Tenda CH22 1.0.0.1. This affects the function frmL7ImForm of the file /goform/L7Im. Performing a manipulation of the argument page results in buffer overflow. Remote exploitation of the attack is possible. The exploit has

  • 8.8 High severity

    Magic B1: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-14196H3C

    A weakness has been identified in H3C Magic B1 up to 100R004. The affected element is the function sub_44de0 of the file /goform/aspForm. This manipulation of the argument param causes buffer overflow. Remote exploitation of the attack is possible. The exploit

  • 9.8 Critical severity

    进取 512W: Buffer Copy without Checking Size of Input

    CVE-2025-14191UTT

    A vulnerability has been found in UTT 进取 512W up to 1.7.7-171114. Affected by this issue is the function strcpy of the file /goform/formP2PLimitConfig. Such manipulation of the argument except leads to buffer overflow. It is possible to launch the attack remot

  • 7.2 High severity

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

    CVE-2025-14187Ugreen

    A weakness has been identified in UGREEN DH2100+ up to 5.3.0.251125. This affects the function handler_file_backup_create of the file /v1/file/backup/create of the component nas_svr. Executing a manipulation of the argument path can lead to buffer overflow. Th

  • 9.8 Critical severity

    进取 520W: Buffer Copy without Checking Size of Input

    CVE-2025-14141UTT

    A flaw has been found in UTT 进取 520W 1.7.7-180627. The impacted element is the function strcpy of the file /goform/formArpBindConfig. Executing manipulation of the argument pools can lead to buffer overflow. The attack may be performed from remote. The exploit

  • 7.5 High severity

    X210 Firmware: Buffer Copy without Checking Size of Input

    CVE-2025-64053FanvilEPSS 3.1%

    A Buffer overflow vulnerability on Fanvil x210 2.12.20 devices allows attackers to cause a denial of service or potentially execute arbitrary commands via crafted POST request to the /cgi-bin/webconfig?page=upload&action=submit endpoint.

  • 9.8 Critical severity

    Magic B0: Buffer Copy without Checking Size of Input

    CVE-2025-14015H3C

    A weakness has been identified in H3C Magic B0 up to 100R002. This impacts the function EditWlanMacList of the file /goform/aspForm. This manipulation of the argument param causes buffer overflow. Remote exploitation of the attack is possible. The exploit has

  • 9.8 Critical severity

    Circutor: Buffer Copy without Checking Size of Input

    CVE-2025-11780SGE-PLC1000 SGE-PLC50

    Stack-based buffer overflow vulnerability in Circutor SGE-PLC1000/SGE-PLC50 v9.0.2. In the 'showMeterReport()' function, there is an unlimited user input that is copied to a fixed-size buffer via 'sprintf()'. The 'GetParameter(meter)' function retrieves the us

  • 7.6 High severity

    Zephyr: Buffer Copy without Checking Size of Input

    CVE-2025-9558Zephyrproject-rtos

    There is a potential OOB Write vulnerability in the gen_prov_start function in pb_adv.c. The full length of the received data is copied into the link.rx.buf receiver buffer without any validation on the data size.

  • 7.6 High severity

    Zephyr: Buffer Copy without Checking Size of Input

    CVE-2025-9557Zephyrproject-rtos

    ‭An out-of-bound write can lead to an arbitrary code execution. Even on devices with some form of memory protection, this can still lead to‬ ‭a crash and a resultant denial of service.‬

  • 8.8 High severity

    Fluent Bit: Buffer Copy without Checking Size of Input

    CVE-2025-12970FluentBitEPSS 1.07%

    The extract_name function in Fluent Bit in_docker input plugin copies container names into a fixed size stack buffer without validating length. An attacker who can create containers or control container names, can supply a long name that overflows the buffer,

  • 8.8 High severity

    DWR-M920: Buffer Copy without Checking Size of Input

    CVE-2025-13553D-Link

    A weakness has been identified in D-Link DWR-M920 1.1.50. This affects the function sub_41C7FC of the file /boafrm/formPinManageSetup. This manipulation of the argument submit-url causes buffer overflow. It is possible to initiate the attack remotely. The expl

  • 8.8 High severity

    DIR-822K: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-13552D-Link

    A security flaw has been discovered in D-Link DIR-822K and DWR-M920 1.00_20250513164613/1.1.50. The impacted element is an unknown function of the file /boafrm/formWlEncrypt. The manipulation of the argument submit-url results in buffer overflow. The attack ma

  • 8.8 High severity

    DIR-822K: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-13551D-Link

    A vulnerability was identified in D-Link DIR-822K and DWR-M920 1.00_20250513164613/1.1.50. The affected element is an unknown function of the file /boafrm/formWanConfigSetup. The manipulation of the argument submit-url leads to buffer overflow. The attack is p

  • 8.8 High severity

    DIR-822K: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-13550D-Link

    A vulnerability was determined in D-Link DIR-822K and DWR-M920 1.00_20250513164613/1.1.50. Impacted is an unknown function of the file /boafrm/formVpnConfigSetup. Executing manipulation of the argument submit-url can lead to buffer overflow. The attack can be

  • 8.8 High severity

    DIR-822K: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-13549D-Link

    A vulnerability was found in D-Link DIR-822K 1.00. This issue affects the function sub_455524 of the file /boafrm/formNtp. Performing manipulation of the argument submit-url results in buffer overflow. Remote exploitation of the attack is possible. The exploit

  • 8.8 High severity

    DIR-822K: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-13548D-Link

    A vulnerability has been found in D-Link DIR-822K and DWR-M920 1.00_20250513164613/1.1.50. This vulnerability affects unknown code of the file /boafrm/formFirewallAdv. Such manipulation of the argument submit-url leads to buffer overflow. The attack may be lau

  • 8.7 High severity

    pjproject: Buffer Copy without Checking Size of Input

    CVE-2025-65102Pjsip

    PJSIP is a free and open source multimedia communication library. Prior to version 2.16, Opus PLC may zero-fill the input frame as long as the decoder ptime, while the input frame length, which is based on stream ptime, may be less than that. This issue affect

  • 9.8 Critical severity

    CH22: Buffer Copy without Checking Size of Input

    CVE-2025-13400Tenda

    A vulnerability was detected in Tenda CH22 1.0.0.1. Affected is the function formWrlExtraGet of the file /goform/WrlExtraGet. Performing a manipulation of the argument chkHz results in buffer overflow. Remote exploitation of the attack is possible. The exploit