Security mailing lists by PureSourceCode

GHSA-4xr6-hc3h-f6jq

not scored yet

Unbounded allocation from peer-declared frame length in github.com/gobwas/ws

ws.ReadFrame, ws.MustReadFrame, and the wsutil message readers allocate a buffer of the payload length declared in the frame header before reading any payload bytes. A remote unauthenticated peer can send a frame header declaring a large payload length and cause an out-of-memory crash.

Published
23 Nov 2026
Last modified
23 Nov 2026
Also known as
GO-2026-6940
Sources
OSV GO-2026-6940JSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/gobwas/ws < 1.5.0 1.5.0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.