CyberSecBulletin

Improperly Controlled Sequential Memory Allocation

CWE-1325

The product manages a group of objects or resources and performs a separate memory allocation for each object, but it does not properly limit the total amount of memory that is consumed by all of the combined objects.

While the product might limit the amount of memory that is allocated in a single operation for a single object (such as a malloc of an array), if an attacker can cause multiple objects to be allocated in separate operations, then this might cause higher total memory consumption than the developer intended, leading to a denial of service.

We track 7 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.0. 2 have been exploited in real attacks.

How this weakness is prevented

  • Implementation: Ensure multiple allocations of the same kind of object are properly tracked - possibly across multiple sessions, requests, or messages. Define an appropriate strategy for handling requests that exceed the limit, and consider supporting a configuration option so that the administrator can extend the amount of memory to be used if necessary.
  • Operation: Run the program using system-provided resource limits for memory. This might still cause the program to crash or exit, but the impact to the rest of the system will be minimized.

Latest Improperly Controlled Sequential Memory Allocation vulnerabilities

  • 7.5 High severity

    msgpack-ruby: Allocation of Resources Without Limits or Throttling

    CVE-2026-126366Msgpack

    MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.7, the Java-platform msgpack gem for JRuby allocated arrays and byte buffers directly from attacker-controlled array32, str32, and bin32 declared sizes befor

  • 8.1 High severity

    PHP Stale Internal Request-State Exploited

    CVE-2026-109619PHP GroupEPSS 100%

    PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated after being reset. The global state may then refer to request memory even after it has been freed. Subse

  • 9.8 Critical severity

    PHP Memory Corruption Exploited

    CVE-2026-109618PHP GroupEPSS 100%

    PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request. Some contexts may not properly account for this scenario and leave request memory in an uninitialized state before performing an allocation. The su

  • 7.5 High severity

    OpenSSL: Improperly Controlled Sequential Memory Allocation

    CVE-2026-34183OpenSSLEPSS 1.05%

    Issue summary: Remote peer may exhaust heap memory of the QUIC server or client by flooding it with packets containing PATH_CHALLENGE frames. Impact summary: A malicious remote peer can cause an unbounded memory allocation which can lead to an abnormal termina

  • 7.5 High severity

    Red Hat build of Apache Camel 4.8.5 for Spring…: Improperly Controlled Sequential Memory Allocation

    CVE-2025-2240Red HatEPSS 1.23%

    A flaw was found in Smallrye, where smallrye-fault-tolerance is vulnerable to an out-of-memory (OOM) issue. This vulnerability is externally triggered when calling the metrics URI. Every call creates a new object within meterMap and may lead to a denial of ser

  • 7.8 High severity

    iOS and iPadOS: Improperly Controlled Sequential Memory Allocation

    CVE-2024-27796Apple

    The issue was addressed with improved checks. This issue is fixed in iOS 16.7.8 and iPadOS 16.7.8, iOS 17.5 and iPadOS 17.5, macOS Monterey 12.7.5, macOS Sonoma 14.5, macOS Ventura 13.6.7. An attacker may be able to elevate privileges.

  • 7.5 High severity

    BIND 9: Out-of-bounds Write

    CVE-2023-3341ISCEPSS 2.93%

    The code that processes control channel messages sent to `named` calls certain functions recursively during packet parsing. Recursion depth is only limited by the maximum accepted packet size; depending on the environment, this may cause the packet-parsing cod