CyberSecBulletin

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-119

The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.

We track 2,498 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.6. 59 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.
  • 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.
  • Implementation: Replace unbounded copy functions with analogous functions that support length arguments, such as strcpy with strncpy. Create these if they are not available.

Latest Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerabilities

  • 7.4 High severity

    wasm-micro-runtime: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-64713Bytecodealliance

    WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime. Prior to version 2.4.4, an out-of-bounds array access issue exists in WAMR's fast interpreter mode during WASM bytecode loading. When frame_ref_bottom and frame_offset_bot

  • 7.8 High severity

    DGX Spark: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-33195NVIDIA

    NVIDIA DGX Spark GB10 contains a vulnerability in SROOT firmware, where an attacker could cause unexpected memory buffer operations. A successful exploit of this vulnerability might lead to data tampering, denial of service, or escalation of privileges.

  • 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.8 High severity

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

    CVE-2025-13547D-Link

    A flaw has been found in D-Link DIR-822K and DWR-M920 1.00_20250513164613/1.1.50. This affects an unknown part of the file /boafrm/formDdns. This manipulation of the argument submit-url causes memory corruption. The attack may be initiated remotely. The exploi

  • 9.8 Critical severity

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

    CVE-2025-13446TendaEPSS 4.21%

    A vulnerability has been found in Tenda AC21 16.03.08.16. This vulnerability affects unknown code of the file /goform/SetSysTimeCfg. The manipulation of the argument timeZone/time leads to stack-based buffer overflow. The attack is possible to be carried out r

  • 9.8 Critical severity

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

    CVE-2025-13445TendaEPSS 4.21%

    A flaw has been found in Tenda AC21 16.03.08.16. This affects an unknown part of the file /goform/SetIpMacBind. Executing a manipulation of the argument list can lead to stack-based buffer overflow. The attack can be executed remotely. The exploit has been pub

  • 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

  • 9.8 Critical severity

    DWR-M920: Buffer Copy without Checking Size of Input

    CVE-2025-13305D-LinkEPSS 3.85%

    A weakness has been identified in D-Link DWR-M920, DWR-M921, DWR-M960, DIR-822K and DIR-825M 1.01.07. This issue affects some unknown processing of the file /boafrm/formTracerouteDiagnosticRun. Executing manipulation of the argument host can lead to buffer ove

  • 8.8 High severity

    DWR-M920: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-13304D-Link

    A security flaw has been discovered in D-Link DWR-M920, DWR-M921, DWR-M960, DWR-M961 and DIR-825M 1.01.07/1.1.47. This vulnerability affects unknown code of the file /boafrm/formPingDiagnosticRun. Performing manipulation of the argument host results in buffer

  • 8.8 High severity

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

    CVE-2025-13288Tenda

    A security vulnerability has been detected in Tenda CH22 1.0.0.1. This impacts the function fromPptpUserSetting of the file /goform/PPTPUserSetting. The manipulation of the argument delno leads to buffer overflow. The attack is possible to be carried out remot

  • 8.8 High severity

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

    CVE-2025-13258Tenda

    A vulnerability was detected in Tenda AC20 up to 16.03.08.12. The impacted element is an unknown function of the file /goform/WifiExtraSet. The manipulation of the argument wpapsk_crypto results in buffer overflow. The attack can be launched remotely. The expl

  • 9.8 Critical severity

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

    CVE-2025-13191D-Link

    A vulnerability was determined in D-Link DIR-816L 2_06_b09_beta. This issue affects the function soapcgi_main of the file /soap.cgi. This manipulation causes stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been publ

  • 8.8 High severity

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

    CVE-2025-13190D-Link

    A vulnerability was found in D-Link DIR-816L 2_06_b09_beta. This vulnerability affects the function scandir_main of the file /portal/__ajax_exporer.sgi. The manipulation of the argument en results in stack-based buffer overflow. The attack may be performed fro

  • 9.8 Critical severity

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

    CVE-2025-13189D-Link

    A vulnerability has been found in D-Link DIR-816L 2_06_b09_beta. This affects the function genacgi_main of the file gena.cgi. The manipulation of the argument SERVER_ID/HTTP_SID leads to stack-based buffer overflow. The attack is possible to be carried out rem

  • 9.8 Critical severity

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

    CVE-2025-13188D-LinkEPSS 2.39%

    A vulnerability was detected in D-Link DIR-816L 2_06_b09_beta. Affected by this vulnerability is the function authenticationcgi_main of the file /authentication.cgi. Performing manipulation of the argument Password results in stack-based buffer overflow. Remot

  • 8.1 High severity

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

    CVE-2025-13027Mozilla

    Memory safety bugs present in Firefox 144 and Thunderbird 144. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. This vulnerability was fixed in Firefox

  • 7.8 High severity

    mruby: Out-of-bounds Write

    CVE-2025-12875Mruby

    A weakness has been identified in mruby 3.4.0. This vulnerability affects the function ary_fill_exec of the file mrbgems/mruby-array-ext/src/array.c. Executing a manipulation of the argument start/length can lead to out-of-bounds write. The attack needs to be

  • 7.3 High severity

    Armoury Crate: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-9338ASUS

    A improper restriction of operations within the bounds of a memory buffer exists in AsIO3.sys driver. This vulnerability can be triggered by manually executing a specially crafted process, potentially leading to local privilage escalation. For additional infor

  • 7.8 High severity

    QuickJS: Out-of-bounds Read

    CVE-2025-12745QuickJS

    A weakness has been identified in QuickJS up to eb2c89087def1829ed99630cb14b549d7a98408c. This affects the function js_array_buffer_slice of the file quickjs.c. This manipulation causes buffer over-read. The attack is restricted to local execution. The exploit

  • 8.8 High severity

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

    CVE-2025-43441Apple

    The issue was addressed with improved memory handling. This issue is fixed in Safari 26.1, iOS 18.7.2 and iPadOS 18.7.2, iOS 26.1 and iPadOS 26.1, macOS Tahoe 26.1, tvOS 26.1, visionOS 26.1. Processing maliciously crafted web content may lead to an unexpected

  • 8.8 High severity

    Safari: Out-of-bounds Write

    CVE-2025-43433AppleEPSS 1.17%

    The issue was addressed with improved memory handling. This issue is fixed in Safari 26.1, iOS 18.7.2 and iPadOS 18.7.2, iOS 26.1 and iPadOS 26.1, macOS Tahoe 26.1, tvOS 26.1, visionOS 26.1, watchOS 26.1. Processing maliciously crafted web content may lead to

  • 8.8 High severity

    Safari: Out-of-bounds Write

    CVE-2025-43431Apple

    The issue was addressed with improved memory handling. This issue is fixed in Safari 26.1, iOS 18.7.2 and iPadOS 18.7.2, iOS 26.1 and iPadOS 26.1, macOS Tahoe 26.1, tvOS 26.1, visionOS 26.1, watchOS 26.1. Processing maliciously crafted web content may lead to

  • 8.8 High severity

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

    CVE-2025-43419Apple

    The issue was addressed with improved memory handling. This issue is fixed in Safari 26, iOS 26 and iPadOS 26, macOS Tahoe 26, tvOS 26, visionOS 26, watchOS 26. Processing maliciously crafted web content may lead to memory corruption.

  • 7.5 High severity

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

    CVE-2025-43373Apple

    The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.7.2, macOS Sonoma 14.8.2, macOS Tahoe 26.1. An app may be able to cause unexpected system termination or corrupt kernel memory.

  • 9.8 Critical severity

    AC10: Buffer Copy without Checking Size of Input

    CVE-2025-12622Tenda

    A vulnerability was determined in Tenda AC10 16.03.10.13. Affected by this vulnerability is the function formSysRunCmd of the file /goform/SysRunCmd. This manipulation of the argument getui causes buffer overflow. The attack may be initiated remotely. The expl

  • 9.8 Critical severity

    A15: Buffer Copy without Checking Size of Input

    CVE-2025-12619Tenda

    A vulnerability was found in Tenda A15 15.13.07.13. Affected is the function fromSetWirelessRepeat of the file /goform/openNetworkGateway. The manipulation of the argument wpapsk_crypto2_4g results in buffer overflow. The attack can be launched remotely. The e

  • 9.8 Critical severity

    AC8: Buffer Copy without Checking Size of Input

    CVE-2025-12618TendaEPSS 5.41%

    A vulnerability has been found in Tenda AC8 16.03.34.06. This impacts an unknown function of the file /goform/DatabaseIniSet. The manipulation of the argument Time leads to buffer overflow. The attack can be initiated remotely. The exploit has been disclosed t

  • 9.8 Critical severity

    AC21: Buffer Copy without Checking Size of Input

    CVE-2025-12611Tenda

    A vulnerability was identified in Tenda AC21 16.03.08.16. This vulnerability affects the function formSetPPTPServer of the file /goform/SetPptpServerCfg. The manipulation of the argument startIp leads to buffer overflow. Remote exploitation of the attack is po

  • 9.8 Critical severity

    AC23: Buffer Copy without Checking Size of Input

    CVE-2025-12596TendaEPSS 1.21%

    A security vulnerability has been detected in Tenda AC23 16.03.07.52. Affected is the function saveParentControlInfo of the file /goform/saveParentControlInfo. Such manipulation of the argument Time leads to buffer overflow. It is possible to launch the attack

  • 9.8 Critical severity

    AC23: Buffer Copy without Checking Size of Input

    CVE-2025-12595TendaEPSS 1.1%

    A weakness has been identified in Tenda AC23 16.03.07.52. This impacts the function formSetVirtualSer of the file /goform/SetVirtualServerCfg. This manipulation of the argument list causes buffer overflow. It is possible to initiate the attack remotely. The ex

  • 8.8 High severity

    CH22: Buffer Copy without Checking Size of Input

    CVE-2025-12322Tenda

    A flaw has been found in Tenda CH22 1.0.0.1. Affected by this issue is the function fromNatStaticSetting of the file /goform/NatStaticSetting. Executing a manipulation of the argument page can lead to buffer overflow. It is possible to launch the attack remote

  • 8.8 High severity

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

    CVE-2025-12274Tenda

    A security vulnerability has been detected in Tenda CH22 1.0.0.1. Affected by this vulnerability is the function fromP2pListFilter of the file /goform/P2pListFilter. The manipulation of the argument page leads to buffer overflow. Remote exploitation of the att

  • 9.8 Critical severity

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

    CVE-2025-12273TendaEPSS 1.01%

    A weakness has been identified in Tenda CH22 1.0.0.1. Affected is the function fromwebExcptypemanFilter of the file /goform/webExcptypemanFilter. Executing a manipulation of the argument page can lead to buffer overflow. The attack may be launched remotely. Th

  • 9.8 Critical severity

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

    CVE-2025-12272Tenda

    A security flaw has been discovered in Tenda CH22 1.0.0.1. This impacts the function fromAddressNat of the file /goform/addressNat. Performing a manipulation of the argument page results in buffer overflow. The attack may be initiated remotely. The exploit has

  • 9.8 Critical severity

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

    CVE-2025-12271TendaEPSS 1.01%

    A vulnerability was identified in Tenda CH22 1.0.0.1. This affects the function fromRouteStatic of the file /goform/RouteStatic. Such manipulation of the argument page leads to buffer overflow. The attack can be launched remotely. The exploit is publicly avail