Unexpected Status Code Vulnerability in NineNines Gun Http Module
CVE-2026-43974

8.7HIGH

Key Information:

Vendor

Ninenines

Status
Vendor
CVE Published:
8 June 2026

What is CVE-2026-43974?

An unexpected status code vulnerability in the NineNines Gun HTTP module enables attackers to exploit the client's connection by sending an unsolicited 101 Switching Protocols response. This flaw occurs because the gun_http:handle_inform function does not verify whether an Upgrade or Connection: upgrade header was sent by the client in the original request. As a result, any 101 status response—regardless of legitimacy—can lead the Gun client to transition to raw protocol mode. When in this mode, the server can send unbounded amounts of data to the client, overfilling its mailbox and exhausting the BEAM virtual machine's memory, ultimately resulting in a crash. This issue affects Gun versions 2.0.0 up to (but not including) 2.4.0.

Affected Version(s)

gun 2.0.0 < 2.4.0

gun a3c2edbb8c807717e2f10520c6cf1e77a62eab2e < 5b48068c29ce5e112cb149b5857c7d4dc319a81b

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Peter Ullrich
LoĂŻc Hoguin
.