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

    TL-WR841N v11: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-53711TP-Link

    A vulnerability has been found in TP-Link TL-WR841N v11, TL-WR842ND v2 and TL-WR494N v3. The vulnerability exists in the /userRpm/WlanNetworkRpm.htm file due to missing input parameter validation, which may lead to the buffer overflow to cause a crash of the w

  • 7.5 High severity

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

    CVE-2025-8246TOTOLINK

    A vulnerability was found in TOTOLINK X15 1.0.0-B20230714.1105. It has been rated as critical. Affected by this issue is some unknown functionality of the file /boafrm/formRoute of the component HTTP POST Request Handler. The manipulation of the argument submi

  • 7.5 High severity

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

    CVE-2025-8245TOTOLINKEPSS 1.28%

    A vulnerability was found in TOTOLINK X15 1.0.0-B20230714.1105. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /boafrm/formMultiAPVLAN of the component HTTP POST Request Handler. The manipulation of the

  • 9.8 Critical severity

    X15: Improper Neutralization of Special Elements used in a Command

    CVE-2025-8244TOTOLINKEPSS 1.44%

    A vulnerability was found in TOTOLINK X15 1.0.0-B20230714.1105. It has been classified as critical. Affected is an unknown function of the file /boafrm/formMapDelDevice of the component HTTP POST Request Handler. The manipulation of the argument macstr leads t

  • 7.5 High severity

    X15: Out-of-bounds Write

    CVE-2025-8243TOTOLINKEPSS 1.23%

    A vulnerability was found in TOTOLINK X15 1.0.0-B20230714.1105 and classified as critical. This issue affects some unknown processing of the file /boafrm/formMapDel of the component HTTP POST Request Handler. The manipulation of the argument devicemac1 leads t

  • 7.5 High severity

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

    CVE-2025-8242TOTOLINKEPSS 1.32%

    A vulnerability has been found in TOTOLINK X15 1.0.0-B20230714.1105 and classified as critical. This vulnerability affects unknown code of the file /boafrm/formFilter of the component HTTP POST Request Handler. The manipulation of the argument ip6addr/url/vpnP

  • 8.8 High severity

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

    CVE-2025-8180TendaEPSS 12.3%

    A vulnerability, which was classified as critical, has been found in Tenda CH22 1.0.0.1. Affected by this issue is the function formdeleteUserName of the file /goform/deleteUserName. The manipulation of the argument old_account leads to buffer overflow. The at

  • 7.8 High severity

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

    CVE-2025-8177LibTIFF

    A vulnerability was found in LibTIFF up to 4.7.0. It has been rated as critical. This issue affects the function setrow of the file tools/thumbnail.c. The manipulation leads to buffer overflow. An attack has to be approached locally. The patch is named e8c9d6c

  • 8.8 High severity

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

    CVE-2025-8170TOTOLINKEPSS 1.31%

    A vulnerability classified as critical was found in TOTOLINK T6 4.1.5cu.748_B20211015. This vulnerability affects the function tcpcheck_net of the file /router/meshSlaveDlfw of the component MQTT Packet Handler. The manipulation of the argument serverIp leads

  • 9.8 Critical severity

    DIR-513: Out-of-bounds Write

    CVE-2025-8169D-LinkEPSS 2.2%

    A vulnerability classified as critical has been found in D-Link DIR-513 1.10. This affects the function formSetWanPPTPcallback of the file /goform/formSetWanPPTPpath of the component HTTP POST Request Handler. The manipulation of the argument curTime leads to

  • 9.8 Critical severity

    DIR-513: Out-of-bounds Write

    CVE-2025-8168D-LinkEPSS 2.2%

    A vulnerability was found in D-Link DIR-513 1.10. It has been rated as critical. Affected by this issue is the function websAspInit of the file /goform/formSetWanPPPoE. The manipulation of the argument curTime leads to buffer overflow. The attack may be launch

  • 8.8 High severity

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

    CVE-2025-8160TendaEPSS 1.52%

    A vulnerability classified as critical has been found in Tenda AC20 up to 16.03.08.12. Affected is an unknown function of the file /goform/SetSysTimeCfg of the component httpd. The manipulation of the argument timeZone leads to buffer overflow. It is possible

  • 8.8 High severity

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

    CVE-2025-8140TOTOLINKEPSS 11.3%

    A vulnerability was found in TOTOLINK A702R 4.0.0-B20230721.1521. It has been declared as critical. This vulnerability affects unknown code of the file /boafrm/formWlanMultipleAP of the component HTTP POST Request Handler. The manipulation of the argument subm

  • 8.8 High severity

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

    CVE-2025-8139TOTOLINKEPSS 1.23%

    A vulnerability was found in TOTOLINK A702R 4.0.0-B20230721.1521. It has been classified as critical. This affects an unknown part of the file /boafrm/formPortFw of the component HTTP POST Request Handler. The manipulation of the argument service_type leads to

  • 8.8 High severity

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

    CVE-2025-8138TOTOLINKEPSS 11.3%

    A vulnerability was found in TOTOLINK A702R 4.0.0-B20230721.1521 and classified as critical. Affected by this issue is some unknown functionality of the file /boafrm/formOneKeyAccessButton of the component HTTP POST Request Handler. The manipulation of the arg

  • 8.8 High severity

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

    CVE-2025-8137TOTOLINKEPSS 1.23%

    A vulnerability has been found in TOTOLINK A702R 4.0.0-B20230721.1521 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /boafrm/formIpQoS of the component HTTP POST Request Handler. The manipulation of the argum

  • 7.5 High severity

    A702R: Buffer Copy without Checking Size of Input

    CVE-2025-8136TOTOLINKEPSS 1.23%

    A vulnerability, which was classified as critical, was found in TOTOLINK A702R 4.0.0-B20230721.1521. Affected is an unknown function of the file /boafrm/formFilter of the component HTTP POST Request Handler. The manipulation of the argument ip6addr leads to bu

  • 8.1 High severity

    IPC: Buffer Copy without Checking Size of Input

    CVE-2025-31701Dahua

    A vulnerability has been found in Dahua products. Attackers could exploit a buffer overflow vulnerability by sending specially crafted malicious packets, potentially causing service disruption (e.g., crashes) or remote code execution (RCE). Some devices may ha

  • 8.1 High severity

    IPC: Buffer Copy without Checking Size of Input

    CVE-2025-31700DahuaEPSS 1.08%

    A vulnerability has been found in Dahua products. Attackers could exploit a buffer overflow vulnerability by sending specially crafted malicious packets, potentially causing service disruption (e.g., crashes) or remote code execution (RCE). Some devices may ha

  • 8.8 High severity

    LBT-T300-T310: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-8019Shenzhen Libituo Technology

    A vulnerability was found in Shenzhen Libituo Technology LBT-T300-T310 2.2.3.6. It has been rated as critical. Affected by this issue is the function sub_40B6F0 of the file at/appy.cgi. The manipulation of the argument wan_proto leads to buffer overflow. The a

  • 8.8 High severity

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

    CVE-2025-7945D-LinkEPSS 7.15%

    A vulnerability was found in D-Link DIR-513 up to 20190831. It has been declared as critical. This vulnerability affects the function formSetWanDhcpplus of the file /goform/formSetWanDhcpplus. The manipulation of the argument curTime leads to buffer overflow.

  • 8.8 High severity

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

    CVE-2025-7914TendaEPSS 1.02%

    A vulnerability has been found in Tenda AC6 15.03.06.50 and classified as critical. Affected by this vulnerability is the function setparentcontrolinfo of the component httpd. The manipulation leads to buffer overflow. The attack can be launched remotely.

  • 8.8 High severity

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

    CVE-2025-7913TOTOLINK

    A vulnerability, which was classified as critical, was found in TOTOLINK T6 4.1.5cu.748_B20211015. Affected is the function updateWifiInfo of the component MQTT Service. The manipulation of the argument serverIp leads to buffer overflow. It is possible to laun

  • 8.8 High severity

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

    CVE-2025-7912TOTOLINKEPSS 1.28%

    A vulnerability, which was classified as critical, has been found in TOTOLINK T6 4.1.5cu.748_B20211015. This issue affects the function recvSlaveUpgstatus of the component MQTT Service. The manipulation of the argument s leads to buffer overflow. The attack ma

  • 8.8 High severity

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

    CVE-2025-7837TOTOLINKEPSS 1.28%

    A vulnerability was found in TOTOLINK T6 4.1.5cu.748_B20211015 and classified as critical. Affected by this issue is the function recvSlaveStaInfo of the component MQTT Service. The manipulation of the argument dest leads to buffer overflow. The attack may be

  • 9.8 Critical severity

    RIOT: Buffer Copy without Checking Size of Input

    CVE-2025-53888Riot-os

    RIOT-OS, an operating system that supports Internet of Things devices, has an ineffective size check implemented with `assert()` can lead to buffer overflow in versions up to and including 2025.04. Assertions are usually compiled out in production builds. If a

  • 8.8 High severity

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

    CVE-2025-7758TOTOLINK

    A vulnerability, which was classified as critical, has been found in TOTOLINK T6 up to 4.1.5cu.748_B20211015. Affected by this issue is the function setDiagnosisCfg of the file /cgi-bin/cstecgi.cgi of the component HTTP POST Request Handler. The manipulation o

  • 8.8 High severity

    FH451: Buffer Copy without Checking Size of Input

    CVE-2025-7747TendaEPSS 1.01%

    A vulnerability classified as critical has been found in Tenda FH451 1.0.0.9. This affects the function fromWizardHandle of the file /goform/WizardHandle of the component POST Request Handler. The manipulation of the argument PPW leads to buffer overflow. It i

  • 8.6 High severity

    X360 VideoPlayer ActiveX Control: Improper Control of Generation of Code

    CVE-2025-34128X360SoftEPSS 1.48%

    A buffer overflow vulnerability exists in the X360 VideoPlayer ActiveX control (VideoPlayer.ocx) version 2.6 when handling overly long arguments to the ConvertFile() method. An attacker can exploit this vulnerability by supplying crafted input to cause memory

  • 9.8 Critical severity

    VMG8825-T50K firmware: Buffer Copy without Checking Size of Input

    CVE-2025-7673Zyxel

    A buffer overflow vulnerability in the URL parser of the zhttpd web server in Zyxel VMG8825-T50K firmware versions prior to V5.50(ABOM.5)C0 could allow an unauthenticated attacker to cause denial-of-service (DoS) conditions and potentially execute arbitrary co

  • 8.4 High severity

    PDF Shaper: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-34106Burnaware

    A buffer overflow vulnerability exists in PDF Shaper versions 3.5 and 3.6 when converting a crafted PDF file to an image using the 'Convert PDF to Image' functionality. An attacker can exploit this vulnerability by tricking a user into opening a maliciously cr

  • 8.8 High severity

    HiPER 840G: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-7571UTTEPSS 1%

    A vulnerability classified as critical has been found in UTT HiPER 840G up to 3.1.1-190328. This affects an unknown part of the file /goform/aspApBasicConfigUrcp. The manipulation of the argument Username leads to buffer overflow. It is possible to initiate th

  • 8.8 High severity

    HiPER 840G: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-7570UTTEPSS 1.29%

    A vulnerability was found in UTT HiPER 840G up to 3.1.1-190328. It has been rated as critical. Affected by this issue is some unknown functionality of the file /goform/aspRemoteApConfTempSend. The manipulation of the argument remoteSrcTemp leads to buffer over

  • 8.8 High severity

    FH1201: Buffer Copy without Checking Size of Input

    CVE-2025-7468Tenda

    A vulnerability has been found in Tenda FH1201 1.2.0.14 and classified as critical. This vulnerability affects the function fromSafeUrlFilter of the file /goform/fromSafeUrlFilter of the component HTTP POST Request Handler. The manipulation of the argument pag

  • 8.8 High severity

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

    CVE-2025-7465Tenda

    A vulnerability classified as critical was found in Tenda FH1201 1.2.0.14. Affected by this vulnerability is the function fromRouteStatic of the file /goform/fromRouteStatic of the component HTTP POST Request Handler. The manipulation of the argument page lead

  • 8.8 High severity

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

    CVE-2025-7463TendaEPSS 1.23%

    A vulnerability was found in Tenda FH1201 1.2.0.14. It has been declared as critical. This vulnerability affects the function formWrlsafeset of the file /goform/AdvSetWrlsafeset of the component HTTP POST Request Handler. The manipulation of the argument mit_s

  • 9.8 Critical severity

    Avalanche: Buffer Copy without Checking Size of Input

    CVE-2023-38036IvantiEPSS 2.84%

    A security vulnerability within Ivanti Avalanche Manager before version 6.4.1 may allow an unauthenticated attacker to create a buffer overflow that could result in service disruption or arbitrary code execution.

  • 8.8 High severity

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

    CVE-2025-7460TOTOLINK

    A vulnerability has been found in TOTOLINK T6 4.1.5cu.748_B20211015 and classified as critical. Affected by this vulnerability is the function setWiFiAclRules of the file /cgi-bin/cstecgi.cgi of the component HTTP POST Request Handler. The manipulation of the

  • 7.8 High severity

    Revit: Buffer Copy without Checking Size of Input

    CVE-2025-5037Autodesk

    A maliciously crafted RFA, RTE, or RVT file, when parsed through Autodesk Revit, 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.5 High severity

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

    CVE-2025-7345Red HatEPSS 1.34%

    A flaw exists in gdk‑pixbuf within the gdk_pixbuf__jpeg_image_load_increment function (io-jpeg.c) and in glib’s g_base64_encode_step (glib/gbase64.c). When processing maliciously crafted JPEG images, a heap buffer overflow can occur during Base64 encoding, all