Search

Find a vulnerability

Search criteria

    28 vulnerabilities by ninenines

    CVE-2026-115701 (GCVE-0-2026-115701)

    Vulnerability from nvd – Published: 2026-11-06 10:29 – Updated: 2026-11-10 15:02
    VLAI
    Title
    Cowboy HTTP/1.1 Unbounded Buffering of Pipelined Data During Request Handling Enables Memory Exhaustion
    Summary
    Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1. Once a request has been received in full and its handler is still running, cowboy_http:parse/2 in src/cowboy_http.erl appends every further byte that arrives on the keep-alive connection to the connection buffer and returns to the receive loop without parsing it. The socket stays in active mode and no limit applies to this buffer: max_request_line_length, max_headers and the other parser limits only take effect once the handler returns and parsing resumes, and the only timer in this state is idle_timeout (default 60 seconds), which is reset on every received chunk. A client can therefore send an arbitrary amount of data on one connection for as long as the handler runs, and a few connections to an endpoint that holds requests open can drive the Erlang VM into out-of-memory conditions. This issue affects cowboy: from 2.18.0 before 2.21.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-10 15:01 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    ninenines cowboy Affected: 2.18.0 , < 2.21.0 (semver)
        cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowboy Affected: faf5594fbf74530ace90b0c46c936bdc2cf82081 , < 3a630c07e1521abf63a1b9ea080509aa1337b60d (git)
        cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-06 10:29
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-115701",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-10T15:01:56.291118Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-10T15:02:23.747Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cowboy_http"
              ],
              "packageName": "cowboy",
              "packageURL": "pkg:hex/cowboy",
              "product": "cowboy",
              "programFiles": [
                "src/cowboy_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "cowboy_http:parse/2"
                },
                {
                  "name": "cowboy_http:loop/1"
                }
              ],
              "repo": "https://github.com/ninenines/cowboy",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.21.0",
                  "status": "affected",
                  "version": "2.18.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cowboy_http"
              ],
              "packageName": "ninenines/cowboy",
              "packageURL": "pkg:github/ninenines/cowboy",
              "product": "cowboy",
              "programFiles": [
                "src/cowboy_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "cowboy_http:parse/2"
                },
                {
                  "name": "cowboy_http:loop/1"
                }
              ],
              "repo": "https://github.com/ninenines/cowboy",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "3a630c07e1521abf63a1b9ea080509aa1337b60d",
                  "status": "affected",
                  "version": "faf5594fbf74530ace90b0c46c936bdc2cf82081",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe amount of data buffered scales with how long the current handler keeps the connection busy. Any HTTP/1.1 endpoint exposes a window, but deployments with handlers that hold a request open, such as long polling with \u003ccode\u003ecowboy_loop\u003c/code\u003e, streamed responses via \u003ccode\u003ecowboy_req:stream_reply/3\u003c/code\u003e, or slow backend calls, give an attacker the time to buffer significant memory. HTTP/2 connections are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The amount of data buffered scales with how long the current handler keeps the connection busy. Any HTTP/1.1 endpoint exposes a window, but deployments with handlers that hold a request open, such as long polling with `cowboy_loop`, streamed responses via `cowboy_req:stream_reply/3`, or slow backend calls, give an attacker the time to buffer significant memory. HTTP/2 connections are not affected."
                }
              ],
              "value": "The amount of data buffered scales with how long the current handler keeps the connection busy. Any HTTP/1.1 endpoint exposes a window, but deployments with handlers that hold a request open, such as long polling with cowboy_loop, streamed responses via cowboy_req:stream_reply/3, or slow backend calls, give an attacker the time to buffer significant memory. HTTP/2 connections are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.21.0",
                      "versionStartIncluding": "2.18.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Mikica Ivosevic"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Mikica Ivosevic"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            }
          ],
          "dateAssigned": "2026-10-26T10:41:07.000Z",
          "datePublic": "2026-11-06T10:29:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\u003c/p\u003e\n\u003cp\u003eOnce a request has been received in full and its handler is still running, \u003ccode\u003ecowboy_http:parse/2\u003c/code\u003e in \u003ccode\u003esrc/cowboy_http.erl\u003c/code\u003e appends every further byte that arrives on the keep-alive connection to the connection buffer and returns to the receive loop without parsing it. The socket stays in active mode and no limit applies to this buffer: \u003ccode\u003emax_request_line_length\u003c/code\u003e, \u003ccode\u003emax_headers\u003c/code\u003e and the other parser limits only take effect once the handler returns and parsing resumes, and the only timer in this state is \u003ccode\u003eidle_timeout\u003c/code\u003e (default 60 seconds), which is reset on every received chunk. A client can therefore send an arbitrary amount of data on one connection for as long as the handler runs, and a few connections to an endpoint that holds requests open can drive the Erlang VM into out-of-memory conditions.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowboy: from 2.18.0 before 2.21.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\n\nOnce a request has been received in full and its handler is still running, `cowboy_http:parse/2` in `src/cowboy_http.erl` appends every further byte that arrives on the keep-alive connection to the connection buffer and returns to the receive loop without parsing it. The socket stays in active mode and no limit applies to this buffer: `max_request_line_length`, `max_headers` and the other parser limits only take effect once the handler returns and parsing resumes, and the only timer in this state is `idle_timeout` (default 60 seconds), which is reset on every received chunk. A client can therefore send an arbitrary amount of data on one connection for as long as the handler runs, and a few connections to an endpoint that holds requests open can drive the Erlang VM into out-of-memory conditions.\n\nThis issue affects cowboy: from 2.18.0 before 2.21.0."
                }
              ],
              "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\n\nOnce a request has been received in full and its handler is still running, cowboy_http:parse/2 in src/cowboy_http.erl appends every further byte that arrives on the keep-alive connection to the connection buffer and returns to the receive loop without parsing it. The socket stays in active mode and no limit applies to this buffer: max_request_line_length, max_headers and the other parser limits only take effect once the handler returns and parsing resumes, and the only timer in this state is idle_timeout (default 60 seconds), which is reset on every received chunk. A client can therefore send an arbitrary amount of data on one connection for as long as the handler runs, and a few connections to an endpoint that holds requests open can drive the Erlang VM into out-of-memory conditions.\n\nThis issue affects cowboy: from 2.18.0 before 2.21.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn unauthenticated remote client can make one connection process hold an arbitrary amount of memory by sending data after a request while its handler runs. A few such connections to an endpoint that holds requests open exhaust node memory and terminate every connection served by that node.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An unauthenticated remote client can make one connection process hold an arbitrary amount of memory by sending data after a request while its handler runs. A few such connections to an endpoint that holds requests open exhaust node memory and terminate every connection served by that node."
                    }
                  ],
                  "value": "An unauthenticated remote client can make one connection process hold an arbitrary amount of memory by sending data after a request while its handler runs. A few such connections to an endpoint that holds requests open exhaust node memory and terminate every connection served by that node."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-09T15:28:28.965Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-115701",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-115701.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-115701",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-115701"
            },
            {
              "name": "Introducing commit faf5594 in ninenines/cowboy",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/faf5594fbf74530ace90b0c46c936bdc2cf82081"
            },
            {
              "name": "Fix commit 3a630c0 in ninenines/cowboy",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/3a630c07e1521abf63a1b9ea080509aa1337b60d"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Cowboy HTTP/1.1 Unbounded Buffering of Pipelined Data During Request Handling Enables Memory Exhaustion",
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eStart a cowboy HTTP/1.1 listener with a handler that takes time to reply, for example one that sleeps 20 seconds before calling \u003ccode\u003ecowboy_req:reply/4\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eOpen one TCP connection and send a complete \u003ccode\u003eGET / HTTP/1.1\u003c/code\u003e request with a \u003ccode\u003eHost\u003c/code\u003e header.\u003c/li\u003e\n\u003cli\u003eWhile the handler is still running, keep writing arbitrary bytes on the same connection, for example 300 one-megabyte chunks.\u003c/li\u003e\n\u003cli\u003eInspect the connection process with \u003ccode\u003eerlang:process_info/2\u003c/code\u003e while the handler runs: its referenced binaries grow by the amount sent and \u003ccode\u003eerlang:memory(binary)\u003c/code\u003e rises by the same amount. No parser limit or timeout interrupts the transfer.\u003c/li\u003e\n\u003cli\u003eWhen the handler replies, the client still receives the \u003ccode\u003e200 OK\u003c/code\u003e; only afterwards does the buffered data get parsed and rejected.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003eOn 2.16.1 and 2.17.0 step 3 is cut short: the server answers \u003ccode\u003e414 Request-URI Too Long\u003c/code\u003e with \u003ccode\u003econnection: close\u003c/code\u003e as soon as the first chunk arrives and holds nothing.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Start a cowboy HTTP/1.1 listener with a handler that takes time to reply, for example one that sleeps 20 seconds before calling `cowboy_req:reply/4`.\n2. Open one TCP connection and send a complete `GET / HTTP/1.1` request with a `Host` header.\n3. While the handler is still running, keep writing arbitrary bytes on the same connection, for example 300 one-megabyte chunks.\n4. Inspect the connection process with `erlang:process_info/2` while the handler runs: its referenced binaries grow by the amount sent and `erlang:memory(binary)` rises by the same amount. No parser limit or timeout interrupts the transfer.\n5. When the handler replies, the client still receives the `200 OK`; only afterwards does the buffered data get parsed and rejected.\n\nOn 2.16.1 and 2.17.0 step 3 is cut short: the server answers `414 Request-URI Too Long` with `connection: close` as soon as the first chunk arrives and holds nothing."
                }
              ],
              "value": "* Start a cowboy HTTP/1.1 listener with a handler that takes time to reply, for example one that sleeps 20 seconds before calling cowboy_req:reply/4.\n* Open one TCP connection and send a complete GET / HTTP/1.1 request with a Host header.\n* While the handler is still running, keep writing arbitrary bytes on the same connection, for example 300 one-megabyte chunks.\n* Inspect the connection process with erlang:process_info/2 while the handler runs: its referenced binaries grow by the amount sent and erlang:memory(binary) rises by the same amount. No parser limit or timeout interrupts the transfer.\n* When the handler replies, the client still receives the 200 OK; only afterwards does the buffered data get parsed and rejected.\n\nOn 2.16.1 and 2.17.0 step 3 is cut short: the server answers 414 Request-URI Too Long with connection: close as soon as the first chunk arrives and holds nothing."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Request completes, handler runs.\u003c/strong\u003e When \u003ccode\u003ecowboy_http\u003c/code\u003e finishes reading a request it moves the parser to the \u003ccode\u003eps_next_request\u003c/code\u003e state while the stream for that request is still alive. The connection process keeps the socket in active mode (\u003ccode\u003esetopts_active/1\u003c/code\u003e re-arms \u003ccode\u003e{active, N}\u003c/code\u003e whenever a passive notification arrives), so the VM continues to deliver socket data to the process.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Data is appended, never parsed.\u003c/strong\u003e Each incoming chunk reaches \u003ccode\u003eloop/1\u003c/code\u003e, which concatenates it onto the connection buffer and calls \u003ccode\u003eparse/2\u003c/code\u003e. The \u003ccode\u003eparse/2\u003c/code\u003e clause for \u003ccode\u003ein_state=ps_next_request\u003c/code\u003e with a live \u003ccode\u003e#stream{}\u003c/code\u003e returns straight to \u003ccode\u003ebefore_loop/1\u003c/code\u003e with the enlarged buffer, deferring all parsing until the current stream stops. The parser limits (\u003ccode\u003emax_request_line_length\u003c/code\u003e, \u003ccode\u003emax_header_name_length\u003c/code\u003e, \u003ccode\u003emax_header_value_length\u003c/code\u003e, \u003ccode\u003emax_headers\u003c/code\u003e) are enforced only by the parsing clauses that run after that point, and \u003ccode\u003emax_skip_body_length\u003c/code\u003e only covers an unread body of the current request, not bytes after it.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. No timer bounds the window.\u003c/strong\u003e While a stream is live the connection runs on \u003ccode\u003eidle_timeout\u003c/code\u003e (default 60 seconds), and \u003ccode\u003eset_timeout/2\u003c/code\u003e resets it on every received chunk. The attacker therefore keeps the window open by continuing to send. Only the handler finishing ends it, at which point parsing resumes, the buffered bytes fail the request-line checks, and the connection closes with a 4xx response. By then the data has been held for the full handler duration.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Introduction.\u003c/strong\u003e The behaviour arrived with the change that removed concurrent processing of pipelined HTTP/1.1 requests (first shipped in 2.18.0). Earlier releases parsed pipelined data as it arrived, so excess bytes hit the request-line limit immediately and the connection was closed with \u003ccode\u003e414 Request-URI Too Long\u003c/code\u003e before any significant amount was buffered. The introducing commit describes the intended behaviour as stopping reads from the socket until the stream stops, but the code keeps the socket active and buffers instead.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Request completes, handler runs.** When `cowboy_http` finishes reading a request it moves the parser to the `ps_next_request` state while the stream for that request is still alive. The connection process keeps the socket in active mode (`setopts_active/1` re-arms `{active, N}` whenever a passive notification arrives), so the VM continues to deliver socket data to the process.\n\n**2. Data is appended, never parsed.** Each incoming chunk reaches `loop/1`, which concatenates it onto the connection buffer and calls `parse/2`. The `parse/2` clause for `in_state=ps_next_request` with a live `#stream{}` returns straight to `before_loop/1` with the enlarged buffer, deferring all parsing until the current stream stops. The parser limits (`max_request_line_length`, `max_header_name_length`, `max_header_value_length`, `max_headers`) are enforced only by the parsing clauses that run after that point, and `max_skip_body_length` only covers an unread body of the current request, not bytes after it.\n\n**3. No timer bounds the window.** While a stream is live the connection runs on `idle_timeout` (default 60 seconds), and `set_timeout/2` resets it on every received chunk. The attacker therefore keeps the window open by continuing to send. Only the handler finishing ends it, at which point parsing resumes, the buffered bytes fail the request-line checks, and the connection closes with a 4xx response. By then the data has been held for the full handler duration.\n\n**4. Introduction.** The behaviour arrived with the change that removed concurrent processing of pipelined HTTP/1.1 requests (first shipped in 2.18.0). Earlier releases parsed pipelined data as it arrived, so excess bytes hit the request-line limit immediately and the connection was closed with `414 Request-URI Too Long` before any significant amount was buffered. The introducing commit describes the intended behaviour as stopping reads from the socket until the stream stops, but the code keeps the socket active and buffers instead."
                }
              ],
              "value": "1. Request completes, handler runs. When cowboy_http finishes reading a request it moves the parser to the ps_next_request state while the stream for that request is still alive. The connection process keeps the socket in active mode (setopts_active/1 re-arms {active, N} whenever a passive notification arrives), so the VM continues to deliver socket data to the process.\n\n2. Data is appended, never parsed. Each incoming chunk reaches loop/1, which concatenates it onto the connection buffer and calls parse/2. The parse/2 clause for in_state=ps_next_request with a live #stream{} returns straight to before_loop/1 with the enlarged buffer, deferring all parsing until the current stream stops. The parser limits (max_request_line_length, max_header_name_length, max_header_value_length, max_headers) are enforced only by the parsing clauses that run after that point, and max_skip_body_length only covers an unread body of the current request, not bytes after it.\n\n3. No timer bounds the window. While a stream is live the connection runs on idle_timeout (default 60 seconds), and set_timeout/2 resets it on every received chunk. The attacker therefore keeps the window open by continuing to send. Only the handler finishing ends it, at which point parsing resumes, the buffered bytes fail the request-line checks, and the connection closes with a 4xx response. By then the data has been held for the full handler duration.\n\n4. Introduction. The behaviour arrived with the change that removed concurrent processing of pipelined HTTP/1.1 requests (first shipped in 2.18.0). Earlier releases parsed pipelined data as it arrived, so excess bytes hit the request-line limit immediately and the connection was closed with 414 Request-URI Too Long before any significant amount was buffered. The introducing commit describes the intended behaviour as stopping reads from the socket until the stream stops, but the code keeps the socket active and buffers instead."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-115701",
        "datePublished": "2026-11-06T10:29:00.314Z",
        "dateReserved": "2026-10-26T10:30:01.636Z",
        "dateUpdated": "2026-11-10T15:02:23.747Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-113431 (GCVE-0-2026-113431)

    Vulnerability from nvd – Published: 2026-11-06 10:28 – Updated: 2026-11-19 07:53
    VLAI
    Title
    Unbounded decoded HTTP/2 header-list size in cowlib cow_http2_machine enables HPACK amplification memory exhaustion
    Summary
    Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowlib allows an unauthenticated remote peer to exhaust the memory of an HTTP/2 endpoint via HPACK-indexed header fields. cow_http2_machine:headers_decode/4 in src/cow_http2_machine.erl decodes every HEADERS block with cow_hpack:decode/3. It bounds the compressed block size and the number of fields, but not the size of the decoded header list that RFC 9113 section 6.5.2 places under SETTINGS_MAX_HEADER_LIST_SIZE. A peer stores one header value of up to the dynamic table size (4096 bytes by default) and then references it with one-byte indexed fields, so about 100 bytes on the wire decode to a header list of about 390 KB. A consumer that copies the decoded values, as Cowboy does when cowboy_http2:headers_to_map/2 joins repeated cookie fields into one binary, allocates that amount for every stream. The total across streams and connections is not bounded. This issue affects cowlib: from 2.7.0 before 2.22.0.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-10 15:02 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 2.7.0 , < 2.22.0 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: b461b119e78e4e09bb28b186b09da7ed4a86a0dd , < a3b15e29b3067644bfd580246c87f7af7a90b3b8 (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-06 10:28
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-113431",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-10T15:02:48.422648Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-10T15:03:30.825Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_http2_machine",
                "cow_hpack"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_http2_machine.erl",
                "src/cow_hpack.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_http2_machine:headers_decode/4"
                },
                {
                  "name": "cow_http2_machine:frame/2"
                },
                {
                  "name": "cow_hpack:decode/3"
                },
                {
                  "name": "cow_hpack:decode/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.22.0",
                  "status": "affected",
                  "version": "2.7.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_http2_machine",
                "cow_hpack"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_http2_machine.erl",
                "src/cow_hpack.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_http2_machine:headers_decode/4"
                },
                {
                  "name": "cow_http2_machine:frame/2"
                },
                {
                  "name": "cow_hpack:decode/3"
                },
                {
                  "name": "cow_hpack:decode/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "a3b15e29b3067644bfd580246c87f7af7a90b3b8",
                  "status": "affected",
                  "version": "b461b119e78e4e09bb28b186b09da7ed4a86a0dd",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.22.0",
                      "versionStartIncluding": "2.7.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Andrew Moore"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Andrew Moore"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "dateAssigned": "2026-10-30T12:35:17.000Z",
          "datePublic": "2026-11-06T10:28:16.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in ninenines cowlib allows an unauthenticated remote peer to exhaust the memory of an HTTP/2 endpoint via HPACK-indexed header fields.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_http2_machine:headers_decode/4\u003c/code\u003e in \u003ccode\u003esrc/cow_http2_machine.erl\u003c/code\u003e decodes every HEADERS block with \u003ccode\u003ecow_hpack:decode/3\u003c/code\u003e. It bounds the compressed block size and the number of fields, but not the size of the decoded header list that RFC 9113 section 6.5.2 places under \u003ccode\u003eSETTINGS_MAX_HEADER_LIST_SIZE\u003c/code\u003e. A peer stores one header value of up to the dynamic table size (4096 bytes by default) and then references it with one-byte indexed fields, so about 100 bytes on the wire decode to a header list of about 390 KB. A consumer that copies the decoded values, as Cowboy does when \u003ccode\u003ecowboy_http2:headers_to_map/2\u003c/code\u003e joins repeated \u003ccode\u003ecookie\u003c/code\u003e fields into one binary, allocates that amount for every stream. The total across streams and connections is not bounded.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.7.0 before 2.22.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowlib allows an unauthenticated remote peer to exhaust the memory of an HTTP/2 endpoint via HPACK-indexed header fields.\n\n`cow_http2_machine:headers_decode/4` in `src/cow_http2_machine.erl` decodes every HEADERS block with `cow_hpack:decode/3`. It bounds the compressed block size and the number of fields, but not the size of the decoded header list that RFC 9113 section 6.5.2 places under `SETTINGS_MAX_HEADER_LIST_SIZE`. A peer stores one header value of up to the dynamic table size (4096 bytes by default) and then references it with one-byte indexed fields, so about 100 bytes on the wire decode to a header list of about 390 KB. A consumer that copies the decoded values, as Cowboy does when `cowboy_http2:headers_to_map/2` joins repeated `cookie` fields into one binary, allocates that amount for every stream. The total across streams and connections is not bounded.\n\nThis issue affects cowlib: from 2.7.0 before 2.22.0."
                }
              ],
              "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowlib allows an unauthenticated remote peer to exhaust the memory of an HTTP/2 endpoint via HPACK-indexed header fields.\n\ncow_http2_machine:headers_decode/4 in src/cow_http2_machine.erl decodes every HEADERS block with cow_hpack:decode/3. It bounds the compressed block size and the number of fields, but not the size of the decoded header list that RFC 9113 section 6.5.2 places under SETTINGS_MAX_HEADER_LIST_SIZE. A peer stores one header value of up to the dynamic table size (4096 bytes by default) and then references it with one-byte indexed fields, so about 100 bytes on the wire decode to a header list of about 390 KB. A consumer that copies the decoded values, as Cowboy does when cowboy_http2:headers_to_map/2 joins repeated cookie fields into one binary, allocates that amount for every stream. The total across streams and connections is not bounded.\n\nThis issue affects cowlib: from 2.7.0 before 2.22.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-491",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eA remote unauthenticated client makes an HTTP/2 server built on cowlib, such as a Cowboy listener, allocate roughly 2,400 times the bytes it sends. One connection reaches about 38 MB with default settings, and an attacker holding many connections can drive the Erlang VM out of memory.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "A remote unauthenticated client makes an HTTP/2 server built on cowlib, such as a Cowboy listener, allocate roughly 2,400 times the bytes it sends. One connection reaches about 38 MB with default settings, and an attacker holding many connections can drive the Erlang VM out of memory."
                    }
                  ],
                  "value": "A remote unauthenticated client makes an HTTP/2 server built on cowlib, such as a Cowboy listener, allocate roughly 2,400 times the bytes it sends. One connection reaches about 38 MB with default settings, and an attacker holding many connections can drive the Erlang VM out of memory."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-19T07:53:49.966Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-113431",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-113431.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-113431",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-113431"
            },
            {
              "name": "Introducing commit b461b11 in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/b461b119e78e4e09bb28b186b09da7ed4a86a0dd"
            },
            {
              "name": "Fix commit a3b15e2 in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/a3b15e29b3067644bfd580246c87f7af7a90b3b8"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Unbounded decoded HTTP/2 header-list size in cowlib cow_http2_machine enables HPACK amplification memory exhaustion",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eCowboy servers that do not need HTTP/2 can set \u003ccode\u003eprotocols =\u0026gt; [http]\u003c/code\u003e in the protocol options. The listener then answers the HTTP/2 preface with \u003ccode\u003e501 Not Implemented\u003c/code\u003e and the decoder is never reached.\u003c/p\u003e\n\u003cp\u003eLowering \u003ccode\u003emax_headers\u003c/code\u003e in the HTTP/2 protocol options shrinks the per-stream allocation in proportion, to about \u003ccode\u003emax_headers\u003c/code\u003e times the 4096-byte table entry. This reduces the amplification but does not remove it.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Cowboy servers that do not need HTTP/2 can set `protocols =\u003e [http]` in the protocol options. The listener then answers the HTTP/2 preface with `501 Not Implemented` and the decoder is never reached.\n\nLowering `max_headers` in the HTTP/2 protocol options shrinks the per-stream allocation in proportion, to about `max_headers` times the 4096-byte table entry. This reduces the amplification but does not remove it."
                }
              ],
              "value": "Cowboy servers that do not need HTTP/2 can set protocols =\u003e [http] in the protocol options. The listener then answers the HTTP/2 preface with 501 Not Implemented and the decoder is never reached.\n\nLowering max_headers in the HTTP/2 protocol options shrinks the per-stream allocation in proportion, to about max_headers times the 4096-byte table entry. This reduces the amplification but does not remove it."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eStart a Cowboy clear listener with default protocol options and a handler that takes a few seconds to reply, so streams stay open.\u003c/li\u003e\n\u003cli\u003eOpen one TCP connection, send the HTTP/2 client preface and an empty SETTINGS frame.\u003c/li\u003e\n\u003cli\u003eOn stream 1 send a HEADERS frame with \u003ccode\u003eEND_HEADERS\u003c/code\u003e and \u003ccode\u003eEND_STREAM\u003c/code\u003e whose block contains \u003ccode\u003e:method\u003c/code\u003e, \u003ccode\u003e:scheme\u003c/code\u003e, \u003ccode\u003e:path\u003c/code\u003e and \u003ccode\u003e:authority\u003c/code\u003e, then one literal \u003ccode\u003ecookie\u003c/code\u003e field with incremental indexing carrying a 4000-byte value, then 95 indexed fields \u003ccode\u003e0xBE\u003c/code\u003e referencing it.\u003c/li\u003e\n\u003cli\u003eOn streams 3 through 199 send the same frame with the four pseudo-headers followed by 96 indexed fields \u003ccode\u003e0xBE\u003c/code\u003e. Each block is 110 bytes.\u003c/li\u003e\n\u003cli\u003eWatch \u003ccode\u003eerlang:memory(binary)\u003c/code\u003e on the server. It grows by about 38 MB for about 16 KB sent, and \u003ccode\u003ecowboy_req:header(\u0026lt;\u0026lt;\"cookie\"\u0026gt;\u0026gt;, Req)\u003c/code\u003e in each handler returns a 384,190-byte binary.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Start a Cowboy clear listener with default protocol options and a handler that takes a few seconds to reply, so streams stay open.\n2. Open one TCP connection, send the HTTP/2 client preface and an empty SETTINGS frame.\n3. On stream 1 send a HEADERS frame with `END_HEADERS` and `END_STREAM` whose block contains `:method`, `:scheme`, `:path` and `:authority`, then one literal `cookie` field with incremental indexing carrying a 4000-byte value, then 95 indexed fields `0xBE` referencing it.\n4. On streams 3 through 199 send the same frame with the four pseudo-headers followed by 96 indexed fields `0xBE`. Each block is 110 bytes.\n5. Watch `erlang:memory(binary)` on the server. It grows by about 38 MB for about 16 KB sent, and `cowboy_req:header(\u003c\u003c\"cookie\"\u003e\u003e, Req)` in each handler returns a 384,190-byte binary."
                }
              ],
              "value": "* Start a Cowboy clear listener with default protocol options and a handler that takes a few seconds to reply, so streams stay open.\n* Open one TCP connection, send the HTTP/2 client preface and an empty SETTINGS frame.\n* On stream 1 send a HEADERS frame with END_HEADERS and END_STREAM whose block contains :method, :scheme, :path and :authority, then one literal cookie field with incremental indexing carrying a 4000-byte value, then 95 indexed fields 0xBE referencing it.\n* On streams 3 through 199 send the same frame with the four pseudo-headers followed by 96 indexed fields 0xBE. Each block is 110 bytes.\n* Watch erlang:memory(binary) on the server. It grows by about 38 MB for about 16 KB sent, and cowboy_req:header(\u003c\u003c\"cookie\"\u003e\u003e, Req) in each handler returns a 384,190-byte binary."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. The decoder bounds everything but the decoded size.\u003c/strong\u003e \u003ccode\u003ecow_http2_machine:headers_decode/4\u003c/code\u003e passes each complete header block to \u003ccode\u003ecow_hpack:decode/3\u003c/code\u003e. Two limits apply: \u003ccode\u003emax_fragmented_header_block_size\u003c/code\u003e (32768 bytes by default) on the compressed block, and \u003ccode\u003emax_headers\u003c/code\u003e (100 by default, added in cowlib 2.17.0) on the number of fields. \u003ccode\u003emax_header_list_size\u003c/code\u003e appears in the module\u0027s option list with a default of \u003ccode\u003einfinity\u003c/code\u003e, next to a \u003ccode\u003e@todo\u003c/code\u003e comment, and is neither advertised in SETTINGS nor enforced on the decoded list, which is what RFC 9113 section 6.5.2 defines it for.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. One-byte fields expand to kilobytes.\u003c/strong\u003e The dynamic table holds entries of up to \u003ccode\u003emax_decode_table_size\u003c/code\u003e (4096 bytes by default). The peer sends one literal field with incremental indexing carrying a 4000-byte value, which becomes table entry 62. Every later field is the single byte \u003ccode\u003e0xBE\u003c/code\u003e, an indexed representation of that entry. A 110-byte block that carries four pseudo-headers and 96 such references decodes to a 100-field list whose values total 384,000 bytes. Before 2.17.0 no field count applied, so a 32 KB block referenced the entry about 32,000 times.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. The allocation is realised by the consumer.\u003c/strong\u003e The list that \u003ccode\u003ecow_hpack\u003c/code\u003e returns is cheap, about 2 KB of heap, because every reference shares the one table binary. Cowboy\u0027s \u003ccode\u003ecowboy_http2:headers_to_map/2\u003c/code\u003e joins repeated fields into a single new binary (\u003ccode\u003e\"; \"\u003c/code\u003e for \u003ccode\u003ecookie\u003c/code\u003e, \u003ccode\u003e\", \"\u003c/code\u003e for other names), so each stream yields a 384,190-byte cookie value that lives in the request process for the life of the stream. Cowboy\u0027s HTTP/1.1 limits \u003ccode\u003emax_header_value_length\u003c/code\u003e and \u003ccode\u003emax_headers\u003c/code\u003e do not apply to HTTP/2. With the default \u003ccode\u003emax_concurrent_streams\u003c/code\u003e of 100 a connection holds about 38 MB, and only the Ranch connection limit bounds the total. Gun hands the decoded list to the owner process without copying the values, so the client side sees a small list per response and no amplification.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Measurement.\u003c/strong\u003e On cowboy 2.20.0 with cowlib 2.21.0 on Erlang/OTP 29, one h2c connection on loopback sent 15,943 bytes of HEADERS for 100 streams. Binary memory grew by 38.4 MB and every handler received a 384,190-byte \u003ccode\u003ecookie\u003c/code\u003e header. A control with the same 100 streams and no indexed fields grew by 0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. The decoder bounds everything but the decoded size.** `cow_http2_machine:headers_decode/4` passes each complete header block to `cow_hpack:decode/3`. Two limits apply: `max_fragmented_header_block_size` (32768 bytes by default) on the compressed block, and `max_headers` (100 by default, added in cowlib 2.17.0) on the number of fields. `max_header_list_size` appears in the module\u0027s option list with a default of `infinity`, next to a `@todo` comment, and is neither advertised in SETTINGS nor enforced on the decoded list, which is what RFC 9113 section 6.5.2 defines it for.\n\n**2. One-byte fields expand to kilobytes.** The dynamic table holds entries of up to `max_decode_table_size` (4096 bytes by default). The peer sends one literal field with incremental indexing carrying a 4000-byte value, which becomes table entry 62. Every later field is the single byte `0xBE`, an indexed representation of that entry. A 110-byte block that carries four pseudo-headers and 96 such references decodes to a 100-field list whose values total 384,000 bytes. Before 2.17.0 no field count applied, so a 32 KB block referenced the entry about 32,000 times.\n\n**3. The allocation is realised by the consumer.** The list that `cow_hpack` returns is cheap, about 2 KB of heap, because every reference shares the one table binary. Cowboy\u0027s `cowboy_http2:headers_to_map/2` joins repeated fields into a single new binary (`\"; \"` for `cookie`, `\", \"` for other names), so each stream yields a 384,190-byte cookie value that lives in the request process for the life of the stream. Cowboy\u0027s HTTP/1.1 limits `max_header_value_length` and `max_headers` do not apply to HTTP/2. With the default `max_concurrent_streams` of 100 a connection holds about 38 MB, and only the Ranch connection limit bounds the total. Gun hands the decoded list to the owner process without copying the values, so the client side sees a small list per response and no amplification.\n\n**4. Measurement.** On cowboy 2.20.0 with cowlib 2.21.0 on Erlang/OTP 29, one h2c connection on loopback sent 15,943 bytes of HEADERS for 100 streams. Binary memory grew by 38.4 MB and every handler received a 384,190-byte `cookie` header. A control with the same 100 streams and no indexed fields grew by 0."
                }
              ],
              "value": "1. The decoder bounds everything but the decoded size. cow_http2_machine:headers_decode/4 passes each complete header block to cow_hpack:decode/3. Two limits apply: max_fragmented_header_block_size (32768 bytes by default) on the compressed block, and max_headers (100 by default, added in cowlib 2.17.0) on the number of fields. max_header_list_size appears in the module\u0027s option list with a default of infinity, next to a @todo comment, and is neither advertised in SETTINGS nor enforced on the decoded list, which is what RFC 9113 section 6.5.2 defines it for.\n\n2. One-byte fields expand to kilobytes. The dynamic table holds entries of up to max_decode_table_size (4096 bytes by default). The peer sends one literal field with incremental indexing carrying a 4000-byte value, which becomes table entry 62. Every later field is the single byte 0xBE, an indexed representation of that entry. A 110-byte block that carries four pseudo-headers and 96 such references decodes to a 100-field list whose values total 384,000 bytes. Before 2.17.0 no field count applied, so a 32 KB block referenced the entry about 32,000 times.\n\n3. The allocation is realised by the consumer. The list that cow_hpack returns is cheap, about 2 KB of heap, because every reference shares the one table binary. Cowboy\u0027s cowboy_http2:headers_to_map/2 joins repeated fields into a single new binary (\"; \" for cookie, \", \" for other names), so each stream yields a 384,190-byte cookie value that lives in the request process for the life of the stream. Cowboy\u0027s HTTP/1.1 limits max_header_value_length and max_headers do not apply to HTTP/2. With the default max_concurrent_streams of 100 a connection holds about 38 MB, and only the Ranch connection limit bounds the total. Gun hands the decoded list to the owner process without copying the values, so the client side sees a small list per response and no amplification.\n\n4. Measurement. On cowboy 2.20.0 with cowlib 2.21.0 on Erlang/OTP 29, one h2c connection on loopback sent 15,943 bytes of HEADERS for 100 streams. Binary memory grew by 38.4 MB and every handler received a 384,190-byte cookie header. A control with the same 100 streams and no indexed fields grew by 0."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-113431",
        "datePublished": "2026-11-06T10:28:15.837Z",
        "dateReserved": "2026-10-30T12:30:02.006Z",
        "dateUpdated": "2026-11-19T07:53:49.966Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43971 (GCVE-0-2026-43971)

    Vulnerability from nvd – Published: 2026-08-18 09:01 – Updated: 2026-09-16 20:24
    VLAI
    Title
    Link Header Directive Smuggling via Unescaped target/rel/Attribute Keys in cow_link:link/1
    Summary
    Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in cow_link:link/1. cow_link:do_link/1 in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized Link: header value without escaping or token-grammar validation. A > byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A " or \ in rel escapes the quoted string and opens new parameters. Any byte — including whitespace, =, and " — in an attribute key is emitted verbatim. Because browsers act on Link: directives such as rel="preconnect", rel="preload", and rel="prerender", an attacker who can influence these fields in an application that round-trips parsed Link headers through cow_link:link/1 can force victim browsers to make out-of-band connections to attacker-controlled origins. This issue affects cowlib: from 2.9.0 before 2.20.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-08-18 14:11 UTC
    CWE
    • CWE-116 - Improper Encoding or Escaping of Output
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 2.9.0 , < 2.20.0 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: 485d58dfa91b91d98135dc95e5615f421715dae5 , < 89da27ee4c241f5d649ba7d9b7f2188918af6cea (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43971",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-08-18T14:11:55.645955Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-08-18T14:12:35.495Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_link"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_link.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_link:link/1"
                },
                {
                  "name": "cow_link:do_link/1"
                },
                {
                  "name": "cow_link:escape/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.20.0",
                  "status": "affected",
                  "version": "2.9.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_link"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_link.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_link:link/1"
                },
                {
                  "name": "cow_link:do_link/1"
                },
                {
                  "name": "cow_link:escape/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "89da27ee4c241f5d649ba7d9b7f2188918af6cea",
                  "status": "affected",
                  "version": "485d58dfa91b91d98135dc95e5615f421715dae5",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must pass values that originate from, or can be influenced by, untrusted input into \u003ccode\u003ecow_link:link/1\u003c/code\u003e \u2014 specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must pass values that originate from, or can be influenced by, untrusted input into `cow_link:link/1` \u2014 specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected."
                }
              ],
              "value": "The application must pass values that originate from, or can be influenced by, untrusted input into cow_link:link/1 \u2014 specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.20.0",
                      "versionStartIncluding": "2.9.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation reviewer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in \u003ccode\u003ecow_link:link/1\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_link:do_link/1\u003c/code\u003e in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized \u003ccode\u003eLink:\u003c/code\u003e header value without escaping or token-grammar validation. A \u003ccode\u003e\u0026gt;\u003c/code\u003e byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A \u003ccode\u003e\"\u003c/code\u003e or \u003ccode\u003e\\\u003c/code\u003e in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, \u003ccode\u003e=\u003c/code\u003e, and \u003ccode\u003e\"\u003c/code\u003e \u2014 in an attribute key is emitted verbatim. Because browsers act on \u003ccode\u003eLink:\u003c/code\u003e directives such as \u003ccode\u003erel=\"preconnect\"\u003c/code\u003e, \u003ccode\u003erel=\"preload\"\u003c/code\u003e, and \u003ccode\u003erel=\"prerender\"\u003c/code\u003e, an attacker who can influence these fields in an application that round-trips parsed Link headers through \u003ccode\u003ecow_link:link/1\u003c/code\u003e can force victim browsers to make out-of-band connections to attacker-controlled origins.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.9.0 before 2.20.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in `cow_link:link/1`.\n\n`cow_link:do_link/1` in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized `Link:` header value without escaping or token-grammar validation. A `\u003e` byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A `\"` or `\\` in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, `=`, and `\"` \u2014 in an attribute key is emitted verbatim. Because browsers act on `Link:` directives such as `rel=\"preconnect\"`, `rel=\"preload\"`, and `rel=\"prerender\"`, an attacker who can influence these fields in an application that round-trips parsed Link headers through `cow_link:link/1` can force victim browsers to make out-of-band connections to attacker-controlled origins.\n\nThis issue affects cowlib: from 2.9.0 before 2.20.0."
                }
              ],
              "value": "Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in cow_link:link/1.\n\ncow_link:do_link/1 in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized Link: header value without escaping or token-grammar validation. A \u003e byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A \" or \\ in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, =, and \" \u2014 in an attribute key is emitted verbatim. Because browsers act on Link: directives such as rel=\"preconnect\", rel=\"preload\", and rel=\"prerender\", an attacker who can influence these fields in an application that round-trips parsed Link headers through cow_link:link/1 can force victim browsers to make out-of-band connections to attacker-controlled origins.\n\nThis issue affects cowlib: from 2.9.0 before 2.20.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-137",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-137 Parameter Injection"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-116",
                  "description": "CWE-116 Improper Encoding or Escaping of Output",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-09-16T20:24:09.279Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43971",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43971.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43971",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43971"
            },
            {
              "name": "Introducing commit 485d58d in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/485d58dfa91b91d98135dc95e5615f421715dae5"
            },
            {
              "name": "Fix commit 89da27e in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/89da27ee4c241f5d649ba7d9b7f2188918af6cea"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Link Header Directive Smuggling via Unescaped target/rel/Attribute Keys in cow_link:link/1",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eSanitize values before passing them to \u003ccode\u003ecow_link:link/1\u003c/code\u003e: reject or strip any target value containing \u003ccode\u003e\u0026gt;\u003c/code\u003e, any rel value containing \u003ccode\u003e\"\u003c/code\u003e or \u003ccode\u003e\\\u003c/code\u003e, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Sanitize values before passing them to `cow_link:link/1`: reject or strip any target value containing `\u003e`, any rel value containing `\"` or `\\`, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input."
                }
              ],
              "value": "Sanitize values before passing them to cow_link:link/1: reject or strip any target value containing \u003e, any rel value containing \" or \\, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43971",
        "datePublished": "2026-08-18T09:01:53.199Z",
        "dateReserved": "2026-05-04T18:23:25.574Z",
        "dateUpdated": "2026-09-16T20:24:09.279Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-65624 (GCVE-0-2026-65624)

    Vulnerability from nvd – Published: 2026-07-28 10:01 – Updated: 2026-11-24 06:06
    VLAI
    Title
    Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion
    Summary
    Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1. The HTTP/1.1 handler in cowboy_http enforces the max_headers limit by counting the number of distinct header names in a map (maps:size(Headers)). When a request contains multiple header lines with the same name, the values are concatenated into a single ever-growing binary stored under that one map key (", " for regular headers, "; " for cookies), so the map size stays at one and the max_headers cap (default 100) is never reached. Because no accumulator bounds the total number of header lines or the total byte size of the header block (only per-line max_header_name_length and max_header_value_length apply), an unauthenticated client can send an arbitrary number of header lines with the same name and grow the connection process's binary memory to arbitrary size within the request window. The impact per connection is bounded by request_timeout (default 5 seconds, not reset by header data), and by max_heap_size when set (the offending connection process is killed once its heap grows past the limit). When max_heap_size is left at the default (unset), sustained abuse can drive the Erlang VM into out-of-memory conditions. This issue affects cowboy: from 2.0.0-pre.4 before 2.18.0.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-07-28 12:38 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    ninenines cowboy Affected: 2.0.0-pre.4 , < 2.18.0 (semver)
        cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowboy Affected: 309780a9fda145c262a47ac7811ffd50a0271c5b , < 3a34d8c1cfd94326466aa16a9017236691dc9c55 (git)
        cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-07-28 10:01
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-65624",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-07-28T12:38:53.899266Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-07-28T12:39:27.067Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cowboy_http"
              ],
              "packageName": "cowboy",
              "packageURL": "pkg:hex/cowboy",
              "product": "cowboy",
              "programFiles": [
                "src/cowboy_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "cowboy_http:parse_header/3"
                },
                {
                  "name": "cowboy_http:parse_hd_value/5"
                }
              ],
              "repo": "https://github.com/ninenines/cowboy",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.18.0",
                  "status": "affected",
                  "version": "2.0.0-pre.4",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cowboy_http"
              ],
              "packageName": "ninenines/cowboy",
              "packageURL": "pkg:github/ninenines/cowboy",
              "product": "cowboy",
              "programFiles": [
                "src/cowboy_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "cowboy_http:parse_header/3"
                },
                {
                  "name": "cowboy_http:parse_hd_value/5"
                }
              ],
              "repo": "https://github.com/ninenines/cowboy",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "3a34d8c1cfd94326466aa16a9017236691dc9c55",
                  "status": "affected",
                  "version": "309780a9fda145c262a47ac7811ffd50a0271c5b",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.18.0",
                      "versionStartIncluding": "2.0.0-pre.4",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Jing Chen / Wuhan University"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Min Shi / Wuhan University"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Qiyi Deng / Wuhan University"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Yongkang Xiao / Wuhan University"
            },
            {
              "lang": "en",
              "type": "analyst",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-07-28T10:01:01.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\u003c/p\u003e\n\u003cp\u003eThe HTTP/1.1 handler in \u003ccode\u003ecowboy_http\u003c/code\u003e enforces the \u003ccode\u003emax_headers\u003c/code\u003e limit by counting the number of distinct header names in a map (\u003ccode\u003emaps:size(Headers)\u003c/code\u003e). When a request contains multiple header lines with the same name, the values are concatenated into a single ever-growing binary stored under that one map key (\u003ccode\u003e\", \"\u003c/code\u003e for regular headers, \u003ccode\u003e\"; \"\u003c/code\u003e for cookies), so the map size stays at one and the \u003ccode\u003emax_headers\u003c/code\u003e cap (default 100) is never reached. Because no accumulator bounds the total number of header lines or the total byte size of the header block (only per-line \u003ccode\u003emax_header_name_length\u003c/code\u003e and \u003ccode\u003emax_header_value_length\u003c/code\u003e apply), an unauthenticated client can send an arbitrary number of header lines with the same name and grow the connection process\u0027s binary memory to arbitrary size within the request window.\u003c/p\u003e\n\u003cp\u003eThe impact per connection is bounded by \u003ccode\u003erequest_timeout\u003c/code\u003e (default 5 seconds, not reset by header data), and by \u003ccode\u003emax_heap_size\u003c/code\u003e when set (the offending connection process is killed once its heap grows past the limit). When \u003ccode\u003emax_heap_size\u003c/code\u003e is left at the default (unset), sustained abuse can drive the Erlang VM into out-of-memory conditions.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowboy: from 2.0.0-pre.4 before 2.18.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\n\nThe HTTP/1.1 handler in `cowboy_http` enforces the `max_headers` limit by counting the number of distinct header names in a map (`maps:size(Headers)`). When a request contains multiple header lines with the same name, the values are concatenated into a single ever-growing binary stored under that one map key (`\", \"` for regular headers, `\"; \"` for cookies), so the map size stays at one and the `max_headers` cap (default 100) is never reached. Because no accumulator bounds the total number of header lines or the total byte size of the header block (only per-line `max_header_name_length` and `max_header_value_length` apply), an unauthenticated client can send an arbitrary number of header lines with the same name and grow the connection process\u0027s binary memory to arbitrary size within the request window.\n\nThe impact per connection is bounded by `request_timeout` (default 5 seconds, not reset by header data), and by `max_heap_size` when set (the offending connection process is killed once its heap grows past the limit). When `max_heap_size` is left at the default (unset), sustained abuse can drive the Erlang VM into out-of-memory conditions.\n\nThis issue affects cowboy: from 2.0.0-pre.4 before 2.18.0."
                }
              ],
              "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\n\nThe HTTP/1.1 handler in cowboy_http enforces the max_headers limit by counting the number of distinct header names in a map (maps:size(Headers)). When a request contains multiple header lines with the same name, the values are concatenated into a single ever-growing binary stored under that one map key (\", \" for regular headers, \"; \" for cookies), so the map size stays at one and the max_headers cap (default 100) is never reached. Because no accumulator bounds the total number of header lines or the total byte size of the header block (only per-line max_header_name_length and max_header_value_length apply), an unauthenticated client can send an arbitrary number of header lines with the same name and grow the connection process\u0027s binary memory to arbitrary size within the request window.\n\nThe impact per connection is bounded by request_timeout (default 5 seconds, not reset by header data), and by max_heap_size when set (the offending connection process is killed once its heap grows past the limit). When max_heap_size is left at the default (unset), sustained abuse can drive the Erlang VM into out-of-memory conditions.\n\nThis issue affects cowboy: from 2.0.0-pre.4 before 2.18.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 6.9,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "LOW",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T06:06:42.425Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-65624",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-65624.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-65624",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-65624"
            },
            {
              "name": "Introducing commit 309780a in ninenines/cowboy",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/309780a9fda145c262a47ac7811ffd50a0271c5b"
            },
            {
              "name": "Fix commit 3a34d8c in ninenines/cowboy",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/3a34d8c1cfd94326466aa16a9017236691dc9c55"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-65624",
        "datePublished": "2026-07-28T10:01:01.811Z",
        "dateReserved": "2026-07-22T13:55:59.401Z",
        "dateUpdated": "2026-11-24T06:06:42.425Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-59248 (GCVE-0-2026-59248)

    Vulnerability from nvd – Published: 2026-07-28 09:54 – Updated: 2026-11-24 05:39
    VLAI
    Title
    Unbounded HPACK/QPACK prefixed-integer decoding in Cowlib causes memory-exhaustion DoS
    Summary
    Allocation of resources without limits vulnerability in ninenines cowlib allows an unauthenticated remote HTTP/2 or HTTP/3 peer to exhaust memory on the vulnerable server (or client) and cause a denial of service. The HPACK and QPACK prefixed-integer decoder cow_hpack_common:dec_big_int/3 in src/cow_hpack_common.hrl (invoked from cow_hpack:decode/2 in src/cow_hpack.erl and from cow_qpack:decode_field_section/3 in src/cow_qpack.erl) reads continuation octets until it sees one whose high bit is clear, evaluating Int + (Value bsl M) at each step with the shift M growing by seven per octet. No limit is enforced on the number of continuation octets, on the resulting bit width, or on the value; the decoder consumes whatever encoded length the peer supplies. Because Erlang integers are immutable, each intermediate Value bsl M and each accumulator update allocates a fresh bignum whose digit width grows linearly with the number of octets processed so far. Summed across the whole decode, the transient bignum digit materialization is on the order of the square of the encoded length. A single maximal HPACK indexed representation carried inside one HTTP/2 HEADERS plus one CONTINUATION frame at Cowboy's default max_frame_size_received can force hundreds of megabytes of transient allocation and garbage-collection churn before the resulting header-table index is rejected as invalid. Repeated or concurrent connections multiply the pressure and can drive the Erlang VM to memory exhaustion. Cowlib is the HTTP parser used by Cowboy, RabbitMQ's management plugin, and other Erlang and Elixir HTTP/2 and HTTP/3 servers and clients, so any exposed endpoint that accepts HPACK or QPACK from an untrusted peer is reachable. This issue affects cowlib: from 2.0.0-pre.1 before 2.19.0.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-07-28 12:39 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 2.0.0-pre.1 , < 2.19.0 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: 5ddecbc121f812aec53d9df91829448d8e94e44c , < f582430498072a0c65ad338030321576dc13a343 (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-07-28 09:54
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-59248",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-07-28T12:39:48.662716Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-07-28T12:40:53.530Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_hpack",
                "cow_qpack"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_hpack_common.hrl",
                "src/cow_hpack.erl",
                "src/cow_qpack.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_hpack:decode/2"
                },
                {
                  "name": "cow_qpack:decode_field_section/3"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.19.0",
                  "status": "affected",
                  "version": "2.0.0-pre.1",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_hpack",
                "cow_qpack"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_hpack_common.hrl",
                "src/cow_hpack.erl",
                "src/cow_qpack.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_hpack:decode/2"
                },
                {
                  "name": "cow_qpack:decode_field_section/3"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "f582430498072a0c65ad338030321576dc13a343",
                  "status": "affected",
                  "version": "5ddecbc121f812aec53d9df91829448d8e94e44c",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.19.0",
                      "versionStartIncluding": "2.0.0-pre.1",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "David Hern\u00e1ndez"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "analyst",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-07-28T09:54:19.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of resources without limits vulnerability in ninenines cowlib allows an unauthenticated remote HTTP/2 or HTTP/3 peer to exhaust memory on the vulnerable server (or client) and cause a denial of service.\u003c/p\u003e\n\u003cp\u003eThe HPACK and QPACK prefixed-integer decoder \u003ccode\u003ecow_hpack_common:dec_big_int/3\u003c/code\u003e in \u003ccode\u003esrc/cow_hpack_common.hrl\u003c/code\u003e (invoked from \u003ccode\u003ecow_hpack:decode/2\u003c/code\u003e in \u003ccode\u003esrc/cow_hpack.erl\u003c/code\u003e and from \u003ccode\u003ecow_qpack:decode_field_section/3\u003c/code\u003e in \u003ccode\u003esrc/cow_qpack.erl\u003c/code\u003e) reads continuation octets until it sees one whose high bit is clear, evaluating \u003ccode\u003eInt + (Value bsl M)\u003c/code\u003e at each step with the shift \u003ccode\u003eM\u003c/code\u003e growing by seven per octet. No limit is enforced on the number of continuation octets, on the resulting bit width, or on the value; the decoder consumes whatever encoded length the peer supplies.\u003c/p\u003e\n\u003cp\u003eBecause Erlang integers are immutable, each intermediate \u003ccode\u003eValue bsl M\u003c/code\u003e and each accumulator update allocates a fresh bignum whose digit width grows linearly with the number of octets processed so far. Summed across the whole decode, the transient bignum digit materialization is on the order of the square of the encoded length. A single maximal HPACK indexed representation carried inside one HTTP/2 \u003ccode\u003eHEADERS\u003c/code\u003e plus one \u003ccode\u003eCONTINUATION\u003c/code\u003e frame at Cowboy\u0027s default \u003ccode\u003emax_frame_size_received\u003c/code\u003e can force hundreds of megabytes of transient allocation and garbage-collection churn before the resulting header-table index is rejected as invalid. Repeated or concurrent connections multiply the pressure and can drive the Erlang VM to memory exhaustion.\u003c/p\u003e\n\u003cp\u003eCowlib is the HTTP parser used by Cowboy, RabbitMQ\u0027s management plugin, and other Erlang and Elixir HTTP/2 and HTTP/3 servers and clients, so any exposed endpoint that accepts HPACK or QPACK from an untrusted peer is reachable.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.0.0-pre.1 before 2.19.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of resources without limits vulnerability in ninenines cowlib allows an unauthenticated remote HTTP/2 or HTTP/3 peer to exhaust memory on the vulnerable server (or client) and cause a denial of service.\n\nThe HPACK and QPACK prefixed-integer decoder `cow_hpack_common:dec_big_int/3` in `src/cow_hpack_common.hrl` (invoked from `cow_hpack:decode/2` in `src/cow_hpack.erl` and from `cow_qpack:decode_field_section/3` in `src/cow_qpack.erl`) reads continuation octets until it sees one whose high bit is clear, evaluating `Int + (Value bsl M)` at each step with the shift `M` growing by seven per octet. No limit is enforced on the number of continuation octets, on the resulting bit width, or on the value; the decoder consumes whatever encoded length the peer supplies.\n\nBecause Erlang integers are immutable, each intermediate `Value bsl M` and each accumulator update allocates a fresh bignum whose digit width grows linearly with the number of octets processed so far. Summed across the whole decode, the transient bignum digit materialization is on the order of the square of the encoded length. A single maximal HPACK indexed representation carried inside one HTTP/2 `HEADERS` plus one `CONTINUATION` frame at Cowboy\u0027s default `max_frame_size_received` can force hundreds of megabytes of transient allocation and garbage-collection churn before the resulting header-table index is rejected as invalid. Repeated or concurrent connections multiply the pressure and can drive the Erlang VM to memory exhaustion.\n\nCowlib is the HTTP parser used by Cowboy, RabbitMQ\u0027s management plugin, and other Erlang and Elixir HTTP/2 and HTTP/3 servers and clients, so any exposed endpoint that accepts HPACK or QPACK from an untrusted peer is reachable.\n\nThis issue affects cowlib: from 2.0.0-pre.1 before 2.19.0."
                }
              ],
              "value": "Allocation of resources without limits vulnerability in ninenines cowlib allows an unauthenticated remote HTTP/2 or HTTP/3 peer to exhaust memory on the vulnerable server (or client) and cause a denial of service.\n\nThe HPACK and QPACK prefixed-integer decoder cow_hpack_common:dec_big_int/3 in src/cow_hpack_common.hrl (invoked from cow_hpack:decode/2 in src/cow_hpack.erl and from cow_qpack:decode_field_section/3 in src/cow_qpack.erl) reads continuation octets until it sees one whose high bit is clear, evaluating Int + (Value bsl M) at each step with the shift M growing by seven per octet. No limit is enforced on the number of continuation octets, on the resulting bit width, or on the value; the decoder consumes whatever encoded length the peer supplies.\n\nBecause Erlang integers are immutable, each intermediate Value bsl M and each accumulator update allocates a fresh bignum whose digit width grows linearly with the number of octets processed so far. Summed across the whole decode, the transient bignum digit materialization is on the order of the square of the encoded length. A single maximal HPACK indexed representation carried inside one HTTP/2 HEADERS plus one CONTINUATION frame at Cowboy\u0027s default max_frame_size_received can force hundreds of megabytes of transient allocation and garbage-collection churn before the resulting header-table index is rejected as invalid. Repeated or concurrent connections multiply the pressure and can drive the Erlang VM to memory exhaustion.\n\nCowlib is the HTTP parser used by Cowboy, RabbitMQ\u0027s management plugin, and other Erlang and Elixir HTTP/2 and HTTP/3 servers and clients, so any exposed endpoint that accepts HPACK or QPACK from an untrusted peer is reachable.\n\nThis issue affects cowlib: from 2.0.0-pre.1 before 2.19.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T05:39:07.650Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-59248",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-59248.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-59248",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-59248"
            },
            {
              "name": "Introducing commit 5ddecbc in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/5ddecbc121f812aec53d9df91829448d8e94e44c"
            },
            {
              "name": "Fix commit f582430 in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/f582430498072a0c65ad338030321576dc13a343"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Unbounded HPACK/QPACK prefixed-integer decoding in Cowlib causes memory-exhaustion DoS"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-59248",
        "datePublished": "2026-07-28T09:54:19.579Z",
        "dateReserved": "2026-07-04T04:24:03.652Z",
        "dateUpdated": "2026-11-24T05:39:07.650Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43966 (GCVE-0-2026-43966)

    Vulnerability from nvd – Published: 2026-06-08 16:34 – Updated: 2026-11-19 08:18
    VLAI
    Title
    HTTP Response Splitting via Non-VCHAR Bytes in cow_http_struct_hd:escape_string/2
    Summary
    Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in ninenines cowlib allows HTTP response splitting via non-VCHAR bytes in structured-fields string values. cow_http_struct_hd:escape_string/2 in cowlib only escapes \ and ", passing all other bytes through verbatim. This creates an encoder/decoder asymmetry: the matching parser accepts only printable ASCII (0x20–0x7E, excluding " and \), but the encoder emits any byte including CR and LF. An application that builds a structured HTTP header via cow_http_struct_hd:item/1 (or a higher-level wrapper such as cow_http_hd:wt_protocol/1) from attacker-controlled input can have \r\n injected into the serialized header value. Once on the wire, the injected CRLF terminates the current header and any following bytes are interpreted as a new header, enabling HTTP response splitting. This issue affects cowlib: from 2.9.0 before 2.22.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-06-08 18:37 UTC
    CWE
    • CWE-113 - Improper Neutralization of CRLF Sequences in HTTP Headers
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 2.9.0 , < 2.22.0 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: a8b793db3d6ffe91d62f81baf41b1dab4cd78fb6 , < 4401b858f2229abb3ea115c60924f6c77e5f8aa3 (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-10-14 09:20
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43966",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-06-08T18:37:59.853576Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-06-08T18:38:08.160Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_http_struct_hd"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_http_struct_hd.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_http_struct_hd:escape_string/2"
                },
                {
                  "name": "cow_http_struct_hd:bare_item/1"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.22.0",
                  "status": "affected",
                  "version": "2.9.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_http_struct_hd"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_http_struct_hd.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_http_struct_hd:escape_string/2"
                },
                {
                  "name": "cow_http_struct_hd:bare_item/1"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "4401b858f2229abb3ea115c60924f6c77e5f8aa3",
                  "status": "affected",
                  "version": "a8b793db3d6ffe91d62f81baf41b1dab4cd78fb6",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must pass attacker-controlled data as a string value into \u003ccode\u003ecow_http_struct_hd:item/1\u003c/code\u003e (or a wrapper that delegates to it). Applications that construct structured-fields header values exclusively from trusted, application-controlled values are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must pass attacker-controlled data as a string value into `cow_http_struct_hd:item/1` (or a wrapper that delegates to it). Applications that construct structured-fields header values exclusively from trusted, application-controlled values are not affected."
                }
              ],
              "value": "The application must pass attacker-controlled data as a string value into cow_http_struct_hd:item/1 (or a wrapper that delegates to it). Applications that construct structured-fields header values exclusively from trusted, application-controlled values are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.22.0",
                      "versionStartIncluding": "2.9.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-10-14T09:20:41.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Neutralization of CRLF Sequences in HTTP Headers (\u0027HTTP Request/Response Splitting\u0027) vulnerability in ninenines cowlib allows HTTP response splitting via non-VCHAR bytes in structured-fields string values.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_http_struct_hd:escape_string/2\u003c/code\u003e in cowlib only escapes \u003ccode\u003e\\\u003c/code\u003e and \u003ccode\u003e\"\u003c/code\u003e, passing all other bytes through verbatim. This creates an encoder/decoder asymmetry: the matching parser accepts only printable ASCII (0x20\u20130x7E, excluding \u003ccode\u003e\"\u003c/code\u003e and \u003ccode\u003e\\\u003c/code\u003e), but the encoder emits any byte including CR and LF. An application that builds a structured HTTP header via \u003ccode\u003ecow_http_struct_hd:item/1\u003c/code\u003e (or a higher-level wrapper such as \u003ccode\u003ecow_http_hd:wt_protocol/1\u003c/code\u003e) from attacker-controlled input can have \u003ccode\u003e\\r\\n\u003c/code\u003e injected into the serialized header value. Once on the wire, the injected CRLF terminates the current header and any following bytes are interpreted as a new header, enabling HTTP response splitting.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.9.0 before 2.22.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Neutralization of CRLF Sequences in HTTP Headers (\u0027HTTP Request/Response Splitting\u0027) vulnerability in ninenines cowlib allows HTTP response splitting via non-VCHAR bytes in structured-fields string values.\n\n`cow_http_struct_hd:escape_string/2` in cowlib only escapes `\\` and `\"`, passing all other bytes through verbatim. This creates an encoder/decoder asymmetry: the matching parser accepts only printable ASCII (0x20\u20130x7E, excluding `\"` and `\\`), but the encoder emits any byte including CR and LF. An application that builds a structured HTTP header via `cow_http_struct_hd:item/1` (or a higher-level wrapper such as `cow_http_hd:wt_protocol/1`) from attacker-controlled input can have `\\r\\n` injected into the serialized header value. Once on the wire, the injected CRLF terminates the current header and any following bytes are interpreted as a new header, enabling HTTP response splitting.\n\nThis issue affects cowlib: from 2.9.0 before 2.22.0."
                }
              ],
              "value": "Improper Neutralization of CRLF Sequences in HTTP Headers (\u0027HTTP Request/Response Splitting\u0027) vulnerability in ninenines cowlib allows HTTP response splitting via non-VCHAR bytes in structured-fields string values.\n\ncow_http_struct_hd:escape_string/2 in cowlib only escapes \\ and \", passing all other bytes through verbatim. This creates an encoder/decoder asymmetry: the matching parser accepts only printable ASCII (0x20\u20130x7E, excluding \" and \\), but the encoder emits any byte including CR and LF. An application that builds a structured HTTP header via cow_http_struct_hd:item/1 (or a higher-level wrapper such as cow_http_hd:wt_protocol/1) from attacker-controlled input can have \\r\\n injected into the serialized header value. Once on the wire, the injected CRLF terminates the current header and any following bytes are interpreted as a new header, enabling HTTP response splitting.\n\nThis issue affects cowlib: from 2.9.0 before 2.22.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-34",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-34 HTTP Response Splitting"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-113",
                  "description": "CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-19T08:18:38.614Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "cowboy: Add invalid_response_headers HTTP/1 option",
              "tags": [
                "mitigation"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/f77cb9b5e730e300fffb551db1ba5d1c4ed878ef"
            },
            {
              "name": "EEF CNA record for CVE-2026-43966",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43966.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43966",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43966"
            },
            {
              "name": "gun: Add invalid_request_headers request option",
              "tags": [
                "mitigation"
              ],
              "url": "https://github.com/ninenines/gun/commit/4f35609eb37109b106a863fc9ba83d7ee64e3e42"
            },
            {
              "name": "Introducing commit a8b793d in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/a8b793db3d6ffe91d62f81baf41b1dab4cd78fb6"
            },
            {
              "name": "Fix commit 4401b85 in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/4401b858f2229abb3ea115c60924f6c77e5f8aa3"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "HTTP Response Splitting via Non-VCHAR Bytes in cow_http_struct_hd:escape_string/2",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eValidate all values passed into structured-fields header builders (directly via \u003ccode\u003ecow_http_struct_hd:item/1\u003c/code\u003e or indirectly via higher-level wrappers) before calling the encoder. Reject any value that is not from a trusted, application-controlled source or that contains CR (\u003ccode\u003e\\r\u003c/code\u003e) or LF (\u003ccode\u003e\\n\u003c/code\u003e) bytes.\u003c/p\u003e\n\u003cp\u003eApplications using cowboy 2.16.0 or later are protected on the server side by the \u003ccode\u003einvalid_response_headers\u003c/code\u003e option (defaults to \u003ccode\u003eerror_terminate\u003c/code\u003e), which rejects any outgoing response header value containing CR or LF before it reaches the wire. Applications using gun 2.4.0 or later are protected on the client side by the \u003ccode\u003einvalid_request_headers\u003c/code\u003e request option (defaults to \u003ccode\u003eraise\u003c/code\u003e), which raises an exception when an outgoing request header value contains CR or LF.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Validate all values passed into structured-fields header builders (directly via `cow_http_struct_hd:item/1` or indirectly via higher-level wrappers) before calling the encoder. Reject any value that is not from a trusted, application-controlled source or that contains CR (`\\r`) or LF (`\\n`) bytes.\n\nApplications using cowboy 2.16.0 or later are protected on the server side by the `invalid_response_headers` option (defaults to `error_terminate`), which rejects any outgoing response header value containing CR or LF before it reaches the wire. Applications using gun 2.4.0 or later are protected on the client side by the `invalid_request_headers` request option (defaults to `raise`), which raises an exception when an outgoing request header value contains CR or LF."
                }
              ],
              "value": "Validate all values passed into structured-fields header builders (directly via cow_http_struct_hd:item/1 or indirectly via higher-level wrappers) before calling the encoder. Reject any value that is not from a trusted, application-controlled source or that contains CR (\\r) or LF (\\n) bytes.\n\nApplications using cowboy 2.16.0 or later are protected on the server side by the invalid_response_headers option (defaults to error_terminate), which rejects any outgoing response header value containing CR or LF before it reaches the wire. Applications using gun 2.4.0 or later are protected on the client side by the invalid_request_headers request option (defaults to raise), which raises an exception when an outgoing request header value contains CR or LF."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43966",
        "datePublished": "2026-06-08T16:34:33.364Z",
        "dateReserved": "2026-05-04T18:23:25.573Z",
        "dateUpdated": "2026-11-19T08:18:38.614Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43974 (GCVE-0-2026-43974)

    Vulnerability from nvd – Published: 2026-06-08 14:12 – Updated: 2026-11-20 06:44
    VLAI
    Title
    gun HTTP/1.1 client accepts unsolicited 101 Switching Protocols response allowing server-driven protocol hijack and OOM
    Summary
    Unexpected Status Code or Return Value vulnerability in ninenines gun (gun_http module) allows a malicious HTTP server to force the client into raw protocol mode via an unsolicited 101 Switching Protocols response. In gun_http:handle_inform/8, when a 101 Switching Protocols response is received over HTTP/1.1, the function verifies only that the Upgrade header is syntactically valid and that the stream reference is a plain reference(). It does not check whether the client ever sent an Upgrade or Connection: upgrade header on the corresponding request. Because this check is absent, any 101 response (solicited or not) causes gun to dispatch a gun_upgrade message to the caller and transition the entire connection to raw protocol mode. A malicious or compromised HTTP server can send an unsolicited 101 response to any HTTP/1.1 request, causing the gun client to abandon HTTP framing for that connection. Once in raw mode, gun_raw applies no flow control (flow=infinity) and re-arms socket active mode after every received packet, so the server can flood the client with arbitrary bytes. These are forwarded as unbounded gun_data messages to the owner process, exhausting its mailbox and BEAM memory, ultimately crashing the VM. This issue affects gun: from 2.0.0-pre.1 before 2.4.0.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-06-08 15:41 UTC
    CWE
    • CWE-841 - Improper Enforcement of Behavioral Workflow
    Impacted products
    Vendor Product Version
    ninenines gun Affected: 2.0.0-pre.1 , < 2.4.0 (semver)
        cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines gun Affected: a3c2edbb8c807717e2f10520c6cf1e77a62eab2e , < 5b48068c29ce5e112cb149b5857c7d4dc319a81b (git)
        cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-06-08 14:12
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43974",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-06-08T15:41:42.657559Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-06-08T15:41:49.498Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "gun_http"
              ],
              "packageName": "gun",
              "packageURL": "pkg:hex/gun",
              "product": "gun",
              "programFiles": [
                "src/gun_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "gun_http:handle_head/4"
                },
                {
                  "name": "gun_http:handle_inform/7"
                },
                {
                  "name": "gun_http:handle_inform/8"
                }
              ],
              "repo": "https://github.com/ninenines/gun",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.4.0",
                  "status": "affected",
                  "version": "2.0.0-pre.1",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "gun_http"
              ],
              "packageName": "ninenines/gun",
              "packageURL": "pkg:github/ninenines/gun",
              "product": "gun",
              "programFiles": [
                "src/gun_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "gun_http:handle_head/4"
                },
                {
                  "name": "gun_http:handle_inform/7"
                },
                {
                  "name": "gun_http:handle_inform/8"
                }
              ],
              "repo": "https://github.com/ninenines/gun",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "5b48068c29ce5e112cb149b5857c7d4dc319a81b",
                  "status": "affected",
                  "version": "a3c2edbb8c807717e2f10520c6cf1e77a62eab2e",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.4.0",
                      "versionStartIncluding": "2.0.0-pre.1",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-06-08T14:12:36.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUnexpected Status Code or Return Value vulnerability in ninenines gun (\u003ccode\u003egun_http\u003c/code\u003e module) allows a malicious HTTP server to force the client into raw protocol mode via an unsolicited 101 Switching Protocols response.\u003c/p\u003e\n\u003cp\u003eIn \u003ccode\u003egun_http:handle_inform/8\u003c/code\u003e, when a \u003ccode\u003e101 Switching Protocols\u003c/code\u003e response is received over HTTP/1.1, the function verifies only that the \u003ccode\u003eUpgrade\u003c/code\u003e header is syntactically valid and that the stream reference is a plain \u003ccode\u003ereference()\u003c/code\u003e. It does not check whether the client ever sent an \u003ccode\u003eUpgrade\u003c/code\u003e or \u003ccode\u003eConnection: upgrade\u003c/code\u003e header on the corresponding request. Because this check is absent, any 101 response (solicited or not) causes gun to dispatch a \u003ccode\u003egun_upgrade\u003c/code\u003e message to the caller and transition the entire connection to raw protocol mode.\u003c/p\u003e\n\u003cp\u003eA malicious or compromised HTTP server can send an unsolicited 101 response to any HTTP/1.1 request, causing the gun client to abandon HTTP framing for that connection. Once in raw mode, \u003ccode\u003egun_raw\u003c/code\u003e applies no flow control (\u003ccode\u003eflow=infinity\u003c/code\u003e) and re-arms socket \u003ccode\u003eactive\u003c/code\u003e mode after every received packet, so the server can flood the client with arbitrary bytes. These are forwarded as unbounded \u003ccode\u003egun_data\u003c/code\u003e messages to the owner process, exhausting its mailbox and BEAM memory, ultimately crashing the VM.\u003c/p\u003e\n\u003cp\u003eThis issue affects gun: from 2.0.0-pre.1 before 2.4.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Unexpected Status Code or Return Value vulnerability in ninenines gun (`gun_http` module) allows a malicious HTTP server to force the client into raw protocol mode via an unsolicited 101 Switching Protocols response.\n\nIn `gun_http:handle_inform/8`, when a `101 Switching Protocols` response is received over HTTP/1.1, the function verifies only that the `Upgrade` header is syntactically valid and that the stream reference is a plain `reference()`. It does not check whether the client ever sent an `Upgrade` or `Connection: upgrade` header on the corresponding request. Because this check is absent, any 101 response (solicited or not) causes gun to dispatch a `gun_upgrade` message to the caller and transition the entire connection to raw protocol mode.\n\nA malicious or compromised HTTP server can send an unsolicited 101 response to any HTTP/1.1 request, causing the gun client to abandon HTTP framing for that connection. Once in raw mode, `gun_raw` applies no flow control (`flow=infinity`) and re-arms socket `active` mode after every received packet, so the server can flood the client with arbitrary bytes. These are forwarded as unbounded `gun_data` messages to the owner process, exhausting its mailbox and BEAM memory, ultimately crashing the VM.\n\nThis issue affects gun: from 2.0.0-pre.1 before 2.4.0."
                }
              ],
              "value": "Unexpected Status Code or Return Value vulnerability in ninenines gun (gun_http module) allows a malicious HTTP server to force the client into raw protocol mode via an unsolicited 101 Switching Protocols response.\n\nIn gun_http:handle_inform/8, when a 101 Switching Protocols response is received over HTTP/1.1, the function verifies only that the Upgrade header is syntactically valid and that the stream reference is a plain reference(). It does not check whether the client ever sent an Upgrade or Connection: upgrade header on the corresponding request. Because this check is absent, any 101 response (solicited or not) causes gun to dispatch a gun_upgrade message to the caller and transition the entire connection to raw protocol mode.\n\nA malicious or compromised HTTP server can send an unsolicited 101 response to any HTTP/1.1 request, causing the gun client to abandon HTTP framing for that connection. Once in raw mode, gun_raw applies no flow control (flow=infinity) and re-arms socket active mode after every received packet, so the server can flood the client with arbitrary bytes. These are forwarded as unbounded gun_data messages to the owner process, exhausting its mailbox and BEAM memory, ultimately crashing the VM.\n\nThis issue affects gun: from 2.0.0-pre.1 before 2.4.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-220",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-220 Client-Server Protocol Manipulation"
                }
              ]
            },
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-841",
                  "description": "CWE-841 Improper Enforcement of Behavioral Workflow",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:44:12.030Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43974",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43974.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43974",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43974"
            },
            {
              "name": "Introducing commit a3c2edb in ninenines/gun",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/gun/commit/a3c2edbb8c807717e2f10520c6cf1e77a62eab2e"
            },
            {
              "name": "Fix commit 5b48068 in ninenines/gun",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/gun/commit/5b48068c29ce5e112cb149b5857c7d4dc319a81b"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "gun HTTP/1.1 client accepts unsolicited 101 Switching Protocols response allowing server-driven protocol hijack and OOM"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43974",
        "datePublished": "2026-06-08T14:12:36.957Z",
        "dateReserved": "2026-05-04T18:23:25.574Z",
        "dateUpdated": "2026-11-20T06:44:12.030Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43973 (GCVE-0-2026-43973)

    Vulnerability from nvd – Published: 2026-06-08 14:12 – Updated: 2026-11-20 06:42
    VLAI
    Title
    gun HTTP/1.1 response buffer has no size limit allowing server-controlled memory exhaustion
    Summary
    Uncontrolled Resource Consumption vulnerability in ninenines gun (gun_http module) allows a malicious server to exhaust client memory via unbounded HTTP/1.1 response buffering. In gun_http:handle/5, three clauses accumulate incoming TCP data into the connection's buffer field using binary concatenation with no upper-bound check: the head clause appends data until the \r\n\r\n header terminator is found; the body_chunked clause appends data whenever cow_http_te:stream_chunked/2 returns a more result indicating an incomplete chunk boundary; and the body_trailer clause appends data until the trailing \r\n\r\n is found. In each case, when the expected terminator never arrives, the enlarged binary is stored back into state and the process waits for more data, with no configurable or hard-coded ceiling on buffer size. A malicious or compromised server can exploit this by sending a partial response that never completes. For example, a response may begin with HTTP/1.1 200 OK\r\nX-Pad: followed by an unbounded stream of arbitrary bytes, never sending the header terminator. The gun connection process will continuously append the incoming data to its buffer, causing unbounded heap growth. Because BEAM imposes no per-process heap limit by default, a single malicious connection can exhaust all available memory on the node, causing a node-wide out-of-memory crash. This issue affects gun: from 1.0.0-pre.1 before 2.4.0.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-06-08 15:48 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    ninenines gun Affected: 1.0.0-pre.1 , < 2.4.0 (semver)
        cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines gun Affected: 11dfe71f4b9aedaaedea2ad3b2f32fd006a8480f , < f3e7e0568b3c4cf9fa4bea79d5116e67ce76ad25 (git)
        cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-06-08 14:12
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43973",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-06-08T15:48:05.292583Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-06-08T15:48:12.581Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "gun_http"
              ],
              "packageName": "gun",
              "packageURL": "pkg:hex/gun",
              "product": "gun",
              "programFiles": [
                "src/gun_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "gun_http:handle/2"
                },
                {
                  "name": "gun_http:handle/4"
                },
                {
                  "name": "gun_http:handle/5"
                }
              ],
              "repo": "https://github.com/ninenines/gun",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.4.0",
                  "status": "affected",
                  "version": "1.0.0-pre.1",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "gun_http"
              ],
              "packageName": "ninenines/gun",
              "packageURL": "pkg:github/ninenines/gun",
              "product": "gun",
              "programFiles": [
                "src/gun_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "gun_http:handle/2"
                },
                {
                  "name": "gun_http:handle/4"
                },
                {
                  "name": "gun_http:handle/5"
                }
              ],
              "repo": "https://github.com/ninenines/gun",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "f3e7e0568b3c4cf9fa4bea79d5116e67ce76ad25",
                  "status": "affected",
                  "version": "11dfe71f4b9aedaaedea2ad3b2f32fd006a8480f",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.4.0",
                      "versionStartIncluding": "1.0.0-pre.1",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-06-08T14:12:42.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUncontrolled Resource Consumption vulnerability in ninenines gun (\u003ccode\u003egun_http\u003c/code\u003e module) allows a malicious server to exhaust client memory via unbounded HTTP/1.1 response buffering.\u003c/p\u003e\n\u003cp\u003eIn \u003ccode\u003egun_http:handle/5\u003c/code\u003e, three clauses accumulate incoming TCP data into the connection\u0027s \u003ccode\u003ebuffer\u003c/code\u003e field using binary concatenation with no upper-bound check: the \u003ccode\u003ehead\u003c/code\u003e clause appends data until the \u003ccode\u003e\\r\\n\\r\\n\u003c/code\u003e header terminator is found; the \u003ccode\u003ebody_chunked\u003c/code\u003e clause appends data whenever \u003ccode\u003ecow_http_te:stream_chunked/2\u003c/code\u003e returns a \u003ccode\u003emore\u003c/code\u003e result indicating an incomplete chunk boundary; and the \u003ccode\u003ebody_trailer\u003c/code\u003e clause appends data until the trailing \u003ccode\u003e\\r\\n\\r\\n\u003c/code\u003e is found. In each case, when the expected terminator never arrives, the enlarged binary is stored back into state and the process waits for more data, with no configurable or hard-coded ceiling on buffer size.\u003c/p\u003e\n\u003cp\u003eA malicious or compromised server can exploit this by sending a partial response that never completes. For example, a response may begin with \u003ccode\u003eHTTP/1.1 200 OK\\r\\nX-Pad: \u003c/code\u003e followed by an unbounded stream of arbitrary bytes, never sending the header terminator. The gun connection process will continuously append the incoming data to its buffer, causing unbounded heap growth. Because BEAM imposes no per-process heap limit by default, a single malicious connection can exhaust all available memory on the node, causing a node-wide out-of-memory crash.\u003c/p\u003e\n\u003cp\u003eThis issue affects gun: from 1.0.0-pre.1 before 2.4.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Uncontrolled Resource Consumption vulnerability in ninenines gun (`gun_http` module) allows a malicious server to exhaust client memory via unbounded HTTP/1.1 response buffering.\n\nIn `gun_http:handle/5`, three clauses accumulate incoming TCP data into the connection\u0027s `buffer` field using binary concatenation with no upper-bound check: the `head` clause appends data until the `\\r\\n\\r\\n` header terminator is found; the `body_chunked` clause appends data whenever `cow_http_te:stream_chunked/2` returns a `more` result indicating an incomplete chunk boundary; and the `body_trailer` clause appends data until the trailing `\\r\\n\\r\\n` is found. In each case, when the expected terminator never arrives, the enlarged binary is stored back into state and the process waits for more data, with no configurable or hard-coded ceiling on buffer size.\n\nA malicious or compromised server can exploit this by sending a partial response that never completes. For example, a response may begin with `HTTP/1.1 200 OK\\r\\nX-Pad: ` followed by an unbounded stream of arbitrary bytes, never sending the header terminator. The gun connection process will continuously append the incoming data to its buffer, causing unbounded heap growth. Because BEAM imposes no per-process heap limit by default, a single malicious connection can exhaust all available memory on the node, causing a node-wide out-of-memory crash.\n\nThis issue affects gun: from 1.0.0-pre.1 before 2.4.0."
                }
              ],
              "value": "Uncontrolled Resource Consumption vulnerability in ninenines gun (gun_http module) allows a malicious server to exhaust client memory via unbounded HTTP/1.1 response buffering.\n\nIn gun_http:handle/5, three clauses accumulate incoming TCP data into the connection\u0027s buffer field using binary concatenation with no upper-bound check: the head clause appends data until the \\r\\n\\r\\n header terminator is found; the body_chunked clause appends data whenever cow_http_te:stream_chunked/2 returns a more result indicating an incomplete chunk boundary; and the body_trailer clause appends data until the trailing \\r\\n\\r\\n is found. In each case, when the expected terminator never arrives, the enlarged binary is stored back into state and the process waits for more data, with no configurable or hard-coded ceiling on buffer size.\n\nA malicious or compromised server can exploit this by sending a partial response that never completes. For example, a response may begin with HTTP/1.1 200 OK\\r\\nX-Pad:  followed by an unbounded stream of arbitrary bytes, never sending the header terminator. The gun connection process will continuously append the incoming data to its buffer, causing unbounded heap growth. Because BEAM imposes no per-process heap limit by default, a single malicious connection can exhaust all available memory on the node, causing a node-wide out-of-memory crash.\n\nThis issue affects gun: from 1.0.0-pre.1 before 2.4.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:42:30.715Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43973",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43973.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43973",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43973"
            },
            {
              "name": "Introducing commit 11dfe71 in ninenines/gun",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/gun/commit/11dfe71f4b9aedaaedea2ad3b2f32fd006a8480f"
            },
            {
              "name": "Fix commit f3e7e05 in ninenines/gun",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/gun/commit/f3e7e0568b3c4cf9fa4bea79d5116e67ce76ad25"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "gun HTTP/1.1 response buffer has no size limit allowing server-controlled memory exhaustion"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43973",
        "datePublished": "2026-06-08T14:12:42.128Z",
        "dateReserved": "2026-05-04T18:23:25.574Z",
        "dateUpdated": "2026-11-20T06:42:30.715Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43972 (GCVE-0-2026-43972)

    Vulnerability from nvd – Published: 2026-06-08 14:12 – Updated: 2026-11-20 06:39
    VLAI
    Title
    gun HTTP/2 PUSH_PROMISE authority not validated against connection origin allows cross-origin cookie injection
    Summary
    Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority. In gun_http2:push_promise_frame/7, the :authority pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection's origin. When gun_http2:headers_frame/9 later processes the response headers for the promised stream, it calls gun_cookies:set_cookie_header/7 with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 §10.6 / RFC 9113 §8.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for. A malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client's shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required. This issue affects gun: from 2.0.0-pre.2 before 2.4.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-06-08 15:42 UTC
    CWE
    • CWE-346 - Origin Validation Error
    Impacted products
    Vendor Product Version
    ninenines gun Affected: 2.0.0-pre.2 , < 2.4.0 (semver)
        cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines gun Affected: 87d0bfff926892d2dc0a55a3dc45d8c5f8a682f3 , < 567863ff53802fed21c3b3f25812db7f7ae29676 (git)
        cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-06-08 14:12
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43972",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-06-08T15:42:59.352280Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-06-08T15:43:06.577Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "gun_http2"
              ],
              "packageName": "gun",
              "packageURL": "pkg:hex/gun",
              "product": "gun",
              "programFiles": [
                "src/gun_http2.erl"
              ],
              "programRoutines": [
                {
                  "name": "gun_http2:push_promise_frame/7"
                },
                {
                  "name": "gun_http2:headers_frame/8"
                },
                {
                  "name": "gun_http2:headers_frame/9"
                }
              ],
              "repo": "https://github.com/ninenines/gun",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.4.0",
                  "status": "affected",
                  "version": "2.0.0-pre.2",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "gun_http2"
              ],
              "packageName": "ninenines/gun",
              "packageURL": "pkg:github/ninenines/gun",
              "product": "gun",
              "programFiles": [
                "src/gun_http2.erl"
              ],
              "programRoutines": [
                {
                  "name": "gun_http2:push_promise_frame/7"
                },
                {
                  "name": "gun_http2:headers_frame/8"
                },
                {
                  "name": "gun_http2:headers_frame/9"
                }
              ],
              "repo": "https://github.com/ninenines/gun",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "567863ff53802fed21c3b3f25812db7f7ae29676",
                  "status": "affected",
                  "version": "87d0bfff926892d2dc0a55a3dc45d8c5f8a682f3",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe vulnerability is exploitable only when gun is configured with a \u003ccode\u003ecookie_store\u003c/code\u003e and connects to an HTTP/2 server with server push enabled.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The vulnerability is exploitable only when gun is configured with a `cookie_store` and connects to an HTTP/2 server with server push enabled."
                }
              ],
              "value": "The vulnerability is exploitable only when gun is configured with a cookie_store and connects to an HTTP/2 server with server push enabled."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.4.0",
                      "versionStartIncluding": "2.0.0-pre.2",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-06-08T14:12:38.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOrigin Validation Error vulnerability in ninenines gun (\u003ccode\u003egun_http2\u003c/code\u003e module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\u003c/p\u003e\n\u003cp\u003eIn \u003ccode\u003egun_http2:push_promise_frame/7\u003c/code\u003e, the \u003ccode\u003e:authority\u003c/code\u003e pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection\u0027s origin. When \u003ccode\u003egun_http2:headers_frame/9\u003c/code\u003e later processes the response headers for the promised stream, it calls \u003ccode\u003egun_cookies:set_cookie_header/7\u003c/code\u003e with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 \u00a710.6 / RFC 9113 \u00a78.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for.\u003c/p\u003e\n\u003cp\u003eA malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client\u0027s shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required.\u003c/p\u003e\n\u003cp\u003eThis issue affects gun: from 2.0.0-pre.2 before 2.4.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Origin Validation Error vulnerability in ninenines gun (`gun_http2` module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\n\nIn `gun_http2:push_promise_frame/7`, the `:authority` pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection\u0027s origin. When `gun_http2:headers_frame/9` later processes the response headers for the promised stream, it calls `gun_cookies:set_cookie_header/7` with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 \u00a710.6 / RFC 9113 \u00a78.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for.\n\nA malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client\u0027s shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required.\n\nThis issue affects gun: from 2.0.0-pre.2 before 2.4.0."
                }
              ],
              "value": "Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\n\nIn gun_http2:push_promise_frame/7, the :authority pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection\u0027s origin. When gun_http2:headers_frame/9 later processes the response headers for the promised stream, it calls gun_cookies:set_cookie_header/7 with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 \u00a710.6 / RFC 9113 \u00a78.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for.\n\nA malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client\u0027s shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required.\n\nThis issue affects gun: from 2.0.0-pre.2 before 2.4.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-61",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-61 Session Fixation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "LOW",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-346",
                  "description": "CWE-346 Origin Validation Error",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:39:37.773Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43972",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43972.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43972",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43972"
            },
            {
              "name": "Introducing commit 87d0bff in ninenines/gun",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/gun/commit/87d0bfff926892d2dc0a55a3dc45d8c5f8a682f3"
            },
            {
              "name": "Fix commit 567863f in ninenines/gun",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/gun/commit/567863ff53802fed21c3b3f25812db7f7ae29676"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "gun HTTP/2 PUSH_PROMISE authority not validated against connection origin allows cross-origin cookie injection"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43972",
        "datePublished": "2026-06-08T14:12:38.780Z",
        "dateReserved": "2026-05-04T18:23:25.574Z",
        "dateUpdated": "2026-11-20T06:39:37.773Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-8466 (GCVE-0-2026-8466)

    Vulnerability from nvd – Published: 2026-05-13 18:26 – Updated: 2026-11-20 05:22
    VLAI
    Title
    Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy
    Summary
    Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing. cowboy_req:read_part/3 in src/cowboy_req.erl accumulates incoming request bytes into a Buffer binary with no upper-bound check. When cow_multipart:parse_headers/2 returns more or {more, Buffer2}, the function reads up to Length bytes (default 64 KB) from the request body and recurses with the enlarged buffer. There is no equivalent of the byte_size(Acc) > Length guard present in the sibling function read_part_body/4. An unauthenticated attacker can send a multipart/form-data request whose body never yields a complete header section — for example, a body that never contains the advertised boundary delimiter, or one whose header lines never contain \r\n\r\n — and force the server process to accumulate memory linearly with the bytes the protocol layer is willing to deliver. A handful of concurrent such uploads is sufficient to exhaust BEAM memory. The function has had two names. From 0.10.0 to 2.0.0-pre.3 it is cowboy_req:part/3, reached through cowboy_req:part/1 and cowboy_req:part/2. From 2.0.0-pre.4 it is cowboy_req:read_part/3, reached through cowboy_req:read_part/1 and cowboy_req:read_part/2. Both have the same buffer loop. This issue affects cowboy: from 0.10.0 before 2.15.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-05-13 18:46 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    ninenines cowboy Affected: 0.10.0 , < 2.15.0 (semver)
        cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowboy Affected: 917cf99e10c41676183d501b86af6e47c95afb89 , < 5c6a2061b41bb5771c4659fac7d5a822dca5bafb (git)
        cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-05-13 18:26
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-8466",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-13T18:46:37.406887Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-13T18:52:29.452Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cowboy_req"
              ],
              "packageName": "cowboy",
              "packageURL": "pkg:hex/cowboy",
              "product": "cowboy",
              "programFiles": [
                "src/cowboy_req.erl"
              ],
              "programRoutines": [
                {
                  "name": "cowboy_req:part/1"
                },
                {
                  "name": "cowboy_req:part/2"
                },
                {
                  "name": "cowboy_req:part/3"
                },
                {
                  "name": "cowboy_req:read_part/1"
                },
                {
                  "name": "cowboy_req:read_part/2"
                },
                {
                  "name": "cowboy_req:read_part/3"
                }
              ],
              "repo": "https://github.com/ninenines/cowboy",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.15.0",
                  "status": "affected",
                  "version": "0.10.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cowboy_req"
              ],
              "packageName": "ninenines/cowboy",
              "packageURL": "pkg:github/ninenines/cowboy",
              "product": "cowboy",
              "programFiles": [
                "src/cowboy_req.erl"
              ],
              "programRoutines": [
                {
                  "name": "cowboy_req:part/1"
                },
                {
                  "name": "cowboy_req:part/2"
                },
                {
                  "name": "cowboy_req:part/3"
                },
                {
                  "name": "cowboy_req:read_part/1"
                },
                {
                  "name": "cowboy_req:read_part/2"
                },
                {
                  "name": "cowboy_req:read_part/3"
                }
              ],
              "repo": "https://github.com/ninenines/cowboy",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "5c6a2061b41bb5771c4659fac7d5a822dca5bafb",
                  "status": "affected",
                  "version": "917cf99e10c41676183d501b86af6e47c95afb89",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must expose an HTTP endpoint that calls \u003ccode\u003ecowboy_req:read_part/1,2\u003c/code\u003e (\u003ccode\u003ecowboy_req:part/1,2\u003c/code\u003e before 2.0.0-pre.4) to process \u003ccode\u003emultipart/form-data\u003c/code\u003e request bodies. Deployments that do not handle multipart uploads are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must expose an HTTP endpoint that calls `cowboy_req:read_part/1,2` (`cowboy_req:part/1,2` before 2.0.0-pre.4) to process `multipart/form-data` request bodies. Deployments that do not handle multipart uploads are not affected."
                }
              ],
              "value": "The application must expose an HTTP endpoint that calls cowboy_req:read_part/1,2 (cowboy_req:part/1,2 before 2.0.0-pre.4) to process multipart/form-data request bodies. Deployments that do not handle multipart uploads are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.15.0",
                      "versionStartIncluding": "0.10.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-05-13T18:26:21.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecowboy_req:read_part/3\u003c/code\u003e in \u003ccode\u003esrc/cowboy_req.erl\u003c/code\u003e accumulates incoming request bytes into a \u003ccode\u003eBuffer\u003c/code\u003e binary with no upper-bound check. When \u003ccode\u003ecow_multipart:parse_headers/2\u003c/code\u003e returns \u003ccode\u003emore\u003c/code\u003e or \u003ccode\u003e{more, Buffer2}\u003c/code\u003e, the function reads up to \u003ccode\u003eLength\u003c/code\u003e bytes (default 64 KB) from the request body and recurses with the enlarged buffer. There is no equivalent of the \u003ccode\u003ebyte_size(Acc) \u0026gt; Length\u003c/code\u003e guard present in the sibling function \u003ccode\u003eread_part_body/4\u003c/code\u003e. An unauthenticated attacker can send a \u003ccode\u003emultipart/form-data\u003c/code\u003e request whose body never yields a complete header section \u2014 for example, a body that never contains the advertised boundary delimiter, or one whose header lines never contain \u003ccode\u003e\\r\\n\\r\\n\u003c/code\u003e \u2014 and force the server process to accumulate memory linearly with the bytes the protocol layer is willing to deliver. A handful of concurrent such uploads is sufficient to exhaust BEAM memory.\u003c/p\u003e\n\u003cp\u003eThe function has had two names. From 0.10.0 to 2.0.0-pre.3 it is \u003ccode\u003ecowboy_req:part/3\u003c/code\u003e, reached through \u003ccode\u003ecowboy_req:part/1\u003c/code\u003e and \u003ccode\u003ecowboy_req:part/2\u003c/code\u003e. From 2.0.0-pre.4 it is \u003ccode\u003ecowboy_req:read_part/3\u003c/code\u003e, reached through \u003ccode\u003ecowboy_req:read_part/1\u003c/code\u003e and \u003ccode\u003ecowboy_req:read_part/2\u003c/code\u003e. Both have the same buffer loop.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowboy: from 0.10.0 before 2.15.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing.\n\n`cowboy_req:read_part/3` in `src/cowboy_req.erl` accumulates incoming request bytes into a `Buffer` binary with no upper-bound check. When `cow_multipart:parse_headers/2` returns `more` or `{more, Buffer2}`, the function reads up to `Length` bytes (default 64 KB) from the request body and recurses with the enlarged buffer. There is no equivalent of the `byte_size(Acc) \u003e Length` guard present in the sibling function `read_part_body/4`. An unauthenticated attacker can send a `multipart/form-data` request whose body never yields a complete header section \u2014 for example, a body that never contains the advertised boundary delimiter, or one whose header lines never contain `\\r\\n\\r\\n` \u2014 and force the server process to accumulate memory linearly with the bytes the protocol layer is willing to deliver. A handful of concurrent such uploads is sufficient to exhaust BEAM memory.\n\nThe function has had two names. From 0.10.0 to 2.0.0-pre.3 it is `cowboy_req:part/3`, reached through `cowboy_req:part/1` and `cowboy_req:part/2`. From 2.0.0-pre.4 it is `cowboy_req:read_part/3`, reached through `cowboy_req:read_part/1` and `cowboy_req:read_part/2`. Both have the same buffer loop.\n\nThis issue affects cowboy: from 0.10.0 before 2.15.0."
                }
              ],
              "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing.\n\ncowboy_req:read_part/3 in src/cowboy_req.erl accumulates incoming request bytes into a Buffer binary with no upper-bound check. When cow_multipart:parse_headers/2 returns more or {more, Buffer2}, the function reads up to Length bytes (default 64 KB) from the request body and recurses with the enlarged buffer. There is no equivalent of the byte_size(Acc) \u003e Length guard present in the sibling function read_part_body/4. An unauthenticated attacker can send a multipart/form-data request whose body never yields a complete header section \u2014 for example, a body that never contains the advertised boundary delimiter, or one whose header lines never contain \\r\\n\\r\\n \u2014 and force the server process to accumulate memory linearly with the bytes the protocol layer is willing to deliver. A handful of concurrent such uploads is sufficient to exhaust BEAM memory.\n\nThe function has had two names. From 0.10.0 to 2.0.0-pre.3 it is cowboy_req:part/3, reached through cowboy_req:part/1 and cowboy_req:part/2. From 2.0.0-pre.4 it is cowboy_req:read_part/3, reached through cowboy_req:read_part/1 and cowboy_req:read_part/2. Both have the same buffer loop.\n\nThis issue affects cowboy: from 0.10.0 before 2.15.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T05:22:18.846Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-8466",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-8466.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-8466",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-8466"
            },
            {
              "name": "Introducing commit 917cf99 in ninenines/cowboy",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/917cf99e10c41676183d501b86af6e47c95afb89"
            },
            {
              "name": "Fix commit 5c6a206 in ninenines/cowboy",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/5c6a2061b41bb5771c4659fac7d5a822dca5bafb"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-8466",
        "datePublished": "2026-05-13T18:26:21.089Z",
        "dateReserved": "2026-05-13T11:44:39.149Z",
        "dateUpdated": "2026-11-20T05:22:18.846Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43970 (GCVE-0-2026-43970)

    Vulnerability from nvd – Published: 2026-05-13 18:43 – Updated: 2026-11-20 05:26
    VLAI
    Title
    Decompression Bomb in cow_spdy:inflate/2 Allows Memory Exhaustion via Crafted SPDY Frame
    Summary
    Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows unauthenticated remote denial of service via memory exhaustion. cow_spdy:inflate/2 in cowlib passes peer-supplied compressed bytes directly to zlib:inflate/2 with no output size bound. The SPDY header compression dictionary (?ZDICT) is public, and zlib compresses long runs of repeated bytes at roughly 1024:1, so a few kilobytes of SPDY frame payload can decompress to gigabytes on the BEAM heap, OOM-killing the node. A single unauthenticated SPDY frame is sufficient to trigger the condition. The parsers for syn_stream, syn_reply, and headers frame types are all affected via cow_spdy:parse_headers/2. This issue affects cowlib: from 0.1.0 before 2.16.1.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-05-14 12:38 UTC
    CWE
    • CWE-409 - Improper Handling of Highly Compressed Data (Data Amplification)
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 0.1.0 , < 2.16.1 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: fad5c0049df278cc498b6cdb519b09e845a070a8 , < 16aad3fb9f81f5cda4d1706ff0c54237c619c282 (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-05-13 18:43
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43970",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-14T12:38:59.086048Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-14T12:39:10.669Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_spdy"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_spdy.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_spdy:parse/2"
                },
                {
                  "name": "cow_spdy:inflate/2"
                },
                {
                  "name": "cow_spdy:parse_headers/2"
                },
                {
                  "name": "cow_spdy:parse_headers/4"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.16.1",
                  "status": "affected",
                  "version": "0.1.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_spdy"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_spdy.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_spdy:parse/2"
                },
                {
                  "name": "cow_spdy:inflate/2"
                },
                {
                  "name": "cow_spdy:parse_headers/2"
                },
                {
                  "name": "cow_spdy:parse_headers/4"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "16aad3fb9f81f5cda4d1706ff0c54237c619c282",
                  "status": "affected",
                  "version": "fad5c0049df278cc498b6cdb519b09e845a070a8",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must use \u003ccode\u003ecow_spdy:parse/2\u003c/code\u003e to parse SPDY frames from an untrusted peer. cowboy itself does not use \u003ccode\u003ecow_spdy\u003c/code\u003e; only direct callers of the \u003ccode\u003ecow_spdy\u003c/code\u003e API are affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must use `cow_spdy:parse/2` to parse SPDY frames from an untrusted peer. cowboy itself does not use `cow_spdy`; only direct callers of the `cow_spdy` API are affected."
                }
              ],
              "value": "The application must use cow_spdy:parse/2 to parse SPDY frames from an untrusted peer. cowboy itself does not use cow_spdy; only direct callers of the cow_spdy API are affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.16.1",
                      "versionStartIncluding": "0.1.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-05-13T18:43:11.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows unauthenticated remote denial of service via memory exhaustion.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_spdy:inflate/2\u003c/code\u003e in cowlib passes peer-supplied compressed bytes directly to \u003ccode\u003ezlib:inflate/2\u003c/code\u003e with no output size bound. The SPDY header compression dictionary (\u003ccode\u003e?ZDICT\u003c/code\u003e) is public, and zlib compresses long runs of repeated bytes at roughly 1024:1, so a few kilobytes of SPDY frame payload can decompress to gigabytes on the BEAM heap, OOM-killing the node. A single unauthenticated SPDY frame is sufficient to trigger the condition. The parsers for \u003ccode\u003esyn_stream\u003c/code\u003e, \u003ccode\u003esyn_reply\u003c/code\u003e, and \u003ccode\u003eheaders\u003c/code\u003e frame types are all affected via \u003ccode\u003ecow_spdy:parse_headers/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 0.1.0 before 2.16.1.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows unauthenticated remote denial of service via memory exhaustion.\n\n`cow_spdy:inflate/2` in cowlib passes peer-supplied compressed bytes directly to `zlib:inflate/2` with no output size bound. The SPDY header compression dictionary (`?ZDICT`) is public, and zlib compresses long runs of repeated bytes at roughly 1024:1, so a few kilobytes of SPDY frame payload can decompress to gigabytes on the BEAM heap, OOM-killing the node. A single unauthenticated SPDY frame is sufficient to trigger the condition. The parsers for `syn_stream`, `syn_reply`, and `headers` frame types are all affected via `cow_spdy:parse_headers/2`.\n\nThis issue affects cowlib: from 0.1.0 before 2.16.1."
                }
              ],
              "value": "Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows unauthenticated remote denial of service via memory exhaustion.\n\ncow_spdy:inflate/2 in cowlib passes peer-supplied compressed bytes directly to zlib:inflate/2 with no output size bound. The SPDY header compression dictionary (?ZDICT) is public, and zlib compresses long runs of repeated bytes at roughly 1024:1, so a few kilobytes of SPDY frame payload can decompress to gigabytes on the BEAM heap, OOM-killing the node. A single unauthenticated SPDY frame is sufficient to trigger the condition. The parsers for syn_stream, syn_reply, and headers frame types are all affected via cow_spdy:parse_headers/2.\n\nThis issue affects cowlib: from 0.1.0 before 2.16.1."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-409",
                  "description": "CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T05:26:29.166Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43970",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43970.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43970",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43970"
            },
            {
              "name": "Introducing commit fad5c00 in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/fad5c0049df278cc498b6cdb519b09e845a070a8"
            },
            {
              "name": "Fix commit 16aad3f in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/16aad3fb9f81f5cda4d1706ff0c54237c619c282"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUpgrade to cowlib 2.16.1 or later, in which the \u003ccode\u003ecow_spdy\u003c/code\u003e module has been removed entirely. No patched version of \u003ccode\u003ecow_spdy\u003c/code\u003e will be provided. Migrate away from SPDY, which has been deprecated since 2015 in favour of HTTP/2.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Upgrade to cowlib 2.16.1 or later, in which the `cow_spdy` module has been removed entirely. No patched version of `cow_spdy` will be provided. Migrate away from SPDY, which has been deprecated since 2015 in favour of HTTP/2."
                }
              ],
              "value": "Upgrade to cowlib 2.16.1 or later, in which the cow_spdy module has been removed entirely. No patched version of cow_spdy will be provided. Migrate away from SPDY, which has been deprecated since 2015 in favour of HTTP/2."
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Decompression Bomb in cow_spdy:inflate/2 Allows Memory Exhaustion via Crafted SPDY Frame"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43970",
        "datePublished": "2026-05-13T18:43:11.640Z",
        "dateReserved": "2026-05-04T18:23:25.574Z",
        "dateUpdated": "2026-11-20T05:26:29.166Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-7790 (GCVE-0-2026-7790)

    Vulnerability from nvd – Published: 2026-05-11 18:06 – Updated: 2026-11-20 05:08
    VLAI
    Title
    Unbounded chunk-size hex digits in cowlib cause quadratic CPU and memory DoS
    Summary
    Uncontrolled Resource Consumption vulnerability in ninenines cowlib (cow_http_te module) allows Excessive Allocation. The chunked transfer-encoding parser in cow_http_te accepts an unbounded number of hex digits in the chunk-size field. Each digit causes a bignum multiplication (Len * 16 + digit), so parsing N hex digits requires O(N²) CPU work and O(N) memory. Additionally, when input is drip-fed, the parser discards the accumulated length on each partial read and restarts from zero on resumption, raising the cost to O(N³). An unauthenticated remote attacker can exploit this by sending an HTTP/1.1 request with Transfer-Encoding: chunked and a very long chunk-size hex string to cause denial of service through CPU exhaustion and memory amplification. This vulnerability is associated with program file src/cow_http_te.erl and program routines cow_http_te:stream_chunked/2, cow_http_te:chunked_len/4. This issue affects cowlib: from 0.6.0 before 2.16.1.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-05-11 18:56 UTC
    CWE
    • CWE-400 - Uncontrolled Resource Consumption
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 0.6.0 , < 2.16.1 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: 8c0e428b012c59f553a264f285ed89d36f791e3e , < a4b8039ce8c93ab00867ef6b7e888822c09f4369 (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-05-11 18:06
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-7790",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-11T18:56:19.590262Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-11T18:56:31.426Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_http_te"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_http_te.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_http_te:stream_chunked/2"
                },
                {
                  "name": "cow_http_te:chunked_len/4"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.16.1",
                  "status": "affected",
                  "version": "0.6.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_http_te"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_http_te.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_http_te:stream_chunked/2"
                },
                {
                  "name": "cow_http_te:chunked_len/4"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "a4b8039ce8c93ab00867ef6b7e888822c09f4369",
                  "status": "affected",
                  "version": "8c0e428b012c59f553a264f285ed89d36f791e3e",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.16.1",
                      "versionStartIncluding": "0.6.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-05-11T18:06:41.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUncontrolled Resource Consumption vulnerability in ninenines cowlib (cow_http_te module) allows Excessive Allocation.\u003c/p\u003e\n\u003cp\u003eThe chunked transfer-encoding parser in \u003ccode\u003ecow_http_te\u003c/code\u003e accepts an unbounded number of hex digits in the chunk-size field. Each digit causes a bignum multiplication (\u003ccode\u003eLen * 16 + digit\u003c/code\u003e), so parsing \u003ccode\u003eN\u003c/code\u003e hex digits requires O(N\u00b2) CPU work and O(N) memory. Additionally, when input is drip-fed, the parser discards the accumulated length on each partial read and restarts from zero on resumption, raising the cost to O(N\u00b3). An unauthenticated remote attacker can exploit this by sending an HTTP/1.1 request with \u003ccode\u003eTransfer-Encoding: chunked\u003c/code\u003e and a very long chunk-size hex string to cause denial of service through CPU exhaustion and memory amplification.\u003c/p\u003e\n\u003cp\u003eThis vulnerability is associated with program file \u003ccode\u003esrc/cow_http_te.erl\u003c/code\u003e and program routines \u003ccode\u003ecow_http_te:stream_chunked/2\u003c/code\u003e, \u003ccode\u003ecow_http_te:chunked_len/4\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 0.6.0 before 2.16.1.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Uncontrolled Resource Consumption vulnerability in ninenines cowlib (cow_http_te module) allows Excessive Allocation.\n\nThe chunked transfer-encoding parser in `cow_http_te` accepts an unbounded number of hex digits in the chunk-size field. Each digit causes a bignum multiplication (`Len * 16 + digit`), so parsing `N` hex digits requires O(N\u00b2) CPU work and O(N) memory. Additionally, when input is drip-fed, the parser discards the accumulated length on each partial read and restarts from zero on resumption, raising the cost to O(N\u00b3). An unauthenticated remote attacker can exploit this by sending an HTTP/1.1 request with `Transfer-Encoding: chunked` and a very long chunk-size hex string to cause denial of service through CPU exhaustion and memory amplification.\n\nThis vulnerability is associated with program file `src/cow_http_te.erl` and program routines `cow_http_te:stream_chunked/2`, `cow_http_te:chunked_len/4`.\n\nThis issue affects cowlib: from 0.6.0 before 2.16.1."
                }
              ],
              "value": "Uncontrolled Resource Consumption vulnerability in ninenines cowlib (cow_http_te module) allows Excessive Allocation.\n\nThe chunked transfer-encoding parser in cow_http_te accepts an unbounded number of hex digits in the chunk-size field. Each digit causes a bignum multiplication (Len * 16 + digit), so parsing N hex digits requires O(N\u00b2) CPU work and O(N) memory. Additionally, when input is drip-fed, the parser discards the accumulated length on each partial read and restarts from zero on resumption, raising the cost to O(N\u00b3). An unauthenticated remote attacker can exploit this by sending an HTTP/1.1 request with Transfer-Encoding: chunked and a very long chunk-size hex string to cause denial of service through CPU exhaustion and memory amplification.\n\nThis vulnerability is associated with program file src/cow_http_te.erl and program routines cow_http_te:stream_chunked/2, cow_http_te:chunked_len/4.\n\nThis issue affects cowlib: from 0.6.0 before 2.16.1."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-400",
                  "description": "CWE-400 Uncontrolled Resource Consumption",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T05:08:58.312Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-7790",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-7790.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-7790",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-7790"
            },
            {
              "name": "Introducing commit 8c0e428 in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/8c0e428b012c59f553a264f285ed89d36f791e3e"
            },
            {
              "name": "Fix commit a4b8039 in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/a4b8039ce8c93ab00867ef6b7e888822c09f4369"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Unbounded chunk-size hex digits in cowlib cause quadratic CPU and memory DoS",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eIn Cowboy, setting \u003ccode\u003einitial_stream_flow_size\u003c/code\u003e to a much lower value limits the amount of chunked body data that cowlib will parse in a single read, reducing the window of data an attacker can use to trigger the quadratic work. This does not fully eliminate the vulnerability but can significantly reduce its impact for some applications.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "In Cowboy, setting `initial_stream_flow_size` to a much lower value limits the amount of chunked body data that cowlib will parse in a single read, reducing the window of data an attacker can use to trigger the quadratic work. This does not fully eliminate the vulnerability but can significantly reduce its impact for some applications."
                }
              ],
              "value": "In Cowboy, setting initial_stream_flow_size to a much lower value limits the amount of chunked body data that cowlib will parse in a single read, reducing the window of data an attacker can use to trigger the quadratic work. This does not fully eliminate the vulnerability but can significantly reduce its impact for some applications."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-7790",
        "datePublished": "2026-05-11T18:06:41.490Z",
        "dateReserved": "2026-05-04T18:23:21.380Z",
        "dateUpdated": "2026-11-20T05:08:58.312Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43969 (GCVE-0-2026-43969)

    Vulnerability from nvd – Published: 2026-05-11 18:06 – Updated: 2026-11-19 08:44
    VLAI
    Title
    Cookie Request Header Injection via Unvalidated Encoder in cow_cookie:cookie/1
    Summary
    Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows HTTP request splitting and cookie smuggling via unvalidated cookie name and value fields. cow_cookie:cookie/1 in cowlib builds a client-side Cookie: request header from a list of name-value pairs without validating either field. An attacker who controls the cookie names or values passed to this function can inject ;, ,, CR, LF, or TAB characters into the serialized header. This enables two classes of attack: cookie smuggling within a single header (e.g. injecting ; admin=1 to introduce a phantom cookie that the receiving server treats as authentic) and HTTP request header splitting (injecting CRLF to append arbitrary headers or smuggle a complete second request against a shared upstream proxy). The decoder side (parse_cookie_name/1, parse_cookie_value/1) and setcookie/3 already validate and reject these characters; the encoder alone is missing the check. This issue affects cowlib: from 2.9.0 before 2.21.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-05-11 18:55 UTC
    CWE
    • CWE-93 - Improper Neutralization of CRLF Sequences
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 2.9.0 , < 2.21.0 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: f017f8a0ecbffd5033d9ab49bf180186f7a523a7 , < c17fd73945ef536cccecc492d286fb6b6d1c3307 (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43969",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-11T18:55:16.028478Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-11T18:55:26.121Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_cookie"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_cookie.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_cookie:cookie/1"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.21.0",
                  "status": "affected",
                  "version": "2.9.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_cookie"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_cookie.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_cookie:cookie/1"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "c17fd73945ef536cccecc492d286fb6b6d1c3307",
                  "status": "affected",
                  "version": "f017f8a0ecbffd5033d9ab49bf180186f7a523a7",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must pass attacker-controlled bytes as cookie names or values to \u003ccode\u003ecow_cookie:cookie/1\u003c/code\u003e. Applications that construct cookie lists exclusively from trusted, application-controlled values are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must pass attacker-controlled bytes as cookie names or values to `cow_cookie:cookie/1`. Applications that construct cookie lists exclusively from trusted, application-controlled values are not affected."
                }
              ],
              "value": "The application must pass attacker-controlled bytes as cookie names or values to cow_cookie:cookie/1. Applications that construct cookie lists exclusively from trusted, application-controlled values are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.21.0",
                      "versionStartIncluding": "2.9.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027) vulnerability in ninenines cowlib allows HTTP request splitting and cookie smuggling via unvalidated cookie name and value fields.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_cookie:cookie/1\u003c/code\u003e in cowlib builds a client-side \u003ccode\u003eCookie:\u003c/code\u003e request header from a list of name-value pairs without validating either field. An attacker who controls the cookie names or values passed to this function can inject \u003ccode\u003e;\u003c/code\u003e, \u003ccode\u003e,\u003c/code\u003e, CR, LF, or TAB characters into the serialized header. This enables two classes of attack: cookie smuggling within a single header (e.g. injecting \u003ccode\u003e; admin=1\u003c/code\u003e to introduce a phantom cookie that the receiving server treats as authentic) and HTTP request header splitting (injecting CRLF to append arbitrary headers or smuggle a complete second request against a shared upstream proxy). The decoder side (\u003ccode\u003eparse_cookie_name/1\u003c/code\u003e, \u003ccode\u003eparse_cookie_value/1\u003c/code\u003e) and \u003ccode\u003esetcookie/3\u003c/code\u003e already validate and reject these characters; the encoder alone is missing the check.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.9.0 before 2.21.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027) vulnerability in ninenines cowlib allows HTTP request splitting and cookie smuggling via unvalidated cookie name and value fields.\n\n`cow_cookie:cookie/1` in cowlib builds a client-side `Cookie:` request header from a list of name-value pairs without validating either field. An attacker who controls the cookie names or values passed to this function can inject `;`, `,`, CR, LF, or TAB characters into the serialized header. This enables two classes of attack: cookie smuggling within a single header (e.g. injecting `; admin=1` to introduce a phantom cookie that the receiving server treats as authentic) and HTTP request header splitting (injecting CRLF to append arbitrary headers or smuggle a complete second request against a shared upstream proxy). The decoder side (`parse_cookie_name/1`, `parse_cookie_value/1`) and `setcookie/3` already validate and reject these characters; the encoder alone is missing the check.\n\nThis issue affects cowlib: from 2.9.0 before 2.21.0."
                }
              ],
              "value": "Improper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027) vulnerability in ninenines cowlib allows HTTP request splitting and cookie smuggling via unvalidated cookie name and value fields.\n\ncow_cookie:cookie/1 in cowlib builds a client-side Cookie: request header from a list of name-value pairs without validating either field. An attacker who controls the cookie names or values passed to this function can inject ;, ,, CR, LF, or TAB characters into the serialized header. This enables two classes of attack: cookie smuggling within a single header (e.g. injecting ; admin=1 to introduce a phantom cookie that the receiving server treats as authentic) and HTTP request header splitting (injecting CRLF to append arbitrary headers or smuggle a complete second request against a shared upstream proxy). The decoder side (parse_cookie_name/1, parse_cookie_value/1) and setcookie/3 already validate and reject these characters; the encoder alone is missing the check.\n\nThis issue affects cowlib: from 2.9.0 before 2.21.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-105",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-105 HTTP Request Splitting"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "baseScore": 2.1,
                "baseSeverity": "LOW",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-93",
                  "description": "CWE-93 Improper Neutralization of CRLF Sequences",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-19T08:44:11.677Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "GitHub Advisory",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlef/cowlib/commit/177953dd51540da11090666c1f007214127a1144"
            },
            {
              "name": "EEF CNA record for CVE-2026-43969",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43969.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43969",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43969"
            },
            {
              "name": "Introducing commit f017f8a in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/f017f8a0ecbffd5033d9ab49bf180186f7a523a7"
            },
            {
              "name": "Fix commit c17fd73 in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/c17fd73945ef536cccecc492d286fb6b6d1c3307"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Cookie Request Header Injection via Unvalidated Encoder in cow_cookie:cookie/1",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eValidate inputs into \u003ccode\u003ecow_cookie:cookie/1\u003c/code\u003e to only include valid cookie name and value characters as defined in RFC 6265 Section 4.1.1 before passing them to the function.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Validate inputs into `cow_cookie:cookie/1` to only include valid cookie name and value characters as defined in RFC 6265 Section 4.1.1 before passing them to the function."
                }
              ],
              "value": "Validate inputs into cow_cookie:cookie/1 to only include valid cookie name and value characters as defined in RFC 6265 Section 4.1.1 before passing them to the function."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43969",
        "datePublished": "2026-05-11T18:06:40.667Z",
        "dateReserved": "2026-05-04T18:23:25.573Z",
        "dateUpdated": "2026-11-19T08:44:11.677Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43968 (GCVE-0-2026-43968)

    Vulnerability from nvd – Published: 2026-05-11 18:06 – Updated: 2026-11-20 05:12
    VLAI
    Title
    CR Injection in SSE Encoder Enables Event Splitting via cow_sse:event/1
    Summary
    Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values. cow_sse:event/1 in cowlib guards the id and event fields against \n but not against bare \r, and the internal prefix_lines/2 function used for data and comment fields splits only on \n. Because the SSE specification requires decoders to treat \r\n, \r, and \n as equivalent line terminators, an attacker who controls any of these fields can inject additional SSE lines and forge a complete event with an arbitrary event type and data payload on the receiving end. In typical deployments where browser EventSource clients or other SSE consumers dispatch on event.type and render event.data, this enables event splitting, client-side logic manipulation, and stored-XSS-equivalent behaviour when event data is inserted into the DOM. This issue affects cowlib: from 2.5.0 before 2.16.1.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-05-11 18:57 UTC
    CWE
    • CWE-93 - Improper Neutralization of CRLF Sequences
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 2.5.0 , < 2.16.1 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: 93b2b897cde238506c803faad4d1602d79dba7c9 , < 6165fc40efa159ba1cceee7e7981e790acba5d9c (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-05-11 18:06
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43968",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-11T18:57:13.541982Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-11T18:57:38.074Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_sse"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_sse.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_sse:event/1"
                },
                {
                  "name": "cow_sse:event_id/1"
                },
                {
                  "name": "cow_sse:event_name/1"
                },
                {
                  "name": "cow_sse:event_data/1"
                },
                {
                  "name": "cow_sse:event_comment/1"
                },
                {
                  "name": "cow_sse:prefix_lines/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.16.1",
                  "status": "affected",
                  "version": "2.5.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_sse"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_sse.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_sse:event/1"
                },
                {
                  "name": "cow_sse:event_id/1"
                },
                {
                  "name": "cow_sse:event_name/1"
                },
                {
                  "name": "cow_sse:event_data/1"
                },
                {
                  "name": "cow_sse:event_comment/1"
                },
                {
                  "name": "cow_sse:prefix_lines/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "6165fc40efa159ba1cceee7e7981e790acba5d9c",
                  "status": "affected",
                  "version": "93b2b897cde238506c803faad4d1602d79dba7c9",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must pass user-controlled data as the \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003eevent\u003c/code\u003e, \u003ccode\u003edata\u003c/code\u003e, or \u003ccode\u003ecomment\u003c/code\u003e field to \u003ccode\u003ecow_sse:event/1\u003c/code\u003e (or a higher-level wrapper such as \u003ccode\u003ecowboy_req:stream_events/3\u003c/code\u003e). Applications that construct SSE events exclusively from trusted, application-controlled values are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must pass user-controlled data as the `id`, `event`, `data`, or `comment` field to `cow_sse:event/1` (or a higher-level wrapper such as `cowboy_req:stream_events/3`). Applications that construct SSE events exclusively from trusted, application-controlled values are not affected."
                }
              ],
              "value": "The application must pass user-controlled data as the id, event, data, or comment field to cow_sse:event/1 (or a higher-level wrapper such as cowboy_req:stream_events/3). Applications that construct SSE events exclusively from trusted, application-controlled values are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.16.1",
                      "versionStartIncluding": "2.5.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-05-11T18:06:42.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027) vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_sse:event/1\u003c/code\u003e in cowlib guards the \u003ccode\u003eid\u003c/code\u003e and \u003ccode\u003eevent\u003c/code\u003e fields against \u003ccode\u003e\\n\u003c/code\u003e but not against bare \u003ccode\u003e\\r\u003c/code\u003e, and the internal \u003ccode\u003eprefix_lines/2\u003c/code\u003e function used for \u003ccode\u003edata\u003c/code\u003e and \u003ccode\u003ecomment\u003c/code\u003e fields splits only on \u003ccode\u003e\\n\u003c/code\u003e. Because the SSE specification requires decoders to treat \u003ccode\u003e\\r\\n\u003c/code\u003e, \u003ccode\u003e\\r\u003c/code\u003e, and \u003ccode\u003e\\n\u003c/code\u003e as equivalent line terminators, an attacker who controls any of these fields can inject additional SSE lines and forge a complete event with an arbitrary event type and data payload on the receiving end. In typical deployments where browser \u003ccode\u003eEventSource\u003c/code\u003e clients or other SSE consumers dispatch on \u003ccode\u003eevent.type\u003c/code\u003e and render \u003ccode\u003eevent.data\u003c/code\u003e, this enables event splitting, client-side logic manipulation, and stored-XSS-equivalent behaviour when event data is inserted into the DOM.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.5.0 before 2.16.1.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027) vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values.\n\n`cow_sse:event/1` in cowlib guards the `id` and `event` fields against `\\n` but not against bare `\\r`, and the internal `prefix_lines/2` function used for `data` and `comment` fields splits only on `\\n`. Because the SSE specification requires decoders to treat `\\r\\n`, `\\r`, and `\\n` as equivalent line terminators, an attacker who controls any of these fields can inject additional SSE lines and forge a complete event with an arbitrary event type and data payload on the receiving end. In typical deployments where browser `EventSource` clients or other SSE consumers dispatch on `event.type` and render `event.data`, this enables event splitting, client-side logic manipulation, and stored-XSS-equivalent behaviour when event data is inserted into the DOM.\n\nThis issue affects cowlib: from 2.5.0 before 2.16.1."
                }
              ],
              "value": "Improper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027) vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values.\n\ncow_sse:event/1 in cowlib guards the id and event fields against \\n but not against bare \\r, and the internal prefix_lines/2 function used for data and comment fields splits only on \\n. Because the SSE specification requires decoders to treat \\r\\n, \\r, and \\n as equivalent line terminators, an attacker who controls any of these fields can inject additional SSE lines and forge a complete event with an arbitrary event type and data payload on the receiving end. In typical deployments where browser EventSource clients or other SSE consumers dispatch on event.type and render event.data, this enables event splitting, client-side logic manipulation, and stored-XSS-equivalent behaviour when event data is inserted into the DOM.\n\nThis issue affects cowlib: from 2.5.0 before 2.16.1."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-34",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-34 HTTP Response Splitting"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-93",
                  "description": "CWE-93 Improper Neutralization of CRLF Sequences",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T05:12:10.654Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43968",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43968.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43968",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43968"
            },
            {
              "name": "Introducing commit 93b2b89 in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/93b2b897cde238506c803faad4d1602d79dba7c9"
            },
            {
              "name": "Fix commit 6165fc4 in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/6165fc40efa159ba1cceee7e7981e790acba5d9c"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "CR Injection in SSE Encoder Enables Event Splitting via cow_sse:event/1",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eSanitize user-controlled values before passing them to \u003ccode\u003ecow_sse:event/1\u003c/code\u003e: reject or strip any value containing \u003ccode\u003e\\r\u003c/code\u003e or \u003ccode\u003e\\n\u003c/code\u003e characters in the \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003eevent\u003c/code\u003e, \u003ccode\u003edata\u003c/code\u003e, and \u003ccode\u003ecomment\u003c/code\u003e fields. Alternatively, ensure that all SSE field values are derived exclusively from trusted, application-controlled data rather than user input.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Sanitize user-controlled values before passing them to `cow_sse:event/1`: reject or strip any value containing `\\r` or `\\n` characters in the `id`, `event`, `data`, and `comment` fields. Alternatively, ensure that all SSE field values are derived exclusively from trusted, application-controlled data rather than user input."
                }
              ],
              "value": "Sanitize user-controlled values before passing them to cow_sse:event/1: reject or strip any value containing \\r or \\n characters in the id, event, data, and comment fields. Alternatively, ensure that all SSE field values are derived exclusively from trusted, application-controlled data rather than user input."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43968",
        "datePublished": "2026-05-11T18:06:42.881Z",
        "dateReserved": "2026-05-04T18:23:25.573Z",
        "dateUpdated": "2026-11-20T05:12:10.654Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-115701 (GCVE-0-2026-115701)

    Vulnerability from cvelistv5 – Published: 2026-11-06 10:29 – Updated: 2026-11-10 15:02
    VLAI
    Title
    Cowboy HTTP/1.1 Unbounded Buffering of Pipelined Data During Request Handling Enables Memory Exhaustion
    Summary
    Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1. Once a request has been received in full and its handler is still running, cowboy_http:parse/2 in src/cowboy_http.erl appends every further byte that arrives on the keep-alive connection to the connection buffer and returns to the receive loop without parsing it. The socket stays in active mode and no limit applies to this buffer: max_request_line_length, max_headers and the other parser limits only take effect once the handler returns and parsing resumes, and the only timer in this state is idle_timeout (default 60 seconds), which is reset on every received chunk. A client can therefore send an arbitrary amount of data on one connection for as long as the handler runs, and a few connections to an endpoint that holds requests open can drive the Erlang VM into out-of-memory conditions. This issue affects cowboy: from 2.18.0 before 2.21.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-10 15:01 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    ninenines cowboy Affected: 2.18.0 , < 2.21.0 (semver)
        cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowboy Affected: faf5594fbf74530ace90b0c46c936bdc2cf82081 , < 3a630c07e1521abf63a1b9ea080509aa1337b60d (git)
        cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-06 10:29
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-115701",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-10T15:01:56.291118Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-10T15:02:23.747Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cowboy_http"
              ],
              "packageName": "cowboy",
              "packageURL": "pkg:hex/cowboy",
              "product": "cowboy",
              "programFiles": [
                "src/cowboy_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "cowboy_http:parse/2"
                },
                {
                  "name": "cowboy_http:loop/1"
                }
              ],
              "repo": "https://github.com/ninenines/cowboy",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.21.0",
                  "status": "affected",
                  "version": "2.18.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cowboy_http"
              ],
              "packageName": "ninenines/cowboy",
              "packageURL": "pkg:github/ninenines/cowboy",
              "product": "cowboy",
              "programFiles": [
                "src/cowboy_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "cowboy_http:parse/2"
                },
                {
                  "name": "cowboy_http:loop/1"
                }
              ],
              "repo": "https://github.com/ninenines/cowboy",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "3a630c07e1521abf63a1b9ea080509aa1337b60d",
                  "status": "affected",
                  "version": "faf5594fbf74530ace90b0c46c936bdc2cf82081",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe amount of data buffered scales with how long the current handler keeps the connection busy. Any HTTP/1.1 endpoint exposes a window, but deployments with handlers that hold a request open, such as long polling with \u003ccode\u003ecowboy_loop\u003c/code\u003e, streamed responses via \u003ccode\u003ecowboy_req:stream_reply/3\u003c/code\u003e, or slow backend calls, give an attacker the time to buffer significant memory. HTTP/2 connections are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The amount of data buffered scales with how long the current handler keeps the connection busy. Any HTTP/1.1 endpoint exposes a window, but deployments with handlers that hold a request open, such as long polling with `cowboy_loop`, streamed responses via `cowboy_req:stream_reply/3`, or slow backend calls, give an attacker the time to buffer significant memory. HTTP/2 connections are not affected."
                }
              ],
              "value": "The amount of data buffered scales with how long the current handler keeps the connection busy. Any HTTP/1.1 endpoint exposes a window, but deployments with handlers that hold a request open, such as long polling with cowboy_loop, streamed responses via cowboy_req:stream_reply/3, or slow backend calls, give an attacker the time to buffer significant memory. HTTP/2 connections are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.21.0",
                      "versionStartIncluding": "2.18.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Mikica Ivosevic"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Mikica Ivosevic"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            }
          ],
          "dateAssigned": "2026-10-26T10:41:07.000Z",
          "datePublic": "2026-11-06T10:29:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\u003c/p\u003e\n\u003cp\u003eOnce a request has been received in full and its handler is still running, \u003ccode\u003ecowboy_http:parse/2\u003c/code\u003e in \u003ccode\u003esrc/cowboy_http.erl\u003c/code\u003e appends every further byte that arrives on the keep-alive connection to the connection buffer and returns to the receive loop without parsing it. The socket stays in active mode and no limit applies to this buffer: \u003ccode\u003emax_request_line_length\u003c/code\u003e, \u003ccode\u003emax_headers\u003c/code\u003e and the other parser limits only take effect once the handler returns and parsing resumes, and the only timer in this state is \u003ccode\u003eidle_timeout\u003c/code\u003e (default 60 seconds), which is reset on every received chunk. A client can therefore send an arbitrary amount of data on one connection for as long as the handler runs, and a few connections to an endpoint that holds requests open can drive the Erlang VM into out-of-memory conditions.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowboy: from 2.18.0 before 2.21.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\n\nOnce a request has been received in full and its handler is still running, `cowboy_http:parse/2` in `src/cowboy_http.erl` appends every further byte that arrives on the keep-alive connection to the connection buffer and returns to the receive loop without parsing it. The socket stays in active mode and no limit applies to this buffer: `max_request_line_length`, `max_headers` and the other parser limits only take effect once the handler returns and parsing resumes, and the only timer in this state is `idle_timeout` (default 60 seconds), which is reset on every received chunk. A client can therefore send an arbitrary amount of data on one connection for as long as the handler runs, and a few connections to an endpoint that holds requests open can drive the Erlang VM into out-of-memory conditions.\n\nThis issue affects cowboy: from 2.18.0 before 2.21.0."
                }
              ],
              "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\n\nOnce a request has been received in full and its handler is still running, cowboy_http:parse/2 in src/cowboy_http.erl appends every further byte that arrives on the keep-alive connection to the connection buffer and returns to the receive loop without parsing it. The socket stays in active mode and no limit applies to this buffer: max_request_line_length, max_headers and the other parser limits only take effect once the handler returns and parsing resumes, and the only timer in this state is idle_timeout (default 60 seconds), which is reset on every received chunk. A client can therefore send an arbitrary amount of data on one connection for as long as the handler runs, and a few connections to an endpoint that holds requests open can drive the Erlang VM into out-of-memory conditions.\n\nThis issue affects cowboy: from 2.18.0 before 2.21.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn unauthenticated remote client can make one connection process hold an arbitrary amount of memory by sending data after a request while its handler runs. A few such connections to an endpoint that holds requests open exhaust node memory and terminate every connection served by that node.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An unauthenticated remote client can make one connection process hold an arbitrary amount of memory by sending data after a request while its handler runs. A few such connections to an endpoint that holds requests open exhaust node memory and terminate every connection served by that node."
                    }
                  ],
                  "value": "An unauthenticated remote client can make one connection process hold an arbitrary amount of memory by sending data after a request while its handler runs. A few such connections to an endpoint that holds requests open exhaust node memory and terminate every connection served by that node."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-09T15:28:28.965Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-115701",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-115701.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-115701",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-115701"
            },
            {
              "name": "Introducing commit faf5594 in ninenines/cowboy",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/faf5594fbf74530ace90b0c46c936bdc2cf82081"
            },
            {
              "name": "Fix commit 3a630c0 in ninenines/cowboy",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/3a630c07e1521abf63a1b9ea080509aa1337b60d"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Cowboy HTTP/1.1 Unbounded Buffering of Pipelined Data During Request Handling Enables Memory Exhaustion",
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eStart a cowboy HTTP/1.1 listener with a handler that takes time to reply, for example one that sleeps 20 seconds before calling \u003ccode\u003ecowboy_req:reply/4\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eOpen one TCP connection and send a complete \u003ccode\u003eGET / HTTP/1.1\u003c/code\u003e request with a \u003ccode\u003eHost\u003c/code\u003e header.\u003c/li\u003e\n\u003cli\u003eWhile the handler is still running, keep writing arbitrary bytes on the same connection, for example 300 one-megabyte chunks.\u003c/li\u003e\n\u003cli\u003eInspect the connection process with \u003ccode\u003eerlang:process_info/2\u003c/code\u003e while the handler runs: its referenced binaries grow by the amount sent and \u003ccode\u003eerlang:memory(binary)\u003c/code\u003e rises by the same amount. No parser limit or timeout interrupts the transfer.\u003c/li\u003e\n\u003cli\u003eWhen the handler replies, the client still receives the \u003ccode\u003e200 OK\u003c/code\u003e; only afterwards does the buffered data get parsed and rejected.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003eOn 2.16.1 and 2.17.0 step 3 is cut short: the server answers \u003ccode\u003e414 Request-URI Too Long\u003c/code\u003e with \u003ccode\u003econnection: close\u003c/code\u003e as soon as the first chunk arrives and holds nothing.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Start a cowboy HTTP/1.1 listener with a handler that takes time to reply, for example one that sleeps 20 seconds before calling `cowboy_req:reply/4`.\n2. Open one TCP connection and send a complete `GET / HTTP/1.1` request with a `Host` header.\n3. While the handler is still running, keep writing arbitrary bytes on the same connection, for example 300 one-megabyte chunks.\n4. Inspect the connection process with `erlang:process_info/2` while the handler runs: its referenced binaries grow by the amount sent and `erlang:memory(binary)` rises by the same amount. No parser limit or timeout interrupts the transfer.\n5. When the handler replies, the client still receives the `200 OK`; only afterwards does the buffered data get parsed and rejected.\n\nOn 2.16.1 and 2.17.0 step 3 is cut short: the server answers `414 Request-URI Too Long` with `connection: close` as soon as the first chunk arrives and holds nothing."
                }
              ],
              "value": "* Start a cowboy HTTP/1.1 listener with a handler that takes time to reply, for example one that sleeps 20 seconds before calling cowboy_req:reply/4.\n* Open one TCP connection and send a complete GET / HTTP/1.1 request with a Host header.\n* While the handler is still running, keep writing arbitrary bytes on the same connection, for example 300 one-megabyte chunks.\n* Inspect the connection process with erlang:process_info/2 while the handler runs: its referenced binaries grow by the amount sent and erlang:memory(binary) rises by the same amount. No parser limit or timeout interrupts the transfer.\n* When the handler replies, the client still receives the 200 OK; only afterwards does the buffered data get parsed and rejected.\n\nOn 2.16.1 and 2.17.0 step 3 is cut short: the server answers 414 Request-URI Too Long with connection: close as soon as the first chunk arrives and holds nothing."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Request completes, handler runs.\u003c/strong\u003e When \u003ccode\u003ecowboy_http\u003c/code\u003e finishes reading a request it moves the parser to the \u003ccode\u003eps_next_request\u003c/code\u003e state while the stream for that request is still alive. The connection process keeps the socket in active mode (\u003ccode\u003esetopts_active/1\u003c/code\u003e re-arms \u003ccode\u003e{active, N}\u003c/code\u003e whenever a passive notification arrives), so the VM continues to deliver socket data to the process.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Data is appended, never parsed.\u003c/strong\u003e Each incoming chunk reaches \u003ccode\u003eloop/1\u003c/code\u003e, which concatenates it onto the connection buffer and calls \u003ccode\u003eparse/2\u003c/code\u003e. The \u003ccode\u003eparse/2\u003c/code\u003e clause for \u003ccode\u003ein_state=ps_next_request\u003c/code\u003e with a live \u003ccode\u003e#stream{}\u003c/code\u003e returns straight to \u003ccode\u003ebefore_loop/1\u003c/code\u003e with the enlarged buffer, deferring all parsing until the current stream stops. The parser limits (\u003ccode\u003emax_request_line_length\u003c/code\u003e, \u003ccode\u003emax_header_name_length\u003c/code\u003e, \u003ccode\u003emax_header_value_length\u003c/code\u003e, \u003ccode\u003emax_headers\u003c/code\u003e) are enforced only by the parsing clauses that run after that point, and \u003ccode\u003emax_skip_body_length\u003c/code\u003e only covers an unread body of the current request, not bytes after it.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. No timer bounds the window.\u003c/strong\u003e While a stream is live the connection runs on \u003ccode\u003eidle_timeout\u003c/code\u003e (default 60 seconds), and \u003ccode\u003eset_timeout/2\u003c/code\u003e resets it on every received chunk. The attacker therefore keeps the window open by continuing to send. Only the handler finishing ends it, at which point parsing resumes, the buffered bytes fail the request-line checks, and the connection closes with a 4xx response. By then the data has been held for the full handler duration.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Introduction.\u003c/strong\u003e The behaviour arrived with the change that removed concurrent processing of pipelined HTTP/1.1 requests (first shipped in 2.18.0). Earlier releases parsed pipelined data as it arrived, so excess bytes hit the request-line limit immediately and the connection was closed with \u003ccode\u003e414 Request-URI Too Long\u003c/code\u003e before any significant amount was buffered. The introducing commit describes the intended behaviour as stopping reads from the socket until the stream stops, but the code keeps the socket active and buffers instead.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Request completes, handler runs.** When `cowboy_http` finishes reading a request it moves the parser to the `ps_next_request` state while the stream for that request is still alive. The connection process keeps the socket in active mode (`setopts_active/1` re-arms `{active, N}` whenever a passive notification arrives), so the VM continues to deliver socket data to the process.\n\n**2. Data is appended, never parsed.** Each incoming chunk reaches `loop/1`, which concatenates it onto the connection buffer and calls `parse/2`. The `parse/2` clause for `in_state=ps_next_request` with a live `#stream{}` returns straight to `before_loop/1` with the enlarged buffer, deferring all parsing until the current stream stops. The parser limits (`max_request_line_length`, `max_header_name_length`, `max_header_value_length`, `max_headers`) are enforced only by the parsing clauses that run after that point, and `max_skip_body_length` only covers an unread body of the current request, not bytes after it.\n\n**3. No timer bounds the window.** While a stream is live the connection runs on `idle_timeout` (default 60 seconds), and `set_timeout/2` resets it on every received chunk. The attacker therefore keeps the window open by continuing to send. Only the handler finishing ends it, at which point parsing resumes, the buffered bytes fail the request-line checks, and the connection closes with a 4xx response. By then the data has been held for the full handler duration.\n\n**4. Introduction.** The behaviour arrived with the change that removed concurrent processing of pipelined HTTP/1.1 requests (first shipped in 2.18.0). Earlier releases parsed pipelined data as it arrived, so excess bytes hit the request-line limit immediately and the connection was closed with `414 Request-URI Too Long` before any significant amount was buffered. The introducing commit describes the intended behaviour as stopping reads from the socket until the stream stops, but the code keeps the socket active and buffers instead."
                }
              ],
              "value": "1. Request completes, handler runs. When cowboy_http finishes reading a request it moves the parser to the ps_next_request state while the stream for that request is still alive. The connection process keeps the socket in active mode (setopts_active/1 re-arms {active, N} whenever a passive notification arrives), so the VM continues to deliver socket data to the process.\n\n2. Data is appended, never parsed. Each incoming chunk reaches loop/1, which concatenates it onto the connection buffer and calls parse/2. The parse/2 clause for in_state=ps_next_request with a live #stream{} returns straight to before_loop/1 with the enlarged buffer, deferring all parsing until the current stream stops. The parser limits (max_request_line_length, max_header_name_length, max_header_value_length, max_headers) are enforced only by the parsing clauses that run after that point, and max_skip_body_length only covers an unread body of the current request, not bytes after it.\n\n3. No timer bounds the window. While a stream is live the connection runs on idle_timeout (default 60 seconds), and set_timeout/2 resets it on every received chunk. The attacker therefore keeps the window open by continuing to send. Only the handler finishing ends it, at which point parsing resumes, the buffered bytes fail the request-line checks, and the connection closes with a 4xx response. By then the data has been held for the full handler duration.\n\n4. Introduction. The behaviour arrived with the change that removed concurrent processing of pipelined HTTP/1.1 requests (first shipped in 2.18.0). Earlier releases parsed pipelined data as it arrived, so excess bytes hit the request-line limit immediately and the connection was closed with 414 Request-URI Too Long before any significant amount was buffered. The introducing commit describes the intended behaviour as stopping reads from the socket until the stream stops, but the code keeps the socket active and buffers instead."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-115701",
        "datePublished": "2026-11-06T10:29:00.314Z",
        "dateReserved": "2026-10-26T10:30:01.636Z",
        "dateUpdated": "2026-11-10T15:02:23.747Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-113431 (GCVE-0-2026-113431)

    Vulnerability from cvelistv5 – Published: 2026-11-06 10:28 – Updated: 2026-11-19 07:53
    VLAI
    Title
    Unbounded decoded HTTP/2 header-list size in cowlib cow_http2_machine enables HPACK amplification memory exhaustion
    Summary
    Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowlib allows an unauthenticated remote peer to exhaust the memory of an HTTP/2 endpoint via HPACK-indexed header fields. cow_http2_machine:headers_decode/4 in src/cow_http2_machine.erl decodes every HEADERS block with cow_hpack:decode/3. It bounds the compressed block size and the number of fields, but not the size of the decoded header list that RFC 9113 section 6.5.2 places under SETTINGS_MAX_HEADER_LIST_SIZE. A peer stores one header value of up to the dynamic table size (4096 bytes by default) and then references it with one-byte indexed fields, so about 100 bytes on the wire decode to a header list of about 390 KB. A consumer that copies the decoded values, as Cowboy does when cowboy_http2:headers_to_map/2 joins repeated cookie fields into one binary, allocates that amount for every stream. The total across streams and connections is not bounded. This issue affects cowlib: from 2.7.0 before 2.22.0.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-10 15:02 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 2.7.0 , < 2.22.0 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: b461b119e78e4e09bb28b186b09da7ed4a86a0dd , < a3b15e29b3067644bfd580246c87f7af7a90b3b8 (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-06 10:28
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-113431",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-10T15:02:48.422648Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-10T15:03:30.825Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_http2_machine",
                "cow_hpack"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_http2_machine.erl",
                "src/cow_hpack.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_http2_machine:headers_decode/4"
                },
                {
                  "name": "cow_http2_machine:frame/2"
                },
                {
                  "name": "cow_hpack:decode/3"
                },
                {
                  "name": "cow_hpack:decode/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.22.0",
                  "status": "affected",
                  "version": "2.7.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_http2_machine",
                "cow_hpack"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_http2_machine.erl",
                "src/cow_hpack.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_http2_machine:headers_decode/4"
                },
                {
                  "name": "cow_http2_machine:frame/2"
                },
                {
                  "name": "cow_hpack:decode/3"
                },
                {
                  "name": "cow_hpack:decode/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "a3b15e29b3067644bfd580246c87f7af7a90b3b8",
                  "status": "affected",
                  "version": "b461b119e78e4e09bb28b186b09da7ed4a86a0dd",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.22.0",
                      "versionStartIncluding": "2.7.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Andrew Moore"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Andrew Moore"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "dateAssigned": "2026-10-30T12:35:17.000Z",
          "datePublic": "2026-11-06T10:28:16.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in ninenines cowlib allows an unauthenticated remote peer to exhaust the memory of an HTTP/2 endpoint via HPACK-indexed header fields.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_http2_machine:headers_decode/4\u003c/code\u003e in \u003ccode\u003esrc/cow_http2_machine.erl\u003c/code\u003e decodes every HEADERS block with \u003ccode\u003ecow_hpack:decode/3\u003c/code\u003e. It bounds the compressed block size and the number of fields, but not the size of the decoded header list that RFC 9113 section 6.5.2 places under \u003ccode\u003eSETTINGS_MAX_HEADER_LIST_SIZE\u003c/code\u003e. A peer stores one header value of up to the dynamic table size (4096 bytes by default) and then references it with one-byte indexed fields, so about 100 bytes on the wire decode to a header list of about 390 KB. A consumer that copies the decoded values, as Cowboy does when \u003ccode\u003ecowboy_http2:headers_to_map/2\u003c/code\u003e joins repeated \u003ccode\u003ecookie\u003c/code\u003e fields into one binary, allocates that amount for every stream. The total across streams and connections is not bounded.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.7.0 before 2.22.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowlib allows an unauthenticated remote peer to exhaust the memory of an HTTP/2 endpoint via HPACK-indexed header fields.\n\n`cow_http2_machine:headers_decode/4` in `src/cow_http2_machine.erl` decodes every HEADERS block with `cow_hpack:decode/3`. It bounds the compressed block size and the number of fields, but not the size of the decoded header list that RFC 9113 section 6.5.2 places under `SETTINGS_MAX_HEADER_LIST_SIZE`. A peer stores one header value of up to the dynamic table size (4096 bytes by default) and then references it with one-byte indexed fields, so about 100 bytes on the wire decode to a header list of about 390 KB. A consumer that copies the decoded values, as Cowboy does when `cowboy_http2:headers_to_map/2` joins repeated `cookie` fields into one binary, allocates that amount for every stream. The total across streams and connections is not bounded.\n\nThis issue affects cowlib: from 2.7.0 before 2.22.0."
                }
              ],
              "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowlib allows an unauthenticated remote peer to exhaust the memory of an HTTP/2 endpoint via HPACK-indexed header fields.\n\ncow_http2_machine:headers_decode/4 in src/cow_http2_machine.erl decodes every HEADERS block with cow_hpack:decode/3. It bounds the compressed block size and the number of fields, but not the size of the decoded header list that RFC 9113 section 6.5.2 places under SETTINGS_MAX_HEADER_LIST_SIZE. A peer stores one header value of up to the dynamic table size (4096 bytes by default) and then references it with one-byte indexed fields, so about 100 bytes on the wire decode to a header list of about 390 KB. A consumer that copies the decoded values, as Cowboy does when cowboy_http2:headers_to_map/2 joins repeated cookie fields into one binary, allocates that amount for every stream. The total across streams and connections is not bounded.\n\nThis issue affects cowlib: from 2.7.0 before 2.22.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-491",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eA remote unauthenticated client makes an HTTP/2 server built on cowlib, such as a Cowboy listener, allocate roughly 2,400 times the bytes it sends. One connection reaches about 38 MB with default settings, and an attacker holding many connections can drive the Erlang VM out of memory.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "A remote unauthenticated client makes an HTTP/2 server built on cowlib, such as a Cowboy listener, allocate roughly 2,400 times the bytes it sends. One connection reaches about 38 MB with default settings, and an attacker holding many connections can drive the Erlang VM out of memory."
                    }
                  ],
                  "value": "A remote unauthenticated client makes an HTTP/2 server built on cowlib, such as a Cowboy listener, allocate roughly 2,400 times the bytes it sends. One connection reaches about 38 MB with default settings, and an attacker holding many connections can drive the Erlang VM out of memory."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-19T07:53:49.966Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-113431",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-113431.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-113431",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-113431"
            },
            {
              "name": "Introducing commit b461b11 in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/b461b119e78e4e09bb28b186b09da7ed4a86a0dd"
            },
            {
              "name": "Fix commit a3b15e2 in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/a3b15e29b3067644bfd580246c87f7af7a90b3b8"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Unbounded decoded HTTP/2 header-list size in cowlib cow_http2_machine enables HPACK amplification memory exhaustion",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eCowboy servers that do not need HTTP/2 can set \u003ccode\u003eprotocols =\u0026gt; [http]\u003c/code\u003e in the protocol options. The listener then answers the HTTP/2 preface with \u003ccode\u003e501 Not Implemented\u003c/code\u003e and the decoder is never reached.\u003c/p\u003e\n\u003cp\u003eLowering \u003ccode\u003emax_headers\u003c/code\u003e in the HTTP/2 protocol options shrinks the per-stream allocation in proportion, to about \u003ccode\u003emax_headers\u003c/code\u003e times the 4096-byte table entry. This reduces the amplification but does not remove it.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Cowboy servers that do not need HTTP/2 can set `protocols =\u003e [http]` in the protocol options. The listener then answers the HTTP/2 preface with `501 Not Implemented` and the decoder is never reached.\n\nLowering `max_headers` in the HTTP/2 protocol options shrinks the per-stream allocation in proportion, to about `max_headers` times the 4096-byte table entry. This reduces the amplification but does not remove it."
                }
              ],
              "value": "Cowboy servers that do not need HTTP/2 can set protocols =\u003e [http] in the protocol options. The listener then answers the HTTP/2 preface with 501 Not Implemented and the decoder is never reached.\n\nLowering max_headers in the HTTP/2 protocol options shrinks the per-stream allocation in proportion, to about max_headers times the 4096-byte table entry. This reduces the amplification but does not remove it."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eStart a Cowboy clear listener with default protocol options and a handler that takes a few seconds to reply, so streams stay open.\u003c/li\u003e\n\u003cli\u003eOpen one TCP connection, send the HTTP/2 client preface and an empty SETTINGS frame.\u003c/li\u003e\n\u003cli\u003eOn stream 1 send a HEADERS frame with \u003ccode\u003eEND_HEADERS\u003c/code\u003e and \u003ccode\u003eEND_STREAM\u003c/code\u003e whose block contains \u003ccode\u003e:method\u003c/code\u003e, \u003ccode\u003e:scheme\u003c/code\u003e, \u003ccode\u003e:path\u003c/code\u003e and \u003ccode\u003e:authority\u003c/code\u003e, then one literal \u003ccode\u003ecookie\u003c/code\u003e field with incremental indexing carrying a 4000-byte value, then 95 indexed fields \u003ccode\u003e0xBE\u003c/code\u003e referencing it.\u003c/li\u003e\n\u003cli\u003eOn streams 3 through 199 send the same frame with the four pseudo-headers followed by 96 indexed fields \u003ccode\u003e0xBE\u003c/code\u003e. Each block is 110 bytes.\u003c/li\u003e\n\u003cli\u003eWatch \u003ccode\u003eerlang:memory(binary)\u003c/code\u003e on the server. It grows by about 38 MB for about 16 KB sent, and \u003ccode\u003ecowboy_req:header(\u0026lt;\u0026lt;\"cookie\"\u0026gt;\u0026gt;, Req)\u003c/code\u003e in each handler returns a 384,190-byte binary.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Start a Cowboy clear listener with default protocol options and a handler that takes a few seconds to reply, so streams stay open.\n2. Open one TCP connection, send the HTTP/2 client preface and an empty SETTINGS frame.\n3. On stream 1 send a HEADERS frame with `END_HEADERS` and `END_STREAM` whose block contains `:method`, `:scheme`, `:path` and `:authority`, then one literal `cookie` field with incremental indexing carrying a 4000-byte value, then 95 indexed fields `0xBE` referencing it.\n4. On streams 3 through 199 send the same frame with the four pseudo-headers followed by 96 indexed fields `0xBE`. Each block is 110 bytes.\n5. Watch `erlang:memory(binary)` on the server. It grows by about 38 MB for about 16 KB sent, and `cowboy_req:header(\u003c\u003c\"cookie\"\u003e\u003e, Req)` in each handler returns a 384,190-byte binary."
                }
              ],
              "value": "* Start a Cowboy clear listener with default protocol options and a handler that takes a few seconds to reply, so streams stay open.\n* Open one TCP connection, send the HTTP/2 client preface and an empty SETTINGS frame.\n* On stream 1 send a HEADERS frame with END_HEADERS and END_STREAM whose block contains :method, :scheme, :path and :authority, then one literal cookie field with incremental indexing carrying a 4000-byte value, then 95 indexed fields 0xBE referencing it.\n* On streams 3 through 199 send the same frame with the four pseudo-headers followed by 96 indexed fields 0xBE. Each block is 110 bytes.\n* Watch erlang:memory(binary) on the server. It grows by about 38 MB for about 16 KB sent, and cowboy_req:header(\u003c\u003c\"cookie\"\u003e\u003e, Req) in each handler returns a 384,190-byte binary."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. The decoder bounds everything but the decoded size.\u003c/strong\u003e \u003ccode\u003ecow_http2_machine:headers_decode/4\u003c/code\u003e passes each complete header block to \u003ccode\u003ecow_hpack:decode/3\u003c/code\u003e. Two limits apply: \u003ccode\u003emax_fragmented_header_block_size\u003c/code\u003e (32768 bytes by default) on the compressed block, and \u003ccode\u003emax_headers\u003c/code\u003e (100 by default, added in cowlib 2.17.0) on the number of fields. \u003ccode\u003emax_header_list_size\u003c/code\u003e appears in the module\u0027s option list with a default of \u003ccode\u003einfinity\u003c/code\u003e, next to a \u003ccode\u003e@todo\u003c/code\u003e comment, and is neither advertised in SETTINGS nor enforced on the decoded list, which is what RFC 9113 section 6.5.2 defines it for.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. One-byte fields expand to kilobytes.\u003c/strong\u003e The dynamic table holds entries of up to \u003ccode\u003emax_decode_table_size\u003c/code\u003e (4096 bytes by default). The peer sends one literal field with incremental indexing carrying a 4000-byte value, which becomes table entry 62. Every later field is the single byte \u003ccode\u003e0xBE\u003c/code\u003e, an indexed representation of that entry. A 110-byte block that carries four pseudo-headers and 96 such references decodes to a 100-field list whose values total 384,000 bytes. Before 2.17.0 no field count applied, so a 32 KB block referenced the entry about 32,000 times.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. The allocation is realised by the consumer.\u003c/strong\u003e The list that \u003ccode\u003ecow_hpack\u003c/code\u003e returns is cheap, about 2 KB of heap, because every reference shares the one table binary. Cowboy\u0027s \u003ccode\u003ecowboy_http2:headers_to_map/2\u003c/code\u003e joins repeated fields into a single new binary (\u003ccode\u003e\"; \"\u003c/code\u003e for \u003ccode\u003ecookie\u003c/code\u003e, \u003ccode\u003e\", \"\u003c/code\u003e for other names), so each stream yields a 384,190-byte cookie value that lives in the request process for the life of the stream. Cowboy\u0027s HTTP/1.1 limits \u003ccode\u003emax_header_value_length\u003c/code\u003e and \u003ccode\u003emax_headers\u003c/code\u003e do not apply to HTTP/2. With the default \u003ccode\u003emax_concurrent_streams\u003c/code\u003e of 100 a connection holds about 38 MB, and only the Ranch connection limit bounds the total. Gun hands the decoded list to the owner process without copying the values, so the client side sees a small list per response and no amplification.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Measurement.\u003c/strong\u003e On cowboy 2.20.0 with cowlib 2.21.0 on Erlang/OTP 29, one h2c connection on loopback sent 15,943 bytes of HEADERS for 100 streams. Binary memory grew by 38.4 MB and every handler received a 384,190-byte \u003ccode\u003ecookie\u003c/code\u003e header. A control with the same 100 streams and no indexed fields grew by 0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. The decoder bounds everything but the decoded size.** `cow_http2_machine:headers_decode/4` passes each complete header block to `cow_hpack:decode/3`. Two limits apply: `max_fragmented_header_block_size` (32768 bytes by default) on the compressed block, and `max_headers` (100 by default, added in cowlib 2.17.0) on the number of fields. `max_header_list_size` appears in the module\u0027s option list with a default of `infinity`, next to a `@todo` comment, and is neither advertised in SETTINGS nor enforced on the decoded list, which is what RFC 9113 section 6.5.2 defines it for.\n\n**2. One-byte fields expand to kilobytes.** The dynamic table holds entries of up to `max_decode_table_size` (4096 bytes by default). The peer sends one literal field with incremental indexing carrying a 4000-byte value, which becomes table entry 62. Every later field is the single byte `0xBE`, an indexed representation of that entry. A 110-byte block that carries four pseudo-headers and 96 such references decodes to a 100-field list whose values total 384,000 bytes. Before 2.17.0 no field count applied, so a 32 KB block referenced the entry about 32,000 times.\n\n**3. The allocation is realised by the consumer.** The list that `cow_hpack` returns is cheap, about 2 KB of heap, because every reference shares the one table binary. Cowboy\u0027s `cowboy_http2:headers_to_map/2` joins repeated fields into a single new binary (`\"; \"` for `cookie`, `\", \"` for other names), so each stream yields a 384,190-byte cookie value that lives in the request process for the life of the stream. Cowboy\u0027s HTTP/1.1 limits `max_header_value_length` and `max_headers` do not apply to HTTP/2. With the default `max_concurrent_streams` of 100 a connection holds about 38 MB, and only the Ranch connection limit bounds the total. Gun hands the decoded list to the owner process without copying the values, so the client side sees a small list per response and no amplification.\n\n**4. Measurement.** On cowboy 2.20.0 with cowlib 2.21.0 on Erlang/OTP 29, one h2c connection on loopback sent 15,943 bytes of HEADERS for 100 streams. Binary memory grew by 38.4 MB and every handler received a 384,190-byte `cookie` header. A control with the same 100 streams and no indexed fields grew by 0."
                }
              ],
              "value": "1. The decoder bounds everything but the decoded size. cow_http2_machine:headers_decode/4 passes each complete header block to cow_hpack:decode/3. Two limits apply: max_fragmented_header_block_size (32768 bytes by default) on the compressed block, and max_headers (100 by default, added in cowlib 2.17.0) on the number of fields. max_header_list_size appears in the module\u0027s option list with a default of infinity, next to a @todo comment, and is neither advertised in SETTINGS nor enforced on the decoded list, which is what RFC 9113 section 6.5.2 defines it for.\n\n2. One-byte fields expand to kilobytes. The dynamic table holds entries of up to max_decode_table_size (4096 bytes by default). The peer sends one literal field with incremental indexing carrying a 4000-byte value, which becomes table entry 62. Every later field is the single byte 0xBE, an indexed representation of that entry. A 110-byte block that carries four pseudo-headers and 96 such references decodes to a 100-field list whose values total 384,000 bytes. Before 2.17.0 no field count applied, so a 32 KB block referenced the entry about 32,000 times.\n\n3. The allocation is realised by the consumer. The list that cow_hpack returns is cheap, about 2 KB of heap, because every reference shares the one table binary. Cowboy\u0027s cowboy_http2:headers_to_map/2 joins repeated fields into a single new binary (\"; \" for cookie, \", \" for other names), so each stream yields a 384,190-byte cookie value that lives in the request process for the life of the stream. Cowboy\u0027s HTTP/1.1 limits max_header_value_length and max_headers do not apply to HTTP/2. With the default max_concurrent_streams of 100 a connection holds about 38 MB, and only the Ranch connection limit bounds the total. Gun hands the decoded list to the owner process without copying the values, so the client side sees a small list per response and no amplification.\n\n4. Measurement. On cowboy 2.20.0 with cowlib 2.21.0 on Erlang/OTP 29, one h2c connection on loopback sent 15,943 bytes of HEADERS for 100 streams. Binary memory grew by 38.4 MB and every handler received a 384,190-byte cookie header. A control with the same 100 streams and no indexed fields grew by 0."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-113431",
        "datePublished": "2026-11-06T10:28:15.837Z",
        "dateReserved": "2026-10-30T12:30:02.006Z",
        "dateUpdated": "2026-11-19T07:53:49.966Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43971 (GCVE-0-2026-43971)

    Vulnerability from cvelistv5 – Published: 2026-08-18 09:01 – Updated: 2026-09-16 20:24
    VLAI
    Title
    Link Header Directive Smuggling via Unescaped target/rel/Attribute Keys in cow_link:link/1
    Summary
    Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in cow_link:link/1. cow_link:do_link/1 in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized Link: header value without escaping or token-grammar validation. A > byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A " or \ in rel escapes the quoted string and opens new parameters. Any byte — including whitespace, =, and " — in an attribute key is emitted verbatim. Because browsers act on Link: directives such as rel="preconnect", rel="preload", and rel="prerender", an attacker who can influence these fields in an application that round-trips parsed Link headers through cow_link:link/1 can force victim browsers to make out-of-band connections to attacker-controlled origins. This issue affects cowlib: from 2.9.0 before 2.20.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-08-18 14:11 UTC
    CWE
    • CWE-116 - Improper Encoding or Escaping of Output
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 2.9.0 , < 2.20.0 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: 485d58dfa91b91d98135dc95e5615f421715dae5 , < 89da27ee4c241f5d649ba7d9b7f2188918af6cea (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43971",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-08-18T14:11:55.645955Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-08-18T14:12:35.495Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_link"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_link.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_link:link/1"
                },
                {
                  "name": "cow_link:do_link/1"
                },
                {
                  "name": "cow_link:escape/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.20.0",
                  "status": "affected",
                  "version": "2.9.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_link"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_link.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_link:link/1"
                },
                {
                  "name": "cow_link:do_link/1"
                },
                {
                  "name": "cow_link:escape/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "89da27ee4c241f5d649ba7d9b7f2188918af6cea",
                  "status": "affected",
                  "version": "485d58dfa91b91d98135dc95e5615f421715dae5",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must pass values that originate from, or can be influenced by, untrusted input into \u003ccode\u003ecow_link:link/1\u003c/code\u003e \u2014 specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must pass values that originate from, or can be influenced by, untrusted input into `cow_link:link/1` \u2014 specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected."
                }
              ],
              "value": "The application must pass values that originate from, or can be influenced by, untrusted input into cow_link:link/1 \u2014 specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.20.0",
                      "versionStartIncluding": "2.9.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation reviewer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in \u003ccode\u003ecow_link:link/1\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_link:do_link/1\u003c/code\u003e in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized \u003ccode\u003eLink:\u003c/code\u003e header value without escaping or token-grammar validation. A \u003ccode\u003e\u0026gt;\u003c/code\u003e byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A \u003ccode\u003e\"\u003c/code\u003e or \u003ccode\u003e\\\u003c/code\u003e in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, \u003ccode\u003e=\u003c/code\u003e, and \u003ccode\u003e\"\u003c/code\u003e \u2014 in an attribute key is emitted verbatim. Because browsers act on \u003ccode\u003eLink:\u003c/code\u003e directives such as \u003ccode\u003erel=\"preconnect\"\u003c/code\u003e, \u003ccode\u003erel=\"preload\"\u003c/code\u003e, and \u003ccode\u003erel=\"prerender\"\u003c/code\u003e, an attacker who can influence these fields in an application that round-trips parsed Link headers through \u003ccode\u003ecow_link:link/1\u003c/code\u003e can force victim browsers to make out-of-band connections to attacker-controlled origins.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.9.0 before 2.20.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in `cow_link:link/1`.\n\n`cow_link:do_link/1` in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized `Link:` header value without escaping or token-grammar validation. A `\u003e` byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A `\"` or `\\` in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, `=`, and `\"` \u2014 in an attribute key is emitted verbatim. Because browsers act on `Link:` directives such as `rel=\"preconnect\"`, `rel=\"preload\"`, and `rel=\"prerender\"`, an attacker who can influence these fields in an application that round-trips parsed Link headers through `cow_link:link/1` can force victim browsers to make out-of-band connections to attacker-controlled origins.\n\nThis issue affects cowlib: from 2.9.0 before 2.20.0."
                }
              ],
              "value": "Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in cow_link:link/1.\n\ncow_link:do_link/1 in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized Link: header value without escaping or token-grammar validation. A \u003e byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A \" or \\ in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, =, and \" \u2014 in an attribute key is emitted verbatim. Because browsers act on Link: directives such as rel=\"preconnect\", rel=\"preload\", and rel=\"prerender\", an attacker who can influence these fields in an application that round-trips parsed Link headers through cow_link:link/1 can force victim browsers to make out-of-band connections to attacker-controlled origins.\n\nThis issue affects cowlib: from 2.9.0 before 2.20.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-137",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-137 Parameter Injection"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-116",
                  "description": "CWE-116 Improper Encoding or Escaping of Output",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-09-16T20:24:09.279Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43971",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43971.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43971",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43971"
            },
            {
              "name": "Introducing commit 485d58d in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/485d58dfa91b91d98135dc95e5615f421715dae5"
            },
            {
              "name": "Fix commit 89da27e in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/89da27ee4c241f5d649ba7d9b7f2188918af6cea"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Link Header Directive Smuggling via Unescaped target/rel/Attribute Keys in cow_link:link/1",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eSanitize values before passing them to \u003ccode\u003ecow_link:link/1\u003c/code\u003e: reject or strip any target value containing \u003ccode\u003e\u0026gt;\u003c/code\u003e, any rel value containing \u003ccode\u003e\"\u003c/code\u003e or \u003ccode\u003e\\\u003c/code\u003e, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Sanitize values before passing them to `cow_link:link/1`: reject or strip any target value containing `\u003e`, any rel value containing `\"` or `\\`, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input."
                }
              ],
              "value": "Sanitize values before passing them to cow_link:link/1: reject or strip any target value containing \u003e, any rel value containing \" or \\, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43971",
        "datePublished": "2026-08-18T09:01:53.199Z",
        "dateReserved": "2026-05-04T18:23:25.574Z",
        "dateUpdated": "2026-09-16T20:24:09.279Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-65624 (GCVE-0-2026-65624)

    Vulnerability from cvelistv5 – Published: 2026-07-28 10:01 – Updated: 2026-11-24 06:06
    VLAI
    Title
    Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion
    Summary
    Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1. The HTTP/1.1 handler in cowboy_http enforces the max_headers limit by counting the number of distinct header names in a map (maps:size(Headers)). When a request contains multiple header lines with the same name, the values are concatenated into a single ever-growing binary stored under that one map key (", " for regular headers, "; " for cookies), so the map size stays at one and the max_headers cap (default 100) is never reached. Because no accumulator bounds the total number of header lines or the total byte size of the header block (only per-line max_header_name_length and max_header_value_length apply), an unauthenticated client can send an arbitrary number of header lines with the same name and grow the connection process's binary memory to arbitrary size within the request window. The impact per connection is bounded by request_timeout (default 5 seconds, not reset by header data), and by max_heap_size when set (the offending connection process is killed once its heap grows past the limit). When max_heap_size is left at the default (unset), sustained abuse can drive the Erlang VM into out-of-memory conditions. This issue affects cowboy: from 2.0.0-pre.4 before 2.18.0.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-07-28 12:38 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    ninenines cowboy Affected: 2.0.0-pre.4 , < 2.18.0 (semver)
        cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowboy Affected: 309780a9fda145c262a47ac7811ffd50a0271c5b , < 3a34d8c1cfd94326466aa16a9017236691dc9c55 (git)
        cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-07-28 10:01
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-65624",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-07-28T12:38:53.899266Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-07-28T12:39:27.067Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cowboy_http"
              ],
              "packageName": "cowboy",
              "packageURL": "pkg:hex/cowboy",
              "product": "cowboy",
              "programFiles": [
                "src/cowboy_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "cowboy_http:parse_header/3"
                },
                {
                  "name": "cowboy_http:parse_hd_value/5"
                }
              ],
              "repo": "https://github.com/ninenines/cowboy",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.18.0",
                  "status": "affected",
                  "version": "2.0.0-pre.4",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cowboy_http"
              ],
              "packageName": "ninenines/cowboy",
              "packageURL": "pkg:github/ninenines/cowboy",
              "product": "cowboy",
              "programFiles": [
                "src/cowboy_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "cowboy_http:parse_header/3"
                },
                {
                  "name": "cowboy_http:parse_hd_value/5"
                }
              ],
              "repo": "https://github.com/ninenines/cowboy",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "3a34d8c1cfd94326466aa16a9017236691dc9c55",
                  "status": "affected",
                  "version": "309780a9fda145c262a47ac7811ffd50a0271c5b",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.18.0",
                      "versionStartIncluding": "2.0.0-pre.4",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Jing Chen / Wuhan University"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Min Shi / Wuhan University"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Qiyi Deng / Wuhan University"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Yongkang Xiao / Wuhan University"
            },
            {
              "lang": "en",
              "type": "analyst",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-07-28T10:01:01.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\u003c/p\u003e\n\u003cp\u003eThe HTTP/1.1 handler in \u003ccode\u003ecowboy_http\u003c/code\u003e enforces the \u003ccode\u003emax_headers\u003c/code\u003e limit by counting the number of distinct header names in a map (\u003ccode\u003emaps:size(Headers)\u003c/code\u003e). When a request contains multiple header lines with the same name, the values are concatenated into a single ever-growing binary stored under that one map key (\u003ccode\u003e\", \"\u003c/code\u003e for regular headers, \u003ccode\u003e\"; \"\u003c/code\u003e for cookies), so the map size stays at one and the \u003ccode\u003emax_headers\u003c/code\u003e cap (default 100) is never reached. Because no accumulator bounds the total number of header lines or the total byte size of the header block (only per-line \u003ccode\u003emax_header_name_length\u003c/code\u003e and \u003ccode\u003emax_header_value_length\u003c/code\u003e apply), an unauthenticated client can send an arbitrary number of header lines with the same name and grow the connection process\u0027s binary memory to arbitrary size within the request window.\u003c/p\u003e\n\u003cp\u003eThe impact per connection is bounded by \u003ccode\u003erequest_timeout\u003c/code\u003e (default 5 seconds, not reset by header data), and by \u003ccode\u003emax_heap_size\u003c/code\u003e when set (the offending connection process is killed once its heap grows past the limit). When \u003ccode\u003emax_heap_size\u003c/code\u003e is left at the default (unset), sustained abuse can drive the Erlang VM into out-of-memory conditions.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowboy: from 2.0.0-pre.4 before 2.18.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\n\nThe HTTP/1.1 handler in `cowboy_http` enforces the `max_headers` limit by counting the number of distinct header names in a map (`maps:size(Headers)`). When a request contains multiple header lines with the same name, the values are concatenated into a single ever-growing binary stored under that one map key (`\", \"` for regular headers, `\"; \"` for cookies), so the map size stays at one and the `max_headers` cap (default 100) is never reached. Because no accumulator bounds the total number of header lines or the total byte size of the header block (only per-line `max_header_name_length` and `max_header_value_length` apply), an unauthenticated client can send an arbitrary number of header lines with the same name and grow the connection process\u0027s binary memory to arbitrary size within the request window.\n\nThe impact per connection is bounded by `request_timeout` (default 5 seconds, not reset by header data), and by `max_heap_size` when set (the offending connection process is killed once its heap grows past the limit). When `max_heap_size` is left at the default (unset), sustained abuse can drive the Erlang VM into out-of-memory conditions.\n\nThis issue affects cowboy: from 2.0.0-pre.4 before 2.18.0."
                }
              ],
              "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\n\nThe HTTP/1.1 handler in cowboy_http enforces the max_headers limit by counting the number of distinct header names in a map (maps:size(Headers)). When a request contains multiple header lines with the same name, the values are concatenated into a single ever-growing binary stored under that one map key (\", \" for regular headers, \"; \" for cookies), so the map size stays at one and the max_headers cap (default 100) is never reached. Because no accumulator bounds the total number of header lines or the total byte size of the header block (only per-line max_header_name_length and max_header_value_length apply), an unauthenticated client can send an arbitrary number of header lines with the same name and grow the connection process\u0027s binary memory to arbitrary size within the request window.\n\nThe impact per connection is bounded by request_timeout (default 5 seconds, not reset by header data), and by max_heap_size when set (the offending connection process is killed once its heap grows past the limit). When max_heap_size is left at the default (unset), sustained abuse can drive the Erlang VM into out-of-memory conditions.\n\nThis issue affects cowboy: from 2.0.0-pre.4 before 2.18.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 6.9,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "LOW",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T06:06:42.425Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-65624",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-65624.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-65624",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-65624"
            },
            {
              "name": "Introducing commit 309780a in ninenines/cowboy",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/309780a9fda145c262a47ac7811ffd50a0271c5b"
            },
            {
              "name": "Fix commit 3a34d8c in ninenines/cowboy",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/3a34d8c1cfd94326466aa16a9017236691dc9c55"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-65624",
        "datePublished": "2026-07-28T10:01:01.811Z",
        "dateReserved": "2026-07-22T13:55:59.401Z",
        "dateUpdated": "2026-11-24T06:06:42.425Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-59248 (GCVE-0-2026-59248)

    Vulnerability from cvelistv5 – Published: 2026-07-28 09:54 – Updated: 2026-11-24 05:39
    VLAI
    Title
    Unbounded HPACK/QPACK prefixed-integer decoding in Cowlib causes memory-exhaustion DoS
    Summary
    Allocation of resources without limits vulnerability in ninenines cowlib allows an unauthenticated remote HTTP/2 or HTTP/3 peer to exhaust memory on the vulnerable server (or client) and cause a denial of service. The HPACK and QPACK prefixed-integer decoder cow_hpack_common:dec_big_int/3 in src/cow_hpack_common.hrl (invoked from cow_hpack:decode/2 in src/cow_hpack.erl and from cow_qpack:decode_field_section/3 in src/cow_qpack.erl) reads continuation octets until it sees one whose high bit is clear, evaluating Int + (Value bsl M) at each step with the shift M growing by seven per octet. No limit is enforced on the number of continuation octets, on the resulting bit width, or on the value; the decoder consumes whatever encoded length the peer supplies. Because Erlang integers are immutable, each intermediate Value bsl M and each accumulator update allocates a fresh bignum whose digit width grows linearly with the number of octets processed so far. Summed across the whole decode, the transient bignum digit materialization is on the order of the square of the encoded length. A single maximal HPACK indexed representation carried inside one HTTP/2 HEADERS plus one CONTINUATION frame at Cowboy's default max_frame_size_received can force hundreds of megabytes of transient allocation and garbage-collection churn before the resulting header-table index is rejected as invalid. Repeated or concurrent connections multiply the pressure and can drive the Erlang VM to memory exhaustion. Cowlib is the HTTP parser used by Cowboy, RabbitMQ's management plugin, and other Erlang and Elixir HTTP/2 and HTTP/3 servers and clients, so any exposed endpoint that accepts HPACK or QPACK from an untrusted peer is reachable. This issue affects cowlib: from 2.0.0-pre.1 before 2.19.0.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-07-28 12:39 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 2.0.0-pre.1 , < 2.19.0 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: 5ddecbc121f812aec53d9df91829448d8e94e44c , < f582430498072a0c65ad338030321576dc13a343 (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-07-28 09:54
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-59248",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-07-28T12:39:48.662716Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-07-28T12:40:53.530Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_hpack",
                "cow_qpack"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_hpack_common.hrl",
                "src/cow_hpack.erl",
                "src/cow_qpack.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_hpack:decode/2"
                },
                {
                  "name": "cow_qpack:decode_field_section/3"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.19.0",
                  "status": "affected",
                  "version": "2.0.0-pre.1",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_hpack",
                "cow_qpack"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_hpack_common.hrl",
                "src/cow_hpack.erl",
                "src/cow_qpack.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_hpack:decode/2"
                },
                {
                  "name": "cow_qpack:decode_field_section/3"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "f582430498072a0c65ad338030321576dc13a343",
                  "status": "affected",
                  "version": "5ddecbc121f812aec53d9df91829448d8e94e44c",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.19.0",
                      "versionStartIncluding": "2.0.0-pre.1",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "David Hern\u00e1ndez"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "analyst",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-07-28T09:54:19.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of resources without limits vulnerability in ninenines cowlib allows an unauthenticated remote HTTP/2 or HTTP/3 peer to exhaust memory on the vulnerable server (or client) and cause a denial of service.\u003c/p\u003e\n\u003cp\u003eThe HPACK and QPACK prefixed-integer decoder \u003ccode\u003ecow_hpack_common:dec_big_int/3\u003c/code\u003e in \u003ccode\u003esrc/cow_hpack_common.hrl\u003c/code\u003e (invoked from \u003ccode\u003ecow_hpack:decode/2\u003c/code\u003e in \u003ccode\u003esrc/cow_hpack.erl\u003c/code\u003e and from \u003ccode\u003ecow_qpack:decode_field_section/3\u003c/code\u003e in \u003ccode\u003esrc/cow_qpack.erl\u003c/code\u003e) reads continuation octets until it sees one whose high bit is clear, evaluating \u003ccode\u003eInt + (Value bsl M)\u003c/code\u003e at each step with the shift \u003ccode\u003eM\u003c/code\u003e growing by seven per octet. No limit is enforced on the number of continuation octets, on the resulting bit width, or on the value; the decoder consumes whatever encoded length the peer supplies.\u003c/p\u003e\n\u003cp\u003eBecause Erlang integers are immutable, each intermediate \u003ccode\u003eValue bsl M\u003c/code\u003e and each accumulator update allocates a fresh bignum whose digit width grows linearly with the number of octets processed so far. Summed across the whole decode, the transient bignum digit materialization is on the order of the square of the encoded length. A single maximal HPACK indexed representation carried inside one HTTP/2 \u003ccode\u003eHEADERS\u003c/code\u003e plus one \u003ccode\u003eCONTINUATION\u003c/code\u003e frame at Cowboy\u0027s default \u003ccode\u003emax_frame_size_received\u003c/code\u003e can force hundreds of megabytes of transient allocation and garbage-collection churn before the resulting header-table index is rejected as invalid. Repeated or concurrent connections multiply the pressure and can drive the Erlang VM to memory exhaustion.\u003c/p\u003e\n\u003cp\u003eCowlib is the HTTP parser used by Cowboy, RabbitMQ\u0027s management plugin, and other Erlang and Elixir HTTP/2 and HTTP/3 servers and clients, so any exposed endpoint that accepts HPACK or QPACK from an untrusted peer is reachable.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.0.0-pre.1 before 2.19.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of resources without limits vulnerability in ninenines cowlib allows an unauthenticated remote HTTP/2 or HTTP/3 peer to exhaust memory on the vulnerable server (or client) and cause a denial of service.\n\nThe HPACK and QPACK prefixed-integer decoder `cow_hpack_common:dec_big_int/3` in `src/cow_hpack_common.hrl` (invoked from `cow_hpack:decode/2` in `src/cow_hpack.erl` and from `cow_qpack:decode_field_section/3` in `src/cow_qpack.erl`) reads continuation octets until it sees one whose high bit is clear, evaluating `Int + (Value bsl M)` at each step with the shift `M` growing by seven per octet. No limit is enforced on the number of continuation octets, on the resulting bit width, or on the value; the decoder consumes whatever encoded length the peer supplies.\n\nBecause Erlang integers are immutable, each intermediate `Value bsl M` and each accumulator update allocates a fresh bignum whose digit width grows linearly with the number of octets processed so far. Summed across the whole decode, the transient bignum digit materialization is on the order of the square of the encoded length. A single maximal HPACK indexed representation carried inside one HTTP/2 `HEADERS` plus one `CONTINUATION` frame at Cowboy\u0027s default `max_frame_size_received` can force hundreds of megabytes of transient allocation and garbage-collection churn before the resulting header-table index is rejected as invalid. Repeated or concurrent connections multiply the pressure and can drive the Erlang VM to memory exhaustion.\n\nCowlib is the HTTP parser used by Cowboy, RabbitMQ\u0027s management plugin, and other Erlang and Elixir HTTP/2 and HTTP/3 servers and clients, so any exposed endpoint that accepts HPACK or QPACK from an untrusted peer is reachable.\n\nThis issue affects cowlib: from 2.0.0-pre.1 before 2.19.0."
                }
              ],
              "value": "Allocation of resources without limits vulnerability in ninenines cowlib allows an unauthenticated remote HTTP/2 or HTTP/3 peer to exhaust memory on the vulnerable server (or client) and cause a denial of service.\n\nThe HPACK and QPACK prefixed-integer decoder cow_hpack_common:dec_big_int/3 in src/cow_hpack_common.hrl (invoked from cow_hpack:decode/2 in src/cow_hpack.erl and from cow_qpack:decode_field_section/3 in src/cow_qpack.erl) reads continuation octets until it sees one whose high bit is clear, evaluating Int + (Value bsl M) at each step with the shift M growing by seven per octet. No limit is enforced on the number of continuation octets, on the resulting bit width, or on the value; the decoder consumes whatever encoded length the peer supplies.\n\nBecause Erlang integers are immutable, each intermediate Value bsl M and each accumulator update allocates a fresh bignum whose digit width grows linearly with the number of octets processed so far. Summed across the whole decode, the transient bignum digit materialization is on the order of the square of the encoded length. A single maximal HPACK indexed representation carried inside one HTTP/2 HEADERS plus one CONTINUATION frame at Cowboy\u0027s default max_frame_size_received can force hundreds of megabytes of transient allocation and garbage-collection churn before the resulting header-table index is rejected as invalid. Repeated or concurrent connections multiply the pressure and can drive the Erlang VM to memory exhaustion.\n\nCowlib is the HTTP parser used by Cowboy, RabbitMQ\u0027s management plugin, and other Erlang and Elixir HTTP/2 and HTTP/3 servers and clients, so any exposed endpoint that accepts HPACK or QPACK from an untrusted peer is reachable.\n\nThis issue affects cowlib: from 2.0.0-pre.1 before 2.19.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T05:39:07.650Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-59248",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-59248.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-59248",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-59248"
            },
            {
              "name": "Introducing commit 5ddecbc in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/5ddecbc121f812aec53d9df91829448d8e94e44c"
            },
            {
              "name": "Fix commit f582430 in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/f582430498072a0c65ad338030321576dc13a343"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Unbounded HPACK/QPACK prefixed-integer decoding in Cowlib causes memory-exhaustion DoS"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-59248",
        "datePublished": "2026-07-28T09:54:19.579Z",
        "dateReserved": "2026-07-04T04:24:03.652Z",
        "dateUpdated": "2026-11-24T05:39:07.650Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43966 (GCVE-0-2026-43966)

    Vulnerability from cvelistv5 – Published: 2026-06-08 16:34 – Updated: 2026-11-19 08:18
    VLAI
    Title
    HTTP Response Splitting via Non-VCHAR Bytes in cow_http_struct_hd:escape_string/2
    Summary
    Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in ninenines cowlib allows HTTP response splitting via non-VCHAR bytes in structured-fields string values. cow_http_struct_hd:escape_string/2 in cowlib only escapes \ and ", passing all other bytes through verbatim. This creates an encoder/decoder asymmetry: the matching parser accepts only printable ASCII (0x20–0x7E, excluding " and \), but the encoder emits any byte including CR and LF. An application that builds a structured HTTP header via cow_http_struct_hd:item/1 (or a higher-level wrapper such as cow_http_hd:wt_protocol/1) from attacker-controlled input can have \r\n injected into the serialized header value. Once on the wire, the injected CRLF terminates the current header and any following bytes are interpreted as a new header, enabling HTTP response splitting. This issue affects cowlib: from 2.9.0 before 2.22.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-06-08 18:37 UTC
    CWE
    • CWE-113 - Improper Neutralization of CRLF Sequences in HTTP Headers
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 2.9.0 , < 2.22.0 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: a8b793db3d6ffe91d62f81baf41b1dab4cd78fb6 , < 4401b858f2229abb3ea115c60924f6c77e5f8aa3 (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-10-14 09:20
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43966",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-06-08T18:37:59.853576Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-06-08T18:38:08.160Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_http_struct_hd"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_http_struct_hd.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_http_struct_hd:escape_string/2"
                },
                {
                  "name": "cow_http_struct_hd:bare_item/1"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.22.0",
                  "status": "affected",
                  "version": "2.9.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_http_struct_hd"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_http_struct_hd.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_http_struct_hd:escape_string/2"
                },
                {
                  "name": "cow_http_struct_hd:bare_item/1"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "4401b858f2229abb3ea115c60924f6c77e5f8aa3",
                  "status": "affected",
                  "version": "a8b793db3d6ffe91d62f81baf41b1dab4cd78fb6",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must pass attacker-controlled data as a string value into \u003ccode\u003ecow_http_struct_hd:item/1\u003c/code\u003e (or a wrapper that delegates to it). Applications that construct structured-fields header values exclusively from trusted, application-controlled values are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must pass attacker-controlled data as a string value into `cow_http_struct_hd:item/1` (or a wrapper that delegates to it). Applications that construct structured-fields header values exclusively from trusted, application-controlled values are not affected."
                }
              ],
              "value": "The application must pass attacker-controlled data as a string value into cow_http_struct_hd:item/1 (or a wrapper that delegates to it). Applications that construct structured-fields header values exclusively from trusted, application-controlled values are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.22.0",
                      "versionStartIncluding": "2.9.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-10-14T09:20:41.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Neutralization of CRLF Sequences in HTTP Headers (\u0027HTTP Request/Response Splitting\u0027) vulnerability in ninenines cowlib allows HTTP response splitting via non-VCHAR bytes in structured-fields string values.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_http_struct_hd:escape_string/2\u003c/code\u003e in cowlib only escapes \u003ccode\u003e\\\u003c/code\u003e and \u003ccode\u003e\"\u003c/code\u003e, passing all other bytes through verbatim. This creates an encoder/decoder asymmetry: the matching parser accepts only printable ASCII (0x20\u20130x7E, excluding \u003ccode\u003e\"\u003c/code\u003e and \u003ccode\u003e\\\u003c/code\u003e), but the encoder emits any byte including CR and LF. An application that builds a structured HTTP header via \u003ccode\u003ecow_http_struct_hd:item/1\u003c/code\u003e (or a higher-level wrapper such as \u003ccode\u003ecow_http_hd:wt_protocol/1\u003c/code\u003e) from attacker-controlled input can have \u003ccode\u003e\\r\\n\u003c/code\u003e injected into the serialized header value. Once on the wire, the injected CRLF terminates the current header and any following bytes are interpreted as a new header, enabling HTTP response splitting.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.9.0 before 2.22.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Neutralization of CRLF Sequences in HTTP Headers (\u0027HTTP Request/Response Splitting\u0027) vulnerability in ninenines cowlib allows HTTP response splitting via non-VCHAR bytes in structured-fields string values.\n\n`cow_http_struct_hd:escape_string/2` in cowlib only escapes `\\` and `\"`, passing all other bytes through verbatim. This creates an encoder/decoder asymmetry: the matching parser accepts only printable ASCII (0x20\u20130x7E, excluding `\"` and `\\`), but the encoder emits any byte including CR and LF. An application that builds a structured HTTP header via `cow_http_struct_hd:item/1` (or a higher-level wrapper such as `cow_http_hd:wt_protocol/1`) from attacker-controlled input can have `\\r\\n` injected into the serialized header value. Once on the wire, the injected CRLF terminates the current header and any following bytes are interpreted as a new header, enabling HTTP response splitting.\n\nThis issue affects cowlib: from 2.9.0 before 2.22.0."
                }
              ],
              "value": "Improper Neutralization of CRLF Sequences in HTTP Headers (\u0027HTTP Request/Response Splitting\u0027) vulnerability in ninenines cowlib allows HTTP response splitting via non-VCHAR bytes in structured-fields string values.\n\ncow_http_struct_hd:escape_string/2 in cowlib only escapes \\ and \", passing all other bytes through verbatim. This creates an encoder/decoder asymmetry: the matching parser accepts only printable ASCII (0x20\u20130x7E, excluding \" and \\), but the encoder emits any byte including CR and LF. An application that builds a structured HTTP header via cow_http_struct_hd:item/1 (or a higher-level wrapper such as cow_http_hd:wt_protocol/1) from attacker-controlled input can have \\r\\n injected into the serialized header value. Once on the wire, the injected CRLF terminates the current header and any following bytes are interpreted as a new header, enabling HTTP response splitting.\n\nThis issue affects cowlib: from 2.9.0 before 2.22.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-34",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-34 HTTP Response Splitting"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-113",
                  "description": "CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-19T08:18:38.614Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "cowboy: Add invalid_response_headers HTTP/1 option",
              "tags": [
                "mitigation"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/f77cb9b5e730e300fffb551db1ba5d1c4ed878ef"
            },
            {
              "name": "EEF CNA record for CVE-2026-43966",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43966.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43966",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43966"
            },
            {
              "name": "gun: Add invalid_request_headers request option",
              "tags": [
                "mitigation"
              ],
              "url": "https://github.com/ninenines/gun/commit/4f35609eb37109b106a863fc9ba83d7ee64e3e42"
            },
            {
              "name": "Introducing commit a8b793d in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/a8b793db3d6ffe91d62f81baf41b1dab4cd78fb6"
            },
            {
              "name": "Fix commit 4401b85 in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/4401b858f2229abb3ea115c60924f6c77e5f8aa3"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "HTTP Response Splitting via Non-VCHAR Bytes in cow_http_struct_hd:escape_string/2",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eValidate all values passed into structured-fields header builders (directly via \u003ccode\u003ecow_http_struct_hd:item/1\u003c/code\u003e or indirectly via higher-level wrappers) before calling the encoder. Reject any value that is not from a trusted, application-controlled source or that contains CR (\u003ccode\u003e\\r\u003c/code\u003e) or LF (\u003ccode\u003e\\n\u003c/code\u003e) bytes.\u003c/p\u003e\n\u003cp\u003eApplications using cowboy 2.16.0 or later are protected on the server side by the \u003ccode\u003einvalid_response_headers\u003c/code\u003e option (defaults to \u003ccode\u003eerror_terminate\u003c/code\u003e), which rejects any outgoing response header value containing CR or LF before it reaches the wire. Applications using gun 2.4.0 or later are protected on the client side by the \u003ccode\u003einvalid_request_headers\u003c/code\u003e request option (defaults to \u003ccode\u003eraise\u003c/code\u003e), which raises an exception when an outgoing request header value contains CR or LF.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Validate all values passed into structured-fields header builders (directly via `cow_http_struct_hd:item/1` or indirectly via higher-level wrappers) before calling the encoder. Reject any value that is not from a trusted, application-controlled source or that contains CR (`\\r`) or LF (`\\n`) bytes.\n\nApplications using cowboy 2.16.0 or later are protected on the server side by the `invalid_response_headers` option (defaults to `error_terminate`), which rejects any outgoing response header value containing CR or LF before it reaches the wire. Applications using gun 2.4.0 or later are protected on the client side by the `invalid_request_headers` request option (defaults to `raise`), which raises an exception when an outgoing request header value contains CR or LF."
                }
              ],
              "value": "Validate all values passed into structured-fields header builders (directly via cow_http_struct_hd:item/1 or indirectly via higher-level wrappers) before calling the encoder. Reject any value that is not from a trusted, application-controlled source or that contains CR (\\r) or LF (\\n) bytes.\n\nApplications using cowboy 2.16.0 or later are protected on the server side by the invalid_response_headers option (defaults to error_terminate), which rejects any outgoing response header value containing CR or LF before it reaches the wire. Applications using gun 2.4.0 or later are protected on the client side by the invalid_request_headers request option (defaults to raise), which raises an exception when an outgoing request header value contains CR or LF."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43966",
        "datePublished": "2026-06-08T16:34:33.364Z",
        "dateReserved": "2026-05-04T18:23:25.573Z",
        "dateUpdated": "2026-11-19T08:18:38.614Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43973 (GCVE-0-2026-43973)

    Vulnerability from cvelistv5 – Published: 2026-06-08 14:12 – Updated: 2026-11-20 06:42
    VLAI
    Title
    gun HTTP/1.1 response buffer has no size limit allowing server-controlled memory exhaustion
    Summary
    Uncontrolled Resource Consumption vulnerability in ninenines gun (gun_http module) allows a malicious server to exhaust client memory via unbounded HTTP/1.1 response buffering. In gun_http:handle/5, three clauses accumulate incoming TCP data into the connection's buffer field using binary concatenation with no upper-bound check: the head clause appends data until the \r\n\r\n header terminator is found; the body_chunked clause appends data whenever cow_http_te:stream_chunked/2 returns a more result indicating an incomplete chunk boundary; and the body_trailer clause appends data until the trailing \r\n\r\n is found. In each case, when the expected terminator never arrives, the enlarged binary is stored back into state and the process waits for more data, with no configurable or hard-coded ceiling on buffer size. A malicious or compromised server can exploit this by sending a partial response that never completes. For example, a response may begin with HTTP/1.1 200 OK\r\nX-Pad: followed by an unbounded stream of arbitrary bytes, never sending the header terminator. The gun connection process will continuously append the incoming data to its buffer, causing unbounded heap growth. Because BEAM imposes no per-process heap limit by default, a single malicious connection can exhaust all available memory on the node, causing a node-wide out-of-memory crash. This issue affects gun: from 1.0.0-pre.1 before 2.4.0.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-06-08 15:48 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    ninenines gun Affected: 1.0.0-pre.1 , < 2.4.0 (semver)
        cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines gun Affected: 11dfe71f4b9aedaaedea2ad3b2f32fd006a8480f , < f3e7e0568b3c4cf9fa4bea79d5116e67ce76ad25 (git)
        cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-06-08 14:12
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43973",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-06-08T15:48:05.292583Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-06-08T15:48:12.581Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "gun_http"
              ],
              "packageName": "gun",
              "packageURL": "pkg:hex/gun",
              "product": "gun",
              "programFiles": [
                "src/gun_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "gun_http:handle/2"
                },
                {
                  "name": "gun_http:handle/4"
                },
                {
                  "name": "gun_http:handle/5"
                }
              ],
              "repo": "https://github.com/ninenines/gun",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.4.0",
                  "status": "affected",
                  "version": "1.0.0-pre.1",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "gun_http"
              ],
              "packageName": "ninenines/gun",
              "packageURL": "pkg:github/ninenines/gun",
              "product": "gun",
              "programFiles": [
                "src/gun_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "gun_http:handle/2"
                },
                {
                  "name": "gun_http:handle/4"
                },
                {
                  "name": "gun_http:handle/5"
                }
              ],
              "repo": "https://github.com/ninenines/gun",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "f3e7e0568b3c4cf9fa4bea79d5116e67ce76ad25",
                  "status": "affected",
                  "version": "11dfe71f4b9aedaaedea2ad3b2f32fd006a8480f",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.4.0",
                      "versionStartIncluding": "1.0.0-pre.1",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-06-08T14:12:42.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUncontrolled Resource Consumption vulnerability in ninenines gun (\u003ccode\u003egun_http\u003c/code\u003e module) allows a malicious server to exhaust client memory via unbounded HTTP/1.1 response buffering.\u003c/p\u003e\n\u003cp\u003eIn \u003ccode\u003egun_http:handle/5\u003c/code\u003e, three clauses accumulate incoming TCP data into the connection\u0027s \u003ccode\u003ebuffer\u003c/code\u003e field using binary concatenation with no upper-bound check: the \u003ccode\u003ehead\u003c/code\u003e clause appends data until the \u003ccode\u003e\\r\\n\\r\\n\u003c/code\u003e header terminator is found; the \u003ccode\u003ebody_chunked\u003c/code\u003e clause appends data whenever \u003ccode\u003ecow_http_te:stream_chunked/2\u003c/code\u003e returns a \u003ccode\u003emore\u003c/code\u003e result indicating an incomplete chunk boundary; and the \u003ccode\u003ebody_trailer\u003c/code\u003e clause appends data until the trailing \u003ccode\u003e\\r\\n\\r\\n\u003c/code\u003e is found. In each case, when the expected terminator never arrives, the enlarged binary is stored back into state and the process waits for more data, with no configurable or hard-coded ceiling on buffer size.\u003c/p\u003e\n\u003cp\u003eA malicious or compromised server can exploit this by sending a partial response that never completes. For example, a response may begin with \u003ccode\u003eHTTP/1.1 200 OK\\r\\nX-Pad: \u003c/code\u003e followed by an unbounded stream of arbitrary bytes, never sending the header terminator. The gun connection process will continuously append the incoming data to its buffer, causing unbounded heap growth. Because BEAM imposes no per-process heap limit by default, a single malicious connection can exhaust all available memory on the node, causing a node-wide out-of-memory crash.\u003c/p\u003e\n\u003cp\u003eThis issue affects gun: from 1.0.0-pre.1 before 2.4.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Uncontrolled Resource Consumption vulnerability in ninenines gun (`gun_http` module) allows a malicious server to exhaust client memory via unbounded HTTP/1.1 response buffering.\n\nIn `gun_http:handle/5`, three clauses accumulate incoming TCP data into the connection\u0027s `buffer` field using binary concatenation with no upper-bound check: the `head` clause appends data until the `\\r\\n\\r\\n` header terminator is found; the `body_chunked` clause appends data whenever `cow_http_te:stream_chunked/2` returns a `more` result indicating an incomplete chunk boundary; and the `body_trailer` clause appends data until the trailing `\\r\\n\\r\\n` is found. In each case, when the expected terminator never arrives, the enlarged binary is stored back into state and the process waits for more data, with no configurable or hard-coded ceiling on buffer size.\n\nA malicious or compromised server can exploit this by sending a partial response that never completes. For example, a response may begin with `HTTP/1.1 200 OK\\r\\nX-Pad: ` followed by an unbounded stream of arbitrary bytes, never sending the header terminator. The gun connection process will continuously append the incoming data to its buffer, causing unbounded heap growth. Because BEAM imposes no per-process heap limit by default, a single malicious connection can exhaust all available memory on the node, causing a node-wide out-of-memory crash.\n\nThis issue affects gun: from 1.0.0-pre.1 before 2.4.0."
                }
              ],
              "value": "Uncontrolled Resource Consumption vulnerability in ninenines gun (gun_http module) allows a malicious server to exhaust client memory via unbounded HTTP/1.1 response buffering.\n\nIn gun_http:handle/5, three clauses accumulate incoming TCP data into the connection\u0027s buffer field using binary concatenation with no upper-bound check: the head clause appends data until the \\r\\n\\r\\n header terminator is found; the body_chunked clause appends data whenever cow_http_te:stream_chunked/2 returns a more result indicating an incomplete chunk boundary; and the body_trailer clause appends data until the trailing \\r\\n\\r\\n is found. In each case, when the expected terminator never arrives, the enlarged binary is stored back into state and the process waits for more data, with no configurable or hard-coded ceiling on buffer size.\n\nA malicious or compromised server can exploit this by sending a partial response that never completes. For example, a response may begin with HTTP/1.1 200 OK\\r\\nX-Pad:  followed by an unbounded stream of arbitrary bytes, never sending the header terminator. The gun connection process will continuously append the incoming data to its buffer, causing unbounded heap growth. Because BEAM imposes no per-process heap limit by default, a single malicious connection can exhaust all available memory on the node, causing a node-wide out-of-memory crash.\n\nThis issue affects gun: from 1.0.0-pre.1 before 2.4.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:42:30.715Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43973",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43973.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43973",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43973"
            },
            {
              "name": "Introducing commit 11dfe71 in ninenines/gun",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/gun/commit/11dfe71f4b9aedaaedea2ad3b2f32fd006a8480f"
            },
            {
              "name": "Fix commit f3e7e05 in ninenines/gun",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/gun/commit/f3e7e0568b3c4cf9fa4bea79d5116e67ce76ad25"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "gun HTTP/1.1 response buffer has no size limit allowing server-controlled memory exhaustion"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43973",
        "datePublished": "2026-06-08T14:12:42.128Z",
        "dateReserved": "2026-05-04T18:23:25.574Z",
        "dateUpdated": "2026-11-20T06:42:30.715Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43972 (GCVE-0-2026-43972)

    Vulnerability from cvelistv5 – Published: 2026-06-08 14:12 – Updated: 2026-11-20 06:39
    VLAI
    Title
    gun HTTP/2 PUSH_PROMISE authority not validated against connection origin allows cross-origin cookie injection
    Summary
    Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority. In gun_http2:push_promise_frame/7, the :authority pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection's origin. When gun_http2:headers_frame/9 later processes the response headers for the promised stream, it calls gun_cookies:set_cookie_header/7 with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 §10.6 / RFC 9113 §8.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for. A malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client's shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required. This issue affects gun: from 2.0.0-pre.2 before 2.4.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-06-08 15:42 UTC
    CWE
    • CWE-346 - Origin Validation Error
    Impacted products
    Vendor Product Version
    ninenines gun Affected: 2.0.0-pre.2 , < 2.4.0 (semver)
        cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines gun Affected: 87d0bfff926892d2dc0a55a3dc45d8c5f8a682f3 , < 567863ff53802fed21c3b3f25812db7f7ae29676 (git)
        cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-06-08 14:12
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43972",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-06-08T15:42:59.352280Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-06-08T15:43:06.577Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "gun_http2"
              ],
              "packageName": "gun",
              "packageURL": "pkg:hex/gun",
              "product": "gun",
              "programFiles": [
                "src/gun_http2.erl"
              ],
              "programRoutines": [
                {
                  "name": "gun_http2:push_promise_frame/7"
                },
                {
                  "name": "gun_http2:headers_frame/8"
                },
                {
                  "name": "gun_http2:headers_frame/9"
                }
              ],
              "repo": "https://github.com/ninenines/gun",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.4.0",
                  "status": "affected",
                  "version": "2.0.0-pre.2",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "gun_http2"
              ],
              "packageName": "ninenines/gun",
              "packageURL": "pkg:github/ninenines/gun",
              "product": "gun",
              "programFiles": [
                "src/gun_http2.erl"
              ],
              "programRoutines": [
                {
                  "name": "gun_http2:push_promise_frame/7"
                },
                {
                  "name": "gun_http2:headers_frame/8"
                },
                {
                  "name": "gun_http2:headers_frame/9"
                }
              ],
              "repo": "https://github.com/ninenines/gun",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "567863ff53802fed21c3b3f25812db7f7ae29676",
                  "status": "affected",
                  "version": "87d0bfff926892d2dc0a55a3dc45d8c5f8a682f3",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe vulnerability is exploitable only when gun is configured with a \u003ccode\u003ecookie_store\u003c/code\u003e and connects to an HTTP/2 server with server push enabled.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The vulnerability is exploitable only when gun is configured with a `cookie_store` and connects to an HTTP/2 server with server push enabled."
                }
              ],
              "value": "The vulnerability is exploitable only when gun is configured with a cookie_store and connects to an HTTP/2 server with server push enabled."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.4.0",
                      "versionStartIncluding": "2.0.0-pre.2",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-06-08T14:12:38.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOrigin Validation Error vulnerability in ninenines gun (\u003ccode\u003egun_http2\u003c/code\u003e module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\u003c/p\u003e\n\u003cp\u003eIn \u003ccode\u003egun_http2:push_promise_frame/7\u003c/code\u003e, the \u003ccode\u003e:authority\u003c/code\u003e pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection\u0027s origin. When \u003ccode\u003egun_http2:headers_frame/9\u003c/code\u003e later processes the response headers for the promised stream, it calls \u003ccode\u003egun_cookies:set_cookie_header/7\u003c/code\u003e with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 \u00a710.6 / RFC 9113 \u00a78.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for.\u003c/p\u003e\n\u003cp\u003eA malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client\u0027s shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required.\u003c/p\u003e\n\u003cp\u003eThis issue affects gun: from 2.0.0-pre.2 before 2.4.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Origin Validation Error vulnerability in ninenines gun (`gun_http2` module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\n\nIn `gun_http2:push_promise_frame/7`, the `:authority` pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection\u0027s origin. When `gun_http2:headers_frame/9` later processes the response headers for the promised stream, it calls `gun_cookies:set_cookie_header/7` with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 \u00a710.6 / RFC 9113 \u00a78.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for.\n\nA malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client\u0027s shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required.\n\nThis issue affects gun: from 2.0.0-pre.2 before 2.4.0."
                }
              ],
              "value": "Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\n\nIn gun_http2:push_promise_frame/7, the :authority pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection\u0027s origin. When gun_http2:headers_frame/9 later processes the response headers for the promised stream, it calls gun_cookies:set_cookie_header/7 with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 \u00a710.6 / RFC 9113 \u00a78.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for.\n\nA malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client\u0027s shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required.\n\nThis issue affects gun: from 2.0.0-pre.2 before 2.4.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-61",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-61 Session Fixation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "LOW",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-346",
                  "description": "CWE-346 Origin Validation Error",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:39:37.773Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43972",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43972.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43972",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43972"
            },
            {
              "name": "Introducing commit 87d0bff in ninenines/gun",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/gun/commit/87d0bfff926892d2dc0a55a3dc45d8c5f8a682f3"
            },
            {
              "name": "Fix commit 567863f in ninenines/gun",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/gun/commit/567863ff53802fed21c3b3f25812db7f7ae29676"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "gun HTTP/2 PUSH_PROMISE authority not validated against connection origin allows cross-origin cookie injection"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43972",
        "datePublished": "2026-06-08T14:12:38.780Z",
        "dateReserved": "2026-05-04T18:23:25.574Z",
        "dateUpdated": "2026-11-20T06:39:37.773Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43974 (GCVE-0-2026-43974)

    Vulnerability from cvelistv5 – Published: 2026-06-08 14:12 – Updated: 2026-11-20 06:44
    VLAI
    Title
    gun HTTP/1.1 client accepts unsolicited 101 Switching Protocols response allowing server-driven protocol hijack and OOM
    Summary
    Unexpected Status Code or Return Value vulnerability in ninenines gun (gun_http module) allows a malicious HTTP server to force the client into raw protocol mode via an unsolicited 101 Switching Protocols response. In gun_http:handle_inform/8, when a 101 Switching Protocols response is received over HTTP/1.1, the function verifies only that the Upgrade header is syntactically valid and that the stream reference is a plain reference(). It does not check whether the client ever sent an Upgrade or Connection: upgrade header on the corresponding request. Because this check is absent, any 101 response (solicited or not) causes gun to dispatch a gun_upgrade message to the caller and transition the entire connection to raw protocol mode. A malicious or compromised HTTP server can send an unsolicited 101 response to any HTTP/1.1 request, causing the gun client to abandon HTTP framing for that connection. Once in raw mode, gun_raw applies no flow control (flow=infinity) and re-arms socket active mode after every received packet, so the server can flood the client with arbitrary bytes. These are forwarded as unbounded gun_data messages to the owner process, exhausting its mailbox and BEAM memory, ultimately crashing the VM. This issue affects gun: from 2.0.0-pre.1 before 2.4.0.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-06-08 15:41 UTC
    CWE
    • CWE-841 - Improper Enforcement of Behavioral Workflow
    Impacted products
    Vendor Product Version
    ninenines gun Affected: 2.0.0-pre.1 , < 2.4.0 (semver)
        cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines gun Affected: a3c2edbb8c807717e2f10520c6cf1e77a62eab2e , < 5b48068c29ce5e112cb149b5857c7d4dc319a81b (git)
        cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-06-08 14:12
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43974",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-06-08T15:41:42.657559Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-06-08T15:41:49.498Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "gun_http"
              ],
              "packageName": "gun",
              "packageURL": "pkg:hex/gun",
              "product": "gun",
              "programFiles": [
                "src/gun_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "gun_http:handle_head/4"
                },
                {
                  "name": "gun_http:handle_inform/7"
                },
                {
                  "name": "gun_http:handle_inform/8"
                }
              ],
              "repo": "https://github.com/ninenines/gun",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.4.0",
                  "status": "affected",
                  "version": "2.0.0-pre.1",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "gun_http"
              ],
              "packageName": "ninenines/gun",
              "packageURL": "pkg:github/ninenines/gun",
              "product": "gun",
              "programFiles": [
                "src/gun_http.erl"
              ],
              "programRoutines": [
                {
                  "name": "gun_http:handle_head/4"
                },
                {
                  "name": "gun_http:handle_inform/7"
                },
                {
                  "name": "gun_http:handle_inform/8"
                }
              ],
              "repo": "https://github.com/ninenines/gun",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "5b48068c29ce5e112cb149b5857c7d4dc319a81b",
                  "status": "affected",
                  "version": "a3c2edbb8c807717e2f10520c6cf1e77a62eab2e",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.4.0",
                      "versionStartIncluding": "2.0.0-pre.1",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-06-08T14:12:36.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUnexpected Status Code or Return Value vulnerability in ninenines gun (\u003ccode\u003egun_http\u003c/code\u003e module) allows a malicious HTTP server to force the client into raw protocol mode via an unsolicited 101 Switching Protocols response.\u003c/p\u003e\n\u003cp\u003eIn \u003ccode\u003egun_http:handle_inform/8\u003c/code\u003e, when a \u003ccode\u003e101 Switching Protocols\u003c/code\u003e response is received over HTTP/1.1, the function verifies only that the \u003ccode\u003eUpgrade\u003c/code\u003e header is syntactically valid and that the stream reference is a plain \u003ccode\u003ereference()\u003c/code\u003e. It does not check whether the client ever sent an \u003ccode\u003eUpgrade\u003c/code\u003e or \u003ccode\u003eConnection: upgrade\u003c/code\u003e header on the corresponding request. Because this check is absent, any 101 response (solicited or not) causes gun to dispatch a \u003ccode\u003egun_upgrade\u003c/code\u003e message to the caller and transition the entire connection to raw protocol mode.\u003c/p\u003e\n\u003cp\u003eA malicious or compromised HTTP server can send an unsolicited 101 response to any HTTP/1.1 request, causing the gun client to abandon HTTP framing for that connection. Once in raw mode, \u003ccode\u003egun_raw\u003c/code\u003e applies no flow control (\u003ccode\u003eflow=infinity\u003c/code\u003e) and re-arms socket \u003ccode\u003eactive\u003c/code\u003e mode after every received packet, so the server can flood the client with arbitrary bytes. These are forwarded as unbounded \u003ccode\u003egun_data\u003c/code\u003e messages to the owner process, exhausting its mailbox and BEAM memory, ultimately crashing the VM.\u003c/p\u003e\n\u003cp\u003eThis issue affects gun: from 2.0.0-pre.1 before 2.4.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Unexpected Status Code or Return Value vulnerability in ninenines gun (`gun_http` module) allows a malicious HTTP server to force the client into raw protocol mode via an unsolicited 101 Switching Protocols response.\n\nIn `gun_http:handle_inform/8`, when a `101 Switching Protocols` response is received over HTTP/1.1, the function verifies only that the `Upgrade` header is syntactically valid and that the stream reference is a plain `reference()`. It does not check whether the client ever sent an `Upgrade` or `Connection: upgrade` header on the corresponding request. Because this check is absent, any 101 response (solicited or not) causes gun to dispatch a `gun_upgrade` message to the caller and transition the entire connection to raw protocol mode.\n\nA malicious or compromised HTTP server can send an unsolicited 101 response to any HTTP/1.1 request, causing the gun client to abandon HTTP framing for that connection. Once in raw mode, `gun_raw` applies no flow control (`flow=infinity`) and re-arms socket `active` mode after every received packet, so the server can flood the client with arbitrary bytes. These are forwarded as unbounded `gun_data` messages to the owner process, exhausting its mailbox and BEAM memory, ultimately crashing the VM.\n\nThis issue affects gun: from 2.0.0-pre.1 before 2.4.0."
                }
              ],
              "value": "Unexpected Status Code or Return Value vulnerability in ninenines gun (gun_http module) allows a malicious HTTP server to force the client into raw protocol mode via an unsolicited 101 Switching Protocols response.\n\nIn gun_http:handle_inform/8, when a 101 Switching Protocols response is received over HTTP/1.1, the function verifies only that the Upgrade header is syntactically valid and that the stream reference is a plain reference(). It does not check whether the client ever sent an Upgrade or Connection: upgrade header on the corresponding request. Because this check is absent, any 101 response (solicited or not) causes gun to dispatch a gun_upgrade message to the caller and transition the entire connection to raw protocol mode.\n\nA malicious or compromised HTTP server can send an unsolicited 101 response to any HTTP/1.1 request, causing the gun client to abandon HTTP framing for that connection. Once in raw mode, gun_raw applies no flow control (flow=infinity) and re-arms socket active mode after every received packet, so the server can flood the client with arbitrary bytes. These are forwarded as unbounded gun_data messages to the owner process, exhausting its mailbox and BEAM memory, ultimately crashing the VM.\n\nThis issue affects gun: from 2.0.0-pre.1 before 2.4.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-220",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-220 Client-Server Protocol Manipulation"
                }
              ]
            },
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-841",
                  "description": "CWE-841 Improper Enforcement of Behavioral Workflow",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:44:12.030Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43974",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43974.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43974",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43974"
            },
            {
              "name": "Introducing commit a3c2edb in ninenines/gun",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/gun/commit/a3c2edbb8c807717e2f10520c6cf1e77a62eab2e"
            },
            {
              "name": "Fix commit 5b48068 in ninenines/gun",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/gun/commit/5b48068c29ce5e112cb149b5857c7d4dc319a81b"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "gun HTTP/1.1 client accepts unsolicited 101 Switching Protocols response allowing server-driven protocol hijack and OOM"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43974",
        "datePublished": "2026-06-08T14:12:36.957Z",
        "dateReserved": "2026-05-04T18:23:25.574Z",
        "dateUpdated": "2026-11-20T06:44:12.030Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43970 (GCVE-0-2026-43970)

    Vulnerability from cvelistv5 – Published: 2026-05-13 18:43 – Updated: 2026-11-20 05:26
    VLAI
    Title
    Decompression Bomb in cow_spdy:inflate/2 Allows Memory Exhaustion via Crafted SPDY Frame
    Summary
    Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows unauthenticated remote denial of service via memory exhaustion. cow_spdy:inflate/2 in cowlib passes peer-supplied compressed bytes directly to zlib:inflate/2 with no output size bound. The SPDY header compression dictionary (?ZDICT) is public, and zlib compresses long runs of repeated bytes at roughly 1024:1, so a few kilobytes of SPDY frame payload can decompress to gigabytes on the BEAM heap, OOM-killing the node. A single unauthenticated SPDY frame is sufficient to trigger the condition. The parsers for syn_stream, syn_reply, and headers frame types are all affected via cow_spdy:parse_headers/2. This issue affects cowlib: from 0.1.0 before 2.16.1.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-05-14 12:38 UTC
    CWE
    • CWE-409 - Improper Handling of Highly Compressed Data (Data Amplification)
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 0.1.0 , < 2.16.1 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: fad5c0049df278cc498b6cdb519b09e845a070a8 , < 16aad3fb9f81f5cda4d1706ff0c54237c619c282 (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-05-13 18:43
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43970",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-14T12:38:59.086048Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-14T12:39:10.669Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_spdy"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_spdy.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_spdy:parse/2"
                },
                {
                  "name": "cow_spdy:inflate/2"
                },
                {
                  "name": "cow_spdy:parse_headers/2"
                },
                {
                  "name": "cow_spdy:parse_headers/4"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.16.1",
                  "status": "affected",
                  "version": "0.1.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_spdy"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_spdy.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_spdy:parse/2"
                },
                {
                  "name": "cow_spdy:inflate/2"
                },
                {
                  "name": "cow_spdy:parse_headers/2"
                },
                {
                  "name": "cow_spdy:parse_headers/4"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "16aad3fb9f81f5cda4d1706ff0c54237c619c282",
                  "status": "affected",
                  "version": "fad5c0049df278cc498b6cdb519b09e845a070a8",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must use \u003ccode\u003ecow_spdy:parse/2\u003c/code\u003e to parse SPDY frames from an untrusted peer. cowboy itself does not use \u003ccode\u003ecow_spdy\u003c/code\u003e; only direct callers of the \u003ccode\u003ecow_spdy\u003c/code\u003e API are affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must use `cow_spdy:parse/2` to parse SPDY frames from an untrusted peer. cowboy itself does not use `cow_spdy`; only direct callers of the `cow_spdy` API are affected."
                }
              ],
              "value": "The application must use cow_spdy:parse/2 to parse SPDY frames from an untrusted peer. cowboy itself does not use cow_spdy; only direct callers of the cow_spdy API are affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.16.1",
                      "versionStartIncluding": "0.1.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-05-13T18:43:11.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows unauthenticated remote denial of service via memory exhaustion.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_spdy:inflate/2\u003c/code\u003e in cowlib passes peer-supplied compressed bytes directly to \u003ccode\u003ezlib:inflate/2\u003c/code\u003e with no output size bound. The SPDY header compression dictionary (\u003ccode\u003e?ZDICT\u003c/code\u003e) is public, and zlib compresses long runs of repeated bytes at roughly 1024:1, so a few kilobytes of SPDY frame payload can decompress to gigabytes on the BEAM heap, OOM-killing the node. A single unauthenticated SPDY frame is sufficient to trigger the condition. The parsers for \u003ccode\u003esyn_stream\u003c/code\u003e, \u003ccode\u003esyn_reply\u003c/code\u003e, and \u003ccode\u003eheaders\u003c/code\u003e frame types are all affected via \u003ccode\u003ecow_spdy:parse_headers/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 0.1.0 before 2.16.1.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows unauthenticated remote denial of service via memory exhaustion.\n\n`cow_spdy:inflate/2` in cowlib passes peer-supplied compressed bytes directly to `zlib:inflate/2` with no output size bound. The SPDY header compression dictionary (`?ZDICT`) is public, and zlib compresses long runs of repeated bytes at roughly 1024:1, so a few kilobytes of SPDY frame payload can decompress to gigabytes on the BEAM heap, OOM-killing the node. A single unauthenticated SPDY frame is sufficient to trigger the condition. The parsers for `syn_stream`, `syn_reply`, and `headers` frame types are all affected via `cow_spdy:parse_headers/2`.\n\nThis issue affects cowlib: from 0.1.0 before 2.16.1."
                }
              ],
              "value": "Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows unauthenticated remote denial of service via memory exhaustion.\n\ncow_spdy:inflate/2 in cowlib passes peer-supplied compressed bytes directly to zlib:inflate/2 with no output size bound. The SPDY header compression dictionary (?ZDICT) is public, and zlib compresses long runs of repeated bytes at roughly 1024:1, so a few kilobytes of SPDY frame payload can decompress to gigabytes on the BEAM heap, OOM-killing the node. A single unauthenticated SPDY frame is sufficient to trigger the condition. The parsers for syn_stream, syn_reply, and headers frame types are all affected via cow_spdy:parse_headers/2.\n\nThis issue affects cowlib: from 0.1.0 before 2.16.1."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-409",
                  "description": "CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T05:26:29.166Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43970",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43970.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43970",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43970"
            },
            {
              "name": "Introducing commit fad5c00 in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/fad5c0049df278cc498b6cdb519b09e845a070a8"
            },
            {
              "name": "Fix commit 16aad3f in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/16aad3fb9f81f5cda4d1706ff0c54237c619c282"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUpgrade to cowlib 2.16.1 or later, in which the \u003ccode\u003ecow_spdy\u003c/code\u003e module has been removed entirely. No patched version of \u003ccode\u003ecow_spdy\u003c/code\u003e will be provided. Migrate away from SPDY, which has been deprecated since 2015 in favour of HTTP/2.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Upgrade to cowlib 2.16.1 or later, in which the `cow_spdy` module has been removed entirely. No patched version of `cow_spdy` will be provided. Migrate away from SPDY, which has been deprecated since 2015 in favour of HTTP/2."
                }
              ],
              "value": "Upgrade to cowlib 2.16.1 or later, in which the cow_spdy module has been removed entirely. No patched version of cow_spdy will be provided. Migrate away from SPDY, which has been deprecated since 2015 in favour of HTTP/2."
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Decompression Bomb in cow_spdy:inflate/2 Allows Memory Exhaustion via Crafted SPDY Frame"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43970",
        "datePublished": "2026-05-13T18:43:11.640Z",
        "dateReserved": "2026-05-04T18:23:25.574Z",
        "dateUpdated": "2026-11-20T05:26:29.166Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-8466 (GCVE-0-2026-8466)

    Vulnerability from cvelistv5 – Published: 2026-05-13 18:26 – Updated: 2026-11-20 05:22
    VLAI
    Title
    Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy
    Summary
    Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing. cowboy_req:read_part/3 in src/cowboy_req.erl accumulates incoming request bytes into a Buffer binary with no upper-bound check. When cow_multipart:parse_headers/2 returns more or {more, Buffer2}, the function reads up to Length bytes (default 64 KB) from the request body and recurses with the enlarged buffer. There is no equivalent of the byte_size(Acc) > Length guard present in the sibling function read_part_body/4. An unauthenticated attacker can send a multipart/form-data request whose body never yields a complete header section — for example, a body that never contains the advertised boundary delimiter, or one whose header lines never contain \r\n\r\n — and force the server process to accumulate memory linearly with the bytes the protocol layer is willing to deliver. A handful of concurrent such uploads is sufficient to exhaust BEAM memory. The function has had two names. From 0.10.0 to 2.0.0-pre.3 it is cowboy_req:part/3, reached through cowboy_req:part/1 and cowboy_req:part/2. From 2.0.0-pre.4 it is cowboy_req:read_part/3, reached through cowboy_req:read_part/1 and cowboy_req:read_part/2. Both have the same buffer loop. This issue affects cowboy: from 0.10.0 before 2.15.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-05-13 18:46 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    ninenines cowboy Affected: 0.10.0 , < 2.15.0 (semver)
        cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowboy Affected: 917cf99e10c41676183d501b86af6e47c95afb89 , < 5c6a2061b41bb5771c4659fac7d5a822dca5bafb (git)
        cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-05-13 18:26
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-8466",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-13T18:46:37.406887Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-13T18:52:29.452Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cowboy_req"
              ],
              "packageName": "cowboy",
              "packageURL": "pkg:hex/cowboy",
              "product": "cowboy",
              "programFiles": [
                "src/cowboy_req.erl"
              ],
              "programRoutines": [
                {
                  "name": "cowboy_req:part/1"
                },
                {
                  "name": "cowboy_req:part/2"
                },
                {
                  "name": "cowboy_req:part/3"
                },
                {
                  "name": "cowboy_req:read_part/1"
                },
                {
                  "name": "cowboy_req:read_part/2"
                },
                {
                  "name": "cowboy_req:read_part/3"
                }
              ],
              "repo": "https://github.com/ninenines/cowboy",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.15.0",
                  "status": "affected",
                  "version": "0.10.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cowboy_req"
              ],
              "packageName": "ninenines/cowboy",
              "packageURL": "pkg:github/ninenines/cowboy",
              "product": "cowboy",
              "programFiles": [
                "src/cowboy_req.erl"
              ],
              "programRoutines": [
                {
                  "name": "cowboy_req:part/1"
                },
                {
                  "name": "cowboy_req:part/2"
                },
                {
                  "name": "cowboy_req:part/3"
                },
                {
                  "name": "cowboy_req:read_part/1"
                },
                {
                  "name": "cowboy_req:read_part/2"
                },
                {
                  "name": "cowboy_req:read_part/3"
                }
              ],
              "repo": "https://github.com/ninenines/cowboy",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "5c6a2061b41bb5771c4659fac7d5a822dca5bafb",
                  "status": "affected",
                  "version": "917cf99e10c41676183d501b86af6e47c95afb89",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must expose an HTTP endpoint that calls \u003ccode\u003ecowboy_req:read_part/1,2\u003c/code\u003e (\u003ccode\u003ecowboy_req:part/1,2\u003c/code\u003e before 2.0.0-pre.4) to process \u003ccode\u003emultipart/form-data\u003c/code\u003e request bodies. Deployments that do not handle multipart uploads are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must expose an HTTP endpoint that calls `cowboy_req:read_part/1,2` (`cowboy_req:part/1,2` before 2.0.0-pre.4) to process `multipart/form-data` request bodies. Deployments that do not handle multipart uploads are not affected."
                }
              ],
              "value": "The application must expose an HTTP endpoint that calls cowboy_req:read_part/1,2 (cowboy_req:part/1,2 before 2.0.0-pre.4) to process multipart/form-data request bodies. Deployments that do not handle multipart uploads are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.15.0",
                      "versionStartIncluding": "0.10.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-05-13T18:26:21.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecowboy_req:read_part/3\u003c/code\u003e in \u003ccode\u003esrc/cowboy_req.erl\u003c/code\u003e accumulates incoming request bytes into a \u003ccode\u003eBuffer\u003c/code\u003e binary with no upper-bound check. When \u003ccode\u003ecow_multipart:parse_headers/2\u003c/code\u003e returns \u003ccode\u003emore\u003c/code\u003e or \u003ccode\u003e{more, Buffer2}\u003c/code\u003e, the function reads up to \u003ccode\u003eLength\u003c/code\u003e bytes (default 64 KB) from the request body and recurses with the enlarged buffer. There is no equivalent of the \u003ccode\u003ebyte_size(Acc) \u0026gt; Length\u003c/code\u003e guard present in the sibling function \u003ccode\u003eread_part_body/4\u003c/code\u003e. An unauthenticated attacker can send a \u003ccode\u003emultipart/form-data\u003c/code\u003e request whose body never yields a complete header section \u2014 for example, a body that never contains the advertised boundary delimiter, or one whose header lines never contain \u003ccode\u003e\\r\\n\\r\\n\u003c/code\u003e \u2014 and force the server process to accumulate memory linearly with the bytes the protocol layer is willing to deliver. A handful of concurrent such uploads is sufficient to exhaust BEAM memory.\u003c/p\u003e\n\u003cp\u003eThe function has had two names. From 0.10.0 to 2.0.0-pre.3 it is \u003ccode\u003ecowboy_req:part/3\u003c/code\u003e, reached through \u003ccode\u003ecowboy_req:part/1\u003c/code\u003e and \u003ccode\u003ecowboy_req:part/2\u003c/code\u003e. From 2.0.0-pre.4 it is \u003ccode\u003ecowboy_req:read_part/3\u003c/code\u003e, reached through \u003ccode\u003ecowboy_req:read_part/1\u003c/code\u003e and \u003ccode\u003ecowboy_req:read_part/2\u003c/code\u003e. Both have the same buffer loop.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowboy: from 0.10.0 before 2.15.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing.\n\n`cowboy_req:read_part/3` in `src/cowboy_req.erl` accumulates incoming request bytes into a `Buffer` binary with no upper-bound check. When `cow_multipart:parse_headers/2` returns `more` or `{more, Buffer2}`, the function reads up to `Length` bytes (default 64 KB) from the request body and recurses with the enlarged buffer. There is no equivalent of the `byte_size(Acc) \u003e Length` guard present in the sibling function `read_part_body/4`. An unauthenticated attacker can send a `multipart/form-data` request whose body never yields a complete header section \u2014 for example, a body that never contains the advertised boundary delimiter, or one whose header lines never contain `\\r\\n\\r\\n` \u2014 and force the server process to accumulate memory linearly with the bytes the protocol layer is willing to deliver. A handful of concurrent such uploads is sufficient to exhaust BEAM memory.\n\nThe function has had two names. From 0.10.0 to 2.0.0-pre.3 it is `cowboy_req:part/3`, reached through `cowboy_req:part/1` and `cowboy_req:part/2`. From 2.0.0-pre.4 it is `cowboy_req:read_part/3`, reached through `cowboy_req:read_part/1` and `cowboy_req:read_part/2`. Both have the same buffer loop.\n\nThis issue affects cowboy: from 0.10.0 before 2.15.0."
                }
              ],
              "value": "Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing.\n\ncowboy_req:read_part/3 in src/cowboy_req.erl accumulates incoming request bytes into a Buffer binary with no upper-bound check. When cow_multipart:parse_headers/2 returns more or {more, Buffer2}, the function reads up to Length bytes (default 64 KB) from the request body and recurses with the enlarged buffer. There is no equivalent of the byte_size(Acc) \u003e Length guard present in the sibling function read_part_body/4. An unauthenticated attacker can send a multipart/form-data request whose body never yields a complete header section \u2014 for example, a body that never contains the advertised boundary delimiter, or one whose header lines never contain \\r\\n\\r\\n \u2014 and force the server process to accumulate memory linearly with the bytes the protocol layer is willing to deliver. A handful of concurrent such uploads is sufficient to exhaust BEAM memory.\n\nThe function has had two names. From 0.10.0 to 2.0.0-pre.3 it is cowboy_req:part/3, reached through cowboy_req:part/1 and cowboy_req:part/2. From 2.0.0-pre.4 it is cowboy_req:read_part/3, reached through cowboy_req:read_part/1 and cowboy_req:read_part/2. Both have the same buffer loop.\n\nThis issue affects cowboy: from 0.10.0 before 2.15.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T05:22:18.846Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-8466",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-8466.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-8466",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-8466"
            },
            {
              "name": "Introducing commit 917cf99 in ninenines/cowboy",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/917cf99e10c41676183d501b86af6e47c95afb89"
            },
            {
              "name": "Fix commit 5c6a206 in ninenines/cowboy",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowboy/commit/5c6a2061b41bb5771c4659fac7d5a822dca5bafb"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-8466",
        "datePublished": "2026-05-13T18:26:21.089Z",
        "dateReserved": "2026-05-13T11:44:39.149Z",
        "dateUpdated": "2026-11-20T05:22:18.846Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43968 (GCVE-0-2026-43968)

    Vulnerability from cvelistv5 – Published: 2026-05-11 18:06 – Updated: 2026-11-20 05:12
    VLAI
    Title
    CR Injection in SSE Encoder Enables Event Splitting via cow_sse:event/1
    Summary
    Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values. cow_sse:event/1 in cowlib guards the id and event fields against \n but not against bare \r, and the internal prefix_lines/2 function used for data and comment fields splits only on \n. Because the SSE specification requires decoders to treat \r\n, \r, and \n as equivalent line terminators, an attacker who controls any of these fields can inject additional SSE lines and forge a complete event with an arbitrary event type and data payload on the receiving end. In typical deployments where browser EventSource clients or other SSE consumers dispatch on event.type and render event.data, this enables event splitting, client-side logic manipulation, and stored-XSS-equivalent behaviour when event data is inserted into the DOM. This issue affects cowlib: from 2.5.0 before 2.16.1.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-05-11 18:57 UTC
    CWE
    • CWE-93 - Improper Neutralization of CRLF Sequences
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 2.5.0 , < 2.16.1 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: 93b2b897cde238506c803faad4d1602d79dba7c9 , < 6165fc40efa159ba1cceee7e7981e790acba5d9c (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-05-11 18:06
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43968",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-11T18:57:13.541982Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-11T18:57:38.074Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_sse"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_sse.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_sse:event/1"
                },
                {
                  "name": "cow_sse:event_id/1"
                },
                {
                  "name": "cow_sse:event_name/1"
                },
                {
                  "name": "cow_sse:event_data/1"
                },
                {
                  "name": "cow_sse:event_comment/1"
                },
                {
                  "name": "cow_sse:prefix_lines/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.16.1",
                  "status": "affected",
                  "version": "2.5.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_sse"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_sse.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_sse:event/1"
                },
                {
                  "name": "cow_sse:event_id/1"
                },
                {
                  "name": "cow_sse:event_name/1"
                },
                {
                  "name": "cow_sse:event_data/1"
                },
                {
                  "name": "cow_sse:event_comment/1"
                },
                {
                  "name": "cow_sse:prefix_lines/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "6165fc40efa159ba1cceee7e7981e790acba5d9c",
                  "status": "affected",
                  "version": "93b2b897cde238506c803faad4d1602d79dba7c9",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must pass user-controlled data as the \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003eevent\u003c/code\u003e, \u003ccode\u003edata\u003c/code\u003e, or \u003ccode\u003ecomment\u003c/code\u003e field to \u003ccode\u003ecow_sse:event/1\u003c/code\u003e (or a higher-level wrapper such as \u003ccode\u003ecowboy_req:stream_events/3\u003c/code\u003e). Applications that construct SSE events exclusively from trusted, application-controlled values are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must pass user-controlled data as the `id`, `event`, `data`, or `comment` field to `cow_sse:event/1` (or a higher-level wrapper such as `cowboy_req:stream_events/3`). Applications that construct SSE events exclusively from trusted, application-controlled values are not affected."
                }
              ],
              "value": "The application must pass user-controlled data as the id, event, data, or comment field to cow_sse:event/1 (or a higher-level wrapper such as cowboy_req:stream_events/3). Applications that construct SSE events exclusively from trusted, application-controlled values are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.16.1",
                      "versionStartIncluding": "2.5.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-05-11T18:06:42.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027) vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_sse:event/1\u003c/code\u003e in cowlib guards the \u003ccode\u003eid\u003c/code\u003e and \u003ccode\u003eevent\u003c/code\u003e fields against \u003ccode\u003e\\n\u003c/code\u003e but not against bare \u003ccode\u003e\\r\u003c/code\u003e, and the internal \u003ccode\u003eprefix_lines/2\u003c/code\u003e function used for \u003ccode\u003edata\u003c/code\u003e and \u003ccode\u003ecomment\u003c/code\u003e fields splits only on \u003ccode\u003e\\n\u003c/code\u003e. Because the SSE specification requires decoders to treat \u003ccode\u003e\\r\\n\u003c/code\u003e, \u003ccode\u003e\\r\u003c/code\u003e, and \u003ccode\u003e\\n\u003c/code\u003e as equivalent line terminators, an attacker who controls any of these fields can inject additional SSE lines and forge a complete event with an arbitrary event type and data payload on the receiving end. In typical deployments where browser \u003ccode\u003eEventSource\u003c/code\u003e clients or other SSE consumers dispatch on \u003ccode\u003eevent.type\u003c/code\u003e and render \u003ccode\u003eevent.data\u003c/code\u003e, this enables event splitting, client-side logic manipulation, and stored-XSS-equivalent behaviour when event data is inserted into the DOM.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.5.0 before 2.16.1.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027) vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values.\n\n`cow_sse:event/1` in cowlib guards the `id` and `event` fields against `\\n` but not against bare `\\r`, and the internal `prefix_lines/2` function used for `data` and `comment` fields splits only on `\\n`. Because the SSE specification requires decoders to treat `\\r\\n`, `\\r`, and `\\n` as equivalent line terminators, an attacker who controls any of these fields can inject additional SSE lines and forge a complete event with an arbitrary event type and data payload on the receiving end. In typical deployments where browser `EventSource` clients or other SSE consumers dispatch on `event.type` and render `event.data`, this enables event splitting, client-side logic manipulation, and stored-XSS-equivalent behaviour when event data is inserted into the DOM.\n\nThis issue affects cowlib: from 2.5.0 before 2.16.1."
                }
              ],
              "value": "Improper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027) vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values.\n\ncow_sse:event/1 in cowlib guards the id and event fields against \\n but not against bare \\r, and the internal prefix_lines/2 function used for data and comment fields splits only on \\n. Because the SSE specification requires decoders to treat \\r\\n, \\r, and \\n as equivalent line terminators, an attacker who controls any of these fields can inject additional SSE lines and forge a complete event with an arbitrary event type and data payload on the receiving end. In typical deployments where browser EventSource clients or other SSE consumers dispatch on event.type and render event.data, this enables event splitting, client-side logic manipulation, and stored-XSS-equivalent behaviour when event data is inserted into the DOM.\n\nThis issue affects cowlib: from 2.5.0 before 2.16.1."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-34",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-34 HTTP Response Splitting"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-93",
                  "description": "CWE-93 Improper Neutralization of CRLF Sequences",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T05:12:10.654Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43968",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43968.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43968",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43968"
            },
            {
              "name": "Introducing commit 93b2b89 in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/93b2b897cde238506c803faad4d1602d79dba7c9"
            },
            {
              "name": "Fix commit 6165fc4 in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/6165fc40efa159ba1cceee7e7981e790acba5d9c"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "CR Injection in SSE Encoder Enables Event Splitting via cow_sse:event/1",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eSanitize user-controlled values before passing them to \u003ccode\u003ecow_sse:event/1\u003c/code\u003e: reject or strip any value containing \u003ccode\u003e\\r\u003c/code\u003e or \u003ccode\u003e\\n\u003c/code\u003e characters in the \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003eevent\u003c/code\u003e, \u003ccode\u003edata\u003c/code\u003e, and \u003ccode\u003ecomment\u003c/code\u003e fields. Alternatively, ensure that all SSE field values are derived exclusively from trusted, application-controlled data rather than user input.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Sanitize user-controlled values before passing them to `cow_sse:event/1`: reject or strip any value containing `\\r` or `\\n` characters in the `id`, `event`, `data`, and `comment` fields. Alternatively, ensure that all SSE field values are derived exclusively from trusted, application-controlled data rather than user input."
                }
              ],
              "value": "Sanitize user-controlled values before passing them to cow_sse:event/1: reject or strip any value containing \\r or \\n characters in the id, event, data, and comment fields. Alternatively, ensure that all SSE field values are derived exclusively from trusted, application-controlled data rather than user input."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43968",
        "datePublished": "2026-05-11T18:06:42.881Z",
        "dateReserved": "2026-05-04T18:23:25.573Z",
        "dateUpdated": "2026-11-20T05:12:10.654Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-7790 (GCVE-0-2026-7790)

    Vulnerability from cvelistv5 – Published: 2026-05-11 18:06 – Updated: 2026-11-20 05:08
    VLAI
    Title
    Unbounded chunk-size hex digits in cowlib cause quadratic CPU and memory DoS
    Summary
    Uncontrolled Resource Consumption vulnerability in ninenines cowlib (cow_http_te module) allows Excessive Allocation. The chunked transfer-encoding parser in cow_http_te accepts an unbounded number of hex digits in the chunk-size field. Each digit causes a bignum multiplication (Len * 16 + digit), so parsing N hex digits requires O(N²) CPU work and O(N) memory. Additionally, when input is drip-fed, the parser discards the accumulated length on each partial read and restarts from zero on resumption, raising the cost to O(N³). An unauthenticated remote attacker can exploit this by sending an HTTP/1.1 request with Transfer-Encoding: chunked and a very long chunk-size hex string to cause denial of service through CPU exhaustion and memory amplification. This vulnerability is associated with program file src/cow_http_te.erl and program routines cow_http_te:stream_chunked/2, cow_http_te:chunked_len/4. This issue affects cowlib: from 0.6.0 before 2.16.1.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-05-11 18:56 UTC
    CWE
    • CWE-400 - Uncontrolled Resource Consumption
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 0.6.0 , < 2.16.1 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: 8c0e428b012c59f553a264f285ed89d36f791e3e , < a4b8039ce8c93ab00867ef6b7e888822c09f4369 (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-05-11 18:06
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-7790",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-11T18:56:19.590262Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-11T18:56:31.426Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_http_te"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_http_te.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_http_te:stream_chunked/2"
                },
                {
                  "name": "cow_http_te:chunked_len/4"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.16.1",
                  "status": "affected",
                  "version": "0.6.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_http_te"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_http_te.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_http_te:stream_chunked/2"
                },
                {
                  "name": "cow_http_te:chunked_len/4"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "a4b8039ce8c93ab00867ef6b7e888822c09f4369",
                  "status": "affected",
                  "version": "8c0e428b012c59f553a264f285ed89d36f791e3e",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.16.1",
                      "versionStartIncluding": "0.6.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "datePublic": "2026-05-11T18:06:41.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUncontrolled Resource Consumption vulnerability in ninenines cowlib (cow_http_te module) allows Excessive Allocation.\u003c/p\u003e\n\u003cp\u003eThe chunked transfer-encoding parser in \u003ccode\u003ecow_http_te\u003c/code\u003e accepts an unbounded number of hex digits in the chunk-size field. Each digit causes a bignum multiplication (\u003ccode\u003eLen * 16 + digit\u003c/code\u003e), so parsing \u003ccode\u003eN\u003c/code\u003e hex digits requires O(N\u00b2) CPU work and O(N) memory. Additionally, when input is drip-fed, the parser discards the accumulated length on each partial read and restarts from zero on resumption, raising the cost to O(N\u00b3). An unauthenticated remote attacker can exploit this by sending an HTTP/1.1 request with \u003ccode\u003eTransfer-Encoding: chunked\u003c/code\u003e and a very long chunk-size hex string to cause denial of service through CPU exhaustion and memory amplification.\u003c/p\u003e\n\u003cp\u003eThis vulnerability is associated with program file \u003ccode\u003esrc/cow_http_te.erl\u003c/code\u003e and program routines \u003ccode\u003ecow_http_te:stream_chunked/2\u003c/code\u003e, \u003ccode\u003ecow_http_te:chunked_len/4\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 0.6.0 before 2.16.1.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Uncontrolled Resource Consumption vulnerability in ninenines cowlib (cow_http_te module) allows Excessive Allocation.\n\nThe chunked transfer-encoding parser in `cow_http_te` accepts an unbounded number of hex digits in the chunk-size field. Each digit causes a bignum multiplication (`Len * 16 + digit`), so parsing `N` hex digits requires O(N\u00b2) CPU work and O(N) memory. Additionally, when input is drip-fed, the parser discards the accumulated length on each partial read and restarts from zero on resumption, raising the cost to O(N\u00b3). An unauthenticated remote attacker can exploit this by sending an HTTP/1.1 request with `Transfer-Encoding: chunked` and a very long chunk-size hex string to cause denial of service through CPU exhaustion and memory amplification.\n\nThis vulnerability is associated with program file `src/cow_http_te.erl` and program routines `cow_http_te:stream_chunked/2`, `cow_http_te:chunked_len/4`.\n\nThis issue affects cowlib: from 0.6.0 before 2.16.1."
                }
              ],
              "value": "Uncontrolled Resource Consumption vulnerability in ninenines cowlib (cow_http_te module) allows Excessive Allocation.\n\nThe chunked transfer-encoding parser in cow_http_te accepts an unbounded number of hex digits in the chunk-size field. Each digit causes a bignum multiplication (Len * 16 + digit), so parsing N hex digits requires O(N\u00b2) CPU work and O(N) memory. Additionally, when input is drip-fed, the parser discards the accumulated length on each partial read and restarts from zero on resumption, raising the cost to O(N\u00b3). An unauthenticated remote attacker can exploit this by sending an HTTP/1.1 request with Transfer-Encoding: chunked and a very long chunk-size hex string to cause denial of service through CPU exhaustion and memory amplification.\n\nThis vulnerability is associated with program file src/cow_http_te.erl and program routines cow_http_te:stream_chunked/2, cow_http_te:chunked_len/4.\n\nThis issue affects cowlib: from 0.6.0 before 2.16.1."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-400",
                  "description": "CWE-400 Uncontrolled Resource Consumption",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T05:08:58.312Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-7790",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-7790.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-7790",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-7790"
            },
            {
              "name": "Introducing commit 8c0e428 in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/8c0e428b012c59f553a264f285ed89d36f791e3e"
            },
            {
              "name": "Fix commit a4b8039 in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/a4b8039ce8c93ab00867ef6b7e888822c09f4369"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Unbounded chunk-size hex digits in cowlib cause quadratic CPU and memory DoS",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eIn Cowboy, setting \u003ccode\u003einitial_stream_flow_size\u003c/code\u003e to a much lower value limits the amount of chunked body data that cowlib will parse in a single read, reducing the window of data an attacker can use to trigger the quadratic work. This does not fully eliminate the vulnerability but can significantly reduce its impact for some applications.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "In Cowboy, setting `initial_stream_flow_size` to a much lower value limits the amount of chunked body data that cowlib will parse in a single read, reducing the window of data an attacker can use to trigger the quadratic work. This does not fully eliminate the vulnerability but can significantly reduce its impact for some applications."
                }
              ],
              "value": "In Cowboy, setting initial_stream_flow_size to a much lower value limits the amount of chunked body data that cowlib will parse in a single read, reducing the window of data an attacker can use to trigger the quadratic work. This does not fully eliminate the vulnerability but can significantly reduce its impact for some applications."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-7790",
        "datePublished": "2026-05-11T18:06:41.490Z",
        "dateReserved": "2026-05-04T18:23:21.380Z",
        "dateUpdated": "2026-11-20T05:08:58.312Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-43969 (GCVE-0-2026-43969)

    Vulnerability from cvelistv5 – Published: 2026-05-11 18:06 – Updated: 2026-11-19 08:44
    VLAI
    Title
    Cookie Request Header Injection via Unvalidated Encoder in cow_cookie:cookie/1
    Summary
    Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows HTTP request splitting and cookie smuggling via unvalidated cookie name and value fields. cow_cookie:cookie/1 in cowlib builds a client-side Cookie: request header from a list of name-value pairs without validating either field. An attacker who controls the cookie names or values passed to this function can inject ;, ,, CR, LF, or TAB characters into the serialized header. This enables two classes of attack: cookie smuggling within a single header (e.g. injecting ; admin=1 to introduce a phantom cookie that the receiving server treats as authentic) and HTTP request header splitting (injecting CRLF to append arbitrary headers or smuggle a complete second request against a shared upstream proxy). The decoder side (parse_cookie_name/1, parse_cookie_value/1) and setcookie/3 already validate and reject these characters; the encoder alone is missing the check. This issue affects cowlib: from 2.9.0 before 2.21.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-05-11 18:55 UTC
    CWE
    • CWE-93 - Improper Neutralization of CRLF Sequences
    Impacted products
    Vendor Product Version
    ninenines cowlib Affected: 2.9.0 , < 2.21.0 (semver)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    ninenines cowlib Affected: f017f8a0ecbffd5033d9ab49bf180186f7a523a7 , < c17fd73945ef536cccecc492d286fb6b6d1c3307 (git)
        cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43969",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-11T18:55:16.028478Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-11T18:55:26.121Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_cookie"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_cookie.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_cookie:cookie/1"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.21.0",
                  "status": "affected",
                  "version": "2.9.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_cookie"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_cookie.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_cookie:cookie/1"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "c17fd73945ef536cccecc492d286fb6b6d1c3307",
                  "status": "affected",
                  "version": "f017f8a0ecbffd5033d9ab49bf180186f7a523a7",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must pass attacker-controlled bytes as cookie names or values to \u003ccode\u003ecow_cookie:cookie/1\u003c/code\u003e. Applications that construct cookie lists exclusively from trusted, application-controlled values are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must pass attacker-controlled bytes as cookie names or values to `cow_cookie:cookie/1`. Applications that construct cookie lists exclusively from trusted, application-controlled values are not affected."
                }
              ],
              "value": "The application must pass attacker-controlled bytes as cookie names or values to cow_cookie:cookie/1. Applications that construct cookie lists exclusively from trusted, application-controlled values are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.21.0",
                      "versionStartIncluding": "2.9.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027) vulnerability in ninenines cowlib allows HTTP request splitting and cookie smuggling via unvalidated cookie name and value fields.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_cookie:cookie/1\u003c/code\u003e in cowlib builds a client-side \u003ccode\u003eCookie:\u003c/code\u003e request header from a list of name-value pairs without validating either field. An attacker who controls the cookie names or values passed to this function can inject \u003ccode\u003e;\u003c/code\u003e, \u003ccode\u003e,\u003c/code\u003e, CR, LF, or TAB characters into the serialized header. This enables two classes of attack: cookie smuggling within a single header (e.g. injecting \u003ccode\u003e; admin=1\u003c/code\u003e to introduce a phantom cookie that the receiving server treats as authentic) and HTTP request header splitting (injecting CRLF to append arbitrary headers or smuggle a complete second request against a shared upstream proxy). The decoder side (\u003ccode\u003eparse_cookie_name/1\u003c/code\u003e, \u003ccode\u003eparse_cookie_value/1\u003c/code\u003e) and \u003ccode\u003esetcookie/3\u003c/code\u003e already validate and reject these characters; the encoder alone is missing the check.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.9.0 before 2.21.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027) vulnerability in ninenines cowlib allows HTTP request splitting and cookie smuggling via unvalidated cookie name and value fields.\n\n`cow_cookie:cookie/1` in cowlib builds a client-side `Cookie:` request header from a list of name-value pairs without validating either field. An attacker who controls the cookie names or values passed to this function can inject `;`, `,`, CR, LF, or TAB characters into the serialized header. This enables two classes of attack: cookie smuggling within a single header (e.g. injecting `; admin=1` to introduce a phantom cookie that the receiving server treats as authentic) and HTTP request header splitting (injecting CRLF to append arbitrary headers or smuggle a complete second request against a shared upstream proxy). The decoder side (`parse_cookie_name/1`, `parse_cookie_value/1`) and `setcookie/3` already validate and reject these characters; the encoder alone is missing the check.\n\nThis issue affects cowlib: from 2.9.0 before 2.21.0."
                }
              ],
              "value": "Improper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027) vulnerability in ninenines cowlib allows HTTP request splitting and cookie smuggling via unvalidated cookie name and value fields.\n\ncow_cookie:cookie/1 in cowlib builds a client-side Cookie: request header from a list of name-value pairs without validating either field. An attacker who controls the cookie names or values passed to this function can inject ;, ,, CR, LF, or TAB characters into the serialized header. This enables two classes of attack: cookie smuggling within a single header (e.g. injecting ; admin=1 to introduce a phantom cookie that the receiving server treats as authentic) and HTTP request header splitting (injecting CRLF to append arbitrary headers or smuggle a complete second request against a shared upstream proxy). The decoder side (parse_cookie_name/1, parse_cookie_value/1) and setcookie/3 already validate and reject these characters; the encoder alone is missing the check.\n\nThis issue affects cowlib: from 2.9.0 before 2.21.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-105",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-105 HTTP Request Splitting"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "baseScore": 2.1,
                "baseSeverity": "LOW",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-93",
                  "description": "CWE-93 Improper Neutralization of CRLF Sequences",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-19T08:44:11.677Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "GitHub Advisory",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlef/cowlib/commit/177953dd51540da11090666c1f007214127a1144"
            },
            {
              "name": "EEF CNA record for CVE-2026-43969",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43969.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43969",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43969"
            },
            {
              "name": "Introducing commit f017f8a in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/f017f8a0ecbffd5033d9ab49bf180186f7a523a7"
            },
            {
              "name": "Fix commit c17fd73 in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/c17fd73945ef536cccecc492d286fb6b6d1c3307"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Cookie Request Header Injection via Unvalidated Encoder in cow_cookie:cookie/1",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eValidate inputs into \u003ccode\u003ecow_cookie:cookie/1\u003c/code\u003e to only include valid cookie name and value characters as defined in RFC 6265 Section 4.1.1 before passing them to the function.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Validate inputs into `cow_cookie:cookie/1` to only include valid cookie name and value characters as defined in RFC 6265 Section 4.1.1 before passing them to the function."
                }
              ],
              "value": "Validate inputs into cow_cookie:cookie/1 to only include valid cookie name and value characters as defined in RFC 6265 Section 4.1.1 before passing them to the function."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43969",
        "datePublished": "2026-05-11T18:06:40.667Z",
        "dateReserved": "2026-05-04T18:23:25.573Z",
        "dateUpdated": "2026-11-19T08:44:11.677Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }