[ CVE-2026-58268 · Published 22 Sep 2026 ]
SIPGO: DoS via unvalidated Content-Length in the stream parser
CVSS 7.5
EPSS <1%Fix available
[ Description ]Official description
SIPGO is a library for writing SIP services in the GO language. Prior to 1.4.1, ParserStream.parseSingle in sip/parser_stream.go allocates a SIP body buffer from the client-controlled Content-Length header before ParseMaxMessageLength is enforced. An unauthenticated peer can send a stream-transport message over TCP, TLS, WS, or WSS with an oversized declared length, causing excessive memory allocation and denial of service before the body is read. This issue is fixed in version 1.4.1.
[ Fixes ]Fixes and patches
- github.com/emiago/sipgo 1.4.1Fixed version · GitHub Advisories · go package github.com/emiago/sipgo: upgrade to 1.4.1 or later (affected <= 1.4.0)
[ Packages ]Affected open-source packages
- github.com/emiago/sipgo goAffected <= 1.4.0 · fixed in 1.4.1 · GHSA-pg59-5vwg-4jxq
[ References ]References
- github.com/emiago/sipgo/security/advisories/GHSA-pg59-5vwg-4jxqx_refsource_CONFIRM
- github.com/emiago/sipgo/commit/a7be60a07f48c06b3cdd5a7d35eb820b3df5736cx_refsource_MISC
- github.com/emiago/sipgo/releases/tag/v1.4.1x_refsource_MISC