Skip to content
OpenAdvisories

Weakness (CWE)

CWE-1325: Improperly Controlled Sequential Memory Allocation

Base Incomplete

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.

More detail

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.

How to prevent it (2 mitigations)
  1. 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.

  2. 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.

Source: MITRE CWE-1325

20 results · Clear filters · Feed

  • Medium 5.3

    MessagePack: Nested arrays can blow past buffer length limits

    MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.303 and 3.1.9, deserializing attacker-controlled MessagePack data as System.Object through PrimitiveObjectFormatter can cause excessive memory allocation. The formatter allocates an object[] …

  • Medium 5.3

    Microsoft Security Advisory CVE-2026-92707 - ASP.NET Core Denial of Service Vulnerability

    ## Executive summary Microsoft is releasing this security advisory to provide information about a vulnerability in Microsoft.AspNetCore.SignalR.Protocols.MessagePack; MessagePack; MessagePack.Annotations; MessagePackAnalyzer. This advisory also provides guida…

  • Medium 5.5

    Improperly Controlled Sequential Memory Allocation in Wireshark

    USB HID protocol dissector infinite loop and memory leak in 4.6.0 to 4.6.8 and 4.4.0 to 4.4.18 allows denial of service

  • Medium 5.3

    Mermaid XY Charts are vulnerable to an infinite loop DoS

    Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 10.6.0 until 10.9.8 and 11.16.1, Mermaid XY Charts are vulnerable to an infinite loop denial of service in the setXAxisRangeData function when…

  • Medium 6.5

    Improperly controlled sequential memory allocation vulnerability in Samsung Open Source rlottie allows Exponential Data…

  • Medium 5.3

    guzzlehttp/guzzle before 7.15.1 Unbounded Cookie Denial of Service

    guzzlehttp/guzzle versions before 7.15.1 contain a denial of service vulnerability in the CookieJar that accepts unlimited Set-Cookie header fields with no size restrictions. Attackers can return many large cookies from a malicious server, causing Guzzle to s…

  • Medium 6.9

    veraPDF Parser DoS via PostScript Type 1 Font Programs

    veraPDF PDF parser is a PDF parser for veraPDF. Prior to 1.30.2 and 1.31.23, veraPDF-parser contains a denial-of-service vulnerability in veraPDF-parser/src/main/java/org/verapdf/pd/font/type1/Type1FontProgram.java and veraPDF-parser/src/main/java/org/verapdf…

  • Medium 6.9

    veraPDF Parser DoS via PostScript CMap Streams

    veraPDF PDF parser is a PDF parser for veraPDF. Prior to 1.30.2 and 1.31.23, veraPDF-parser contains a denial-of-service vulnerability in veraPDF-parser/src/main/java/org/verapdf/pd/font/cmap/CMapParser.java and veraPDF-parser/src/main/java/org/verapdf/parser…

  • Medium 6.5

    A user with read access can cause a DoS by executing a specifically crafted query to consume a large amount of RAM

    Using expressions that generate large arrays it is possible to craft a query that creates very large intermediate objects in memory, causing the server to crash with OOM error.

  • Medium 6.5

    Post-auth memory exhaustion via bitwise match expressions

    An authenticated user can cause excess memory usage via bitwise match expression AST processing of $bitsAllSet, $bitsAnySet, $bitsAllClear, and $bitsAnyClear. This contributes to memory pressure and may lead to availability loss by OOM. This issue impacts Mon…

  • Medium 5.5

    Improperly Controlled Sequential Memory Allocation in Wireshark

    Dissection engine zlib decompression crash in Wireshark 4.6.0 to 4.6.4 and 4.4.0 to 4.4.14 allows denial of service

  • Medium 5.5

    Improperly Controlled Sequential Memory Allocation in Wireshark

    Dissection engine LZ77 decompression crash in Wireshark 4.6.0 to 4.6.4 and 4.4.0 to 4.4.14 allows denial of service

  • Medium 5.5

    Improperly Controlled Sequential Memory Allocation in Wireshark

    WebSocket protocol dissector crash in Wireshark 4.6.0 to 4.6.4 and 4.4.0 to 4.4.14 allows denial of service

  • Medium 5.5

    Improperly Controlled Sequential Memory Allocation in Wireshark

    SMB2 protocol dissector crash in Wireshark 4.6.0 to 4.6.4 and 4.4.0 to 4.4.14 allows denial of service

  • Medium 4.7

    Improperly Controlled Sequential Memory Allocation in Wireshark

    USB HID protocol dissector memory exhaustion in Wireshark 4.6.0 to 4.6.3 and 4.4.0 to 4.4.13 allows denial of service

  • Medium 6.3

    An out-of-memory (OOM) issue in foxinmy/weixin4j

    Improperly Controlled Sequential Memory Allocation vulnerability in foxinmy weixin4j (weixin4j-base/src/main/java/com/foxinmy/weixin4j/util modules). This vulnerability is associated with program files CharArrayBuffer.Java, ClassUtil.Java. This issue affects …

  • Medium 5.5

    Improperly Controlled Sequential Memory Allocation in Wireshark

    HTTP3 dissector crash in Wireshark 4.6.0 and 4.6.1 allows denial of service

  • Medium 5.3

    A vulnerability has been identified in SIMATIC Energy Manager Basic (All versions < V7.5), SIMATIC Energy Manager PRO (…

  • Medium 5.9
    CVE-2024-2511 EPSS 59%

    Unbounded memory growth with session handling in TLSv1.3

    Issue summary: Some non-default TLS server configurations can cause unbounded memory growth when processing TLSv1.3 sessions Impact summary: An attacker may exploit certain server configurations to trigger unbounded memory growth that would lead to a Denial o…

  • Medium 5.3

    Junos OS: SRX Series: Policies that rely on JDPI-Decoder actions may fail open

    An Improperly Controlled Sequential Memory Allocation vulnerability in the Juniper Networks Deep Packet Inspection-Decoder (JDPI-Decoder) Application Signature component of Junos OS's AppID service on SRX Series devices will stop the JDPI-Decoder from identif…