# SwiftNIO 2.101.0: DoS via WebSocket frame with oversize 64-bit payload length field (Int trap in WebSocketFrameDecoder) (CVE-2026-43678)

**URL:** <https://forums.swift.org/t/swiftnio-2-101-0-dos-via-websocket-frame-with-oversize-64-bit-payload-length-field-int-trap-in-websocketframedecoder-cve-2026-43678/90014>\
**Category:** Security Updates\
**Created:** [October 12, 2026, 10:09am UTC](https://forums.swift.org/t/swiftnio-2-101-0-dos-via-websocket-frame-with-oversize-64-bit-payload-length-field-int-trap-in-websocketframedecoder-cve-2026-43678/90014 "2026-10-12T10:09:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beaumont](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@beaumont](https://forums.swift.org/u/beaumont)\
**Post date:** [October 12, 2026, 10:09am UTC](https://forums.swift.org/t/swiftnio-2-101-0-dos-via-websocket-frame-with-oversize-64-bit-payload-length-field-int-trap-in-websocketframedecoder-cve-2026-43678/90014/1 "2026-10-12T10:09:20Z")

</div>

> Note: 2.101.0 has been available since 2026-06-08; if you have already updated, no action is needed.

Users of SwiftNIO should update to 2.101.0 as soon as practically possible, which addresses the following security issue:

`WebSocketFrameDecoder` converted the 8-byte extended payload length field of a WebSocket frame using Swift's trapping `Int(_:)` initializer, so any 64-bit length with the most-significant bit set caused a fatal runtime trap. The trap fired before `maxFrameSize` validation, so no configuration could mitigate it. An unauthenticated remote peer can crash any `NIOWebSocket`-based server, including Vapor and Hummingbird, with a single 11-byte frame sent after a completed handshake, dropping all active connections until the process restarts.

Affected versions: \<= 2.100.0

For more details, please read the GitHub Security Advisory: [DoS via WebSocket frame with oversize 64-bit payload length field (Int trap in WebSocketFrameDecoder) · Advisory · apple/swift-nio · GitHub](https://github.com/apple/swift-nio/security/advisories/GHSA-qcc5-f287-vgmq)

Thanks to [@g0w6y](https://github.com/g0w6y), [@liyander](https://github.com/liyander) and [@brodmart](https://github.com/brodmart) for reporting this issue.
