Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-113431

Unbounded decoded HTTP/2 header-list size in cowlib cow_http2_machine enables HPACK amplification memory exhaustion

Products / packages ninenines cowlib · cowlib

Published

Share

Severity and exploitation

Not in CISA KEV

KEV coverage does not rule out exploitation.

KEV checked 28/11/2026, 23:20:32 UTC
EEF · CVSS:4.0 · 8.7
Assessment vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
OSV · CVSS:4.0 · 8.7
Assessment vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
The headline uses the highest imported catalog score. Assessments can differ by source and CVSS version.

Severity

high8.7

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

Not listed in the checked CISA KEV catalog

Absence from CISA KEV does not rule out attacks.

Public exploit

Not established by this record

Missing evidence does not mean no public exploit exists.

Remediation

Package fixes recorded

Fix versions are recorded for 1 of 1 mapped packages. Check each release branch and any separate product guidance.

What this means

An unauthenticated remote peer can exhaust the memory of an HTTP/2 endpoint in cowlib versions 2.7.0 before 2.22.0 via HPACK-indexed header fields, by sending a small amount of data that decodes to a large header list. The impact is memory exhaustion.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Attack conditions

No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

ninenines · EEF

cowlib

1 range

Package identity

pkg:hex/cowlibExplore cowlib →

Identity supplied by EEF. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

2.7.0 → before 2.22.0

semver versions

unaffected

unknown

Other versions: unaffected

Product identifiers (CPE)cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*

ninenines · EEF

cowlib

1 range

Package identity

pkg:github/ninenines/cowlib

Identity supplied by EEF. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

b461b119e78e4e09bb28b186b09da7ed4a86a0dd → before a3b15e29b3067644bfd580246c87f7af7a90b3b8

git versions

unaffected

unknown

Other versions: unaffected

Product identifiers (CPE)cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*

Packages

Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.

Affected range Recorded fix
From 2.7.0 before 2.22.0Semantic versions2.22.0

Version evidence: OSV · EEF-CVE-2026-113431

View original version evidence (23 explicit versions)

Source version evidence

This source records affected versions without identifying a package ecosystem and name. This evidence is not used for package matching.

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

Use the recorded fix for your release branch. Review the publisher’s instructions and test compatibility before upgrading.

Cowboy servers that do not need HTTP/2 can set protocols => [http] in the protocol options. The listener then answers the HTTP/2 preface with 501 Not Implemented and the decoder is never reached.

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

EEF guidance ↗

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.

Original source description

Read the full publisher description

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.

Details

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's 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.

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.

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's 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's 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.

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.

Proof of concept

  1. Start a Cowboy clear listener with default protocol options and a handler that takes a few seconds to reply, so streams stay open.
  2. Open one TCP connection, send the HTTP/2 client preface and an empty SETTINGS frame.
  3. 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.
  4. 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.
  5. Watch erlang:memory(binary) on the server. It grows by about 38 MB for about 16 KB sent, and cowboy_req:header(<<"cookie">>, Req) in each handler returns a 384,190-byte binary.

Impact

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.

Workarounds

Cowboy servers that do not need HTTP/2 can set protocols => [http] in the protocol options. The listener then answers the HTTP/2 preface with 501 Not Implemented and the decoder is never reached.

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

References

5 sources

Inside the record

Evidence available

Package identity
Version evidence
Remediation guidance
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-113431

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-770 ↗

CWE-770 Allocation of Resources Without Limits or Throttling

EEF

Related →

Environment requirements

These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.

EEF · platform conditions

All conditions must hold

Any condition may hold

Vulnerable product

cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*

From (inclusive): 2.7.0

Before: 2.22.0

Applicability preview
[
  {
    "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"
  }
]
Contributing organizations · 2
EEF

Assigning organization

2026-11-19
CISA-ADP

Additional data publisher

