Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-43973

HIGH 8.7EPSS 47%

gun HTTP/1.1 response buffer has no size limit allowing server-controlled memory exhaustion

Mitigation

  • Upgrade gun to 2.4.0 or later.

Who should check

  • Anyone running ninenines gun >= 1.0.0-pre.1, < 2.4.0
  • Anyone running ninenines gun >= 11dfe71f4b9aedaaedea2ad3b2f32fd006a8480f, < f3e7e0568b3c4cf9fa4bea79d5116e67ce76ad25

Vulnerability facts

Affected
ninenines gun >= 1.0.0-pre.1, < 2.4.0; ninenines gun >= 11dfe71f4b9aedaaedea2ad3b2f32fd006a8480f, < f3e7e0568b3c4cf9fa4bea79d5116e67ce76ad25
Fixed in
ninenines gun 2.4.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.66% chance of exploitation in 30 days (percentile 47, 2026-11-26)
CWE
CWE-770
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
ninenines gun>= 1.0.0-pre.1, < 2.4.0—cvelist
ninenines gun>= 11dfe71f4b9aedaaedea2ad3b2f32fd006a8480f, < f3e7e0568b3c4cf9fa4bea79d5116e67ce76ad25—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-43973. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43973.md
Affected: ninenines gun >= 1.0.0-pre.1, < 2.4.0; ninenines gun >= 11dfe71f4b9aedaaedea2ad3b2f32fd006a8480f, < f3e7e0568b3c4cf9fa4bea79d5116e67ce76ad25
Fixed in: ninenines gun 2.4.0

Steps:
1. Search this machine and project for ninenines gun: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-43973 being exploited?

There is no confirmed exploitation: CVE-2026-43973 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.66% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-43973?

High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-43973?

ninenines gun >= 1.0.0-pre.1, < 2.4.0; ninenines gun >= 11dfe71f4b9aedaaedea2ad3b2f32fd006a8480f, < f3e7e0568b3c4cf9fa4bea79d5116e67ce76ad25.

Is there a fix for CVE-2026-43973?

Yes. Fixed in ninenines gun 2.4.0. Upgrade gun to 2.4.0 or later.

How do I check if I'm affected by CVE-2026-43973?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors