SecurityContext

CVE-2026-43973: ninenines gun - Uncontrolled Resource Consumption

  • Cve: CVE-2026-43973
  • Name: ninenines gun - Uncontrolled Resource Consumption
  • Description: 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.
  • Impact: A malicious server can exhaust all available memory on the client node, causing a node-wide out-of-memory crash and denial of service.
  • Remediation: Upgrade to version 2.4.0 or later.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: denial_of_service
  • Requirements: Attacker must control or compromise the server to send crafted partial HTTP responses.
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00498
  • Epss percentile: 0.4353
  • Assignee: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  • Published at: 2026-06-08T15:16:46Z
  • Age in days: 169
  • Modified at: 2026-11-20T07:17:16Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-43973
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-770Allocation of Resources Without Limits or Throttling

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/ninenines/gun/commit/f3e7e0568b3c4cf9fa4bea79d5116e67ce76ad25Patch
https://osv.dev/vulnerability/EEF-CVE-2026-43973Patch, Third Party Advisory
https://cna.erlef.org/cves/CVE-2026-43973.htmlThird Party Advisory
https://github.com/ninenines/gun/commit/11dfe71f4b9aedaaedea2ad3b2f32fd006a8480f

Products

ProductAffectedPlatform boundSourcesUrl
ninenines:gun>= 1.0.0, < 2.4.0nonvd/v1/products/ninenines/gun

Projects

RepositoryLink kindsIndexedUrl
ninenines/guncna_commit, commit, fix, packageyes/v1/repositories/ninenines/gun

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts