Vulnerability · Published Sep 22, 2026 · Assigned by GitHub_M
CVE-2026-58268SIPGO: DoS via unvalidated Content-Length in the stream parser
High 7.5
In plain English
A high-severity security flaw in sipgo from emiago. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/emiago/sipgo | 1.4.1 | GHSA-pg59-5vwg-4jxq |
| Go | github.com/emiago/sipgo | 1.4.1 | GO-2026-6550 |
Affected products (as reported)
Weakness: CWE-789 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/emiago/sipgo/security/advisories/GHSA-pg59-5vwg-4jxq x_refsource_CONFIRM
- https://github.com/emiago/sipgo/commit/a7be60a07f48c06b3cdd5a7d35eb820b3df5736c x_refsource_MISC
- https://github.com/emiago/sipgo/releases/tag/v1.4.1 x_refsource_MISC