---
id: "CVE-2026-77322"
kind: "vulnerability"
aliases: ["CVE-2026-77322", "GHSA-8h6x-h86x-75wh", "GO-2026-6559"]
title: "SIPGO: DoS via unvalidated WebSocket frame length in github.com/emiago/sipgo"
severity: "high"
cvss: 7.5
epss: 0.00524
exploited: false
status: "open"
category: "package"
products: [{"name": "github.com/emiago/sipgo", "fixed": ["1.4.3"], "affected": "< 1.4.3", "ecosystem": "go"}]
ecosystems: ["go"]
tags: ["go", "package", "sip", "voip", "websocket"]
not_affected_if: ["no-websocket-transport", "version-1.4.3-or-later"]
published_at: "2026-09-22T20:17:08+00:00"
first_seen_at: "2026-10-23T19:13:08+00:00"
updated_at: "2026-10-23T21:45:30+00:00"
sources: [{"source": "govuln", "url": "https://pkg.go.dev/vuln/GO-2026-6559", "first_seen_at": "2026-10-23T19:13:08+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-77322", "first_seen_at": "2026-10-23T19:13:43+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77322", "first_seen_at": "2026-10-23T19:35:23+00:00"}]
---

# SIPGO: DoS via unvalidated WebSocket frame length in github.com/emiago/sipgo

sipgo is a Go library for building SIP servers, and before 1.4.3 its WebSocket transport reads frames without a size limit. An unauthenticated remote peer can send one frame header declaring a huge payload, which crashes the process or exhausts its memory.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- go:github.com/emiago/sipgo affected < 1.4.3 fixed 1.4.3

## How to check

Run `go list -m github.com/emiago/sipgo` in each service and check whether the version is below 1.4.3.
Search the codebase for sipgo transport usage over WS or WSS.

## Fix

Upgrade github.com/emiago/sipgo to 1.4.3 or later and rebuild.

## Timeline

- 2026-10-23T19:13:08+00:00 govuln https://pkg.go.dev/vuln/GO-2026-6559
- 2026-10-23T19:13:43+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-77322
- 2026-10-23T19:35:23+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-77322

## From the sources

SIPGO is a library for writing SIP services in the GO language. Prior to 1.4.3, WSConnection.Read in sip/transport_ws.go creates a wsutil.Reader without setting MaxFrameSize, allowing NextFrame to accept a client-controlled header.Length before ParseMaxMessageLength is applied. An unauthenticated WS or WSS peer can send a frame header declaring an extremely large payload, causing an oversized allocation or a makeslice length panic before the payload is read and crashing or exhausting memory in the server process. This issue is fixed in version 1.4.3.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