2026-11-10

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Source updated

    Latest modification date supplied by the source.

  3. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
  1. CVE · CVE-2026-113431

    Observed 2026-11-10T15:27:41.686Z · upstream updated 2026-11-10T15:03:30.825Z

    Prioritization updated

    before

    []

    after

    [
      {
        "source": "CISA-ADP",
        "type": "SSVC",
        "role": "CISA Coordinator",
        "timestamp": "2026-11-10T15:02:48.422648Z",
        "decisions": [
          {
            "name": "Exploitation",
            "value": "none"
          },
          {
            "name": "Automatable",
            "value": "yes"
          },
          {
            "name": "Technical Impact",
            "value": "partial"
          }
        ]
      }
    ]
  2. CVE · CVE-2026-113431

    Observed 2026-11-09T15:35:51.433Z · upstream updated 2026-11-09T15:27:14.870Z

    Description revised

    before

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

    after

    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.
    Product or version evidence changed

    before

    [
      {
        "vendor": "ninenines",
        "name": "cowlib",
        "platforms": [],
        "versions": [
          {
            "version": "2.7.0",
            "status": "affected",
            "lessThan": "*",
            "versionType": "semver"
          }
        ],
        "defaultStatus": "unaffected",
        "packageURL": "pkg:hex/cowlib",
        "packageIdentity": {
          "ecosystem": "Hex",
          "name": "cowlib"
        },
        "cpes": [
          "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
        ],
        "source": "EEF",
        "url": "https://www.cve.org/CVERecord?id=CVE-2026-113431"
      },
      {
        "vendor": "ninenines",
        "name": "cowlib",
        "platforms": [],
        "versions": [
          {
            "version": "b461b119e78e4e09bb28b186b09da7ed4a86a0dd",
            "status": "affected",
            "lessThan": "a3b15e29b3067644bfd580246c87f7af7a90b3b8",
            "versionType": "git"
          }
        ],
        "defaultStatus": "unaffected",
        "packageURL": "pkg:github/ninenines/cowlib",
        "cpes": [
          "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
        ],
        "source": "EEF",
        "url": "https://www.cve.org/CVERecord?id=CVE-2026-113431"
      }
    ]

    after

    [
      {
        "vendor": "ninenines",
        "name": "cowlib",
        "platforms": [],
        "versions": [
          {
            "version": "2.7.0",
            "status": "affected",
            "lessThan": "2.22.0",
            "versionType": "semver"
          }
        ],
        "defaultStatus": "unaffected",
        "packageURL": "pkg:hex/cowlib",
        "packageIdentity": {
          "ecosystem": "Hex",
          "name": "cowlib"
        },
        "cpes": [
          "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
        ],
        "source": "EEF",
        "url": "https://www.cve.org/CVERecord?id=CVE-2026-113431"
      },
      {
        "vendor": "ninenines",
        "name": "cowlib",
        "platforms": [],
        "versions": [
          {
            "version": "b461b119e78e4e09bb28b186b09da7ed4a86a0dd",
            "status": "affected",
            "lessThan": "a3b15e29b3067644bfd580246c87f7af7a90b3b8",
            "versionType": "git"
          }
        ],
        "defaultStatus": "unaffected",
        "packageURL": "pkg:github/ninenines/cowlib",
        "cpes": [
          "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
        ],
        "source": "EEF",
        "url": "https://www.cve.org/CVERecord?id=CVE-2026-113431"
      }
    ]
    Environment requirements changed

    before

    [
      {
        "source": "EEF",
        "statements": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                    "versionStartIncluding": "2.7.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ],
            "operator": "AND"
          }
        ]
      }
    ]

    after

    [
      {
        "source": "EEF",
        "statements": [
          {
            "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"
          }
        ]
      }
    ]
  3. OSV · EEF-CVE-2026-113431

    Observed 2026-11-09T15:35:44.255Z · upstream updated 2026-11-09T15:30:02.978Z

    Description revised

    before

    ## 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 onward.
    
    ## Details
    
    **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's 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.
    
    **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.
    
    **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's `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's 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.
    
    **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.
    
    ## Proof of concept
    
    1. Start a Cowboy clear listener with default protocol options and a handler that takes a few seconds to reply, so streams stay open.
    2. Open one TCP connection, send the HTTP/2 client preface and an empty SETTINGS frame.
    3. 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.
    4. 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.
    5. Watch `erlang:memory(binary)` on the server. It grows by about 38 MB for about 16 KB sent, and `cowboy_req:header(<<"cookie">>, Req)` in each handler returns a 384,190-byte binary.
    
    ## Impact
    
    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.
    
    ## Workarounds
    
    Cowboy servers that do not need HTTP/2 can set `protocols => [http]` in the protocol options. The listener then answers the HTTP/2 preface with `501 Not Implemented` and the decoder is never reached.
    
    Lowering `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.

    after

    ## 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.
    
    ## Details
    
    **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's 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.
    
    **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.
    
    **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's `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's 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.
    
    **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.
    
    ## Proof of concept
    
    1. Start a Cowboy clear listener with default protocol options and a handler that takes a few seconds to reply, so streams stay open.
    2. Open one TCP connection, send the HTTP/2 client preface and an empty SETTINGS frame.
    3. 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.
    4. 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.
    5. Watch `erlang:memory(binary)` on the server. It grows by about 38 MB for about 16 KB sent, and `cowboy_req:header(<<"cookie">>, Req)` in each handler returns a 384,190-byte binary.
    
    ## Impact
    
    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.
    
    ## Workarounds
    
    Cowboy servers that do not need HTTP/2 can set `protocols => [http]` in the protocol options. The listener then answers the HTTP/2 preface with `501 Not Implemented` and the decoder is never reached.
    
    Lowering `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.
    Package ranges changed

    before

    [
      {
        "ecosystem": "Hex",
        "name": "cowlib",
        "sources": [
          {
            "name": "OSV · EEF-CVE-2026-113431",
            "url": "https://osv.dev/vulnerability/EEF-CVE-2026-113431"
          }
        ],
        "ranges": [
          {
            "events": [
              {
                "introduced": "2.7.0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "versions": [
          "2.10.0",
          "2.10.1",
          "2.11.0",
          "2.12.0",
          "2.12.1",
          "2.13.0",
          "2.14.0",
          "2.15.0",
          "2.16.0",
          "2.16.1",
          "2.17.0",
          "2.17.1",
          "2.18.0",
          "2.19.0",
          "2.20.0",
          "2.21.0",
          "2.7.0",
          "2.7.1",
          "2.7.2",
          "2.7.3",
          "2.8.0",
          "2.9.0",
          "2.9.1"
        ],
        "fixed": []
      }
    ]

    after

    [
      {
        "ecosystem": "Hex",
        "name": "cowlib",
        "sources": [
          {
            "name": "OSV · EEF-CVE-2026-113431",
            "url": "https://osv.dev/vulnerability/EEF-CVE-2026-113431"
          }
        ],
        "ranges": [
          {
            "events": [
              {
                "introduced": "2.7.0"
              },
              {
                "fixed": "2.22.0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "versions": [
          "2.10.0",
          "2.10.1",
          "2.11.0",
          "2.12.0",
          "2.12.1",
          "2.13.0",
          "2.14.0",
          "2.15.0",
          "2.16.0",
          "2.16.1",
          "2.17.0",
          "2.17.1",
          "2.18.0",
          "2.19.0",
          "2.20.0",
          "2.21.0",
          "2.7.0",
          "2.7.1",
          "2.7.2",
          "2.7.3",
          "2.8.0",
          "2.9.0",
          "2.9.1"
        ],
        "fixed": [
          "2.22.0"
        ]
      }
    ]

Large field values are marked as truncated previews. Original source snapshots remain retained.

Showing up to 50 most recent observed changes.

Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.

medium6.3
CVE-2026-43966Package fixes recorded

HTTP Response Splitting via Non-VCHAR Bytes in cow_http_struct_hd:escape_string/2

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.

Recorded fixes — cowboy: 2.16.0; gun: 2.4.0; 1 more packages. Check your release branch.

Exploitation not established