Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
3446 articles · 168099 vulns · 36/41 feeds (7d)
← Back to list
—
CVE-2026-43974EXPLOITEDPATCHED
ninenines · gun

gun HTTP/1.1 client accepts unsolicited 101 Switching Protocols response allowing server-driven protocol hijack and OOM

Description

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 before 2.4.0.

Affected Products

VendorProductVersions
nineninesgun2.0.0, a3c2edbb8c807717e2f10520c6cf1e77a62eab2e

References

  • https://cna.erlef.org/cves/CVE-2026-43974.html(related, third-party-advisory)
  • https://osv.dev/vulnerability/EEF-CVE-2026-43974(related)
  • https://github.com/ninenines/gun/commit/5b48068c29ce5e112cb149b5857c7d4dc319a81b(patch)

Related News (1 articles)

Tier C
VulDB19d ago
CVE-2026-43974 | ninenines gun up to 2.3.x reference behavioral workflow
→ No new info (linked only)
CISA KEV❌ No
Actively exploited✅ Yes
Patch available
null
CWECWE-841
PublishedJun 8, 2026
Last enriched19d agov2
Trending Score3
Source articles1
Independent1
Info Completeness8/14
Missing: cvss, epss, kev, exploit, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

NONECVE-2026-43973EXP
gun HTTP/1.1 response buffer has no size limit allowing server-controlled memory exhaustion
Trending: 64
NONECVE-2026-43966
HTTP Response Splitting via Non-VCHAR Bytes in cow_http_struct_hd:escape_string/2
Trending: 10
NONECVE-2026-43972EXP
gun HTTP/2 PUSH_PROMISE authority not validated against connection origin allows cross-origin cookie injection
Trending: 2
HIGHCVE-2026-8466
Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy
Trending: 1
HIGHCVE-2026-43970
Decompression Bomb in cow_spdy:inflate/2 Allows Memory Exhaustion via Crafted SPDY Frame
Trending: 1

Pin to Dashboard

Verification

State: unverified
Confidence: 0%

Vulnerability Timeline

CVE Published
Jun 8, 2026
Discovered by ZDM
Jun 8, 2026
Updated: affectedVersions, severity, activelyExploited, patchAvailable
Jun 8, 2026
Actively Exploited
Jun 8, 2026
Patch Available
Jun 8, 2026

Version History

v2
Last enriched 19d ago
v2Tier C19d ago

Updated affected versions to include 2.3.x, changed severity to HIGH, and noted that no exploit exists.

affectedVersionsseverityactivelyExploitedpatchAvailable
via VulDB
v119d ago

Initial creation