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.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-789 — CWE-789: Memory Allocation with Excessive Size Value
Affected products
| Vendor | Product | Versions |
|---|---|---|
| emiago | sipgo | < 1.4.1 |
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)
Generated from the official CVE List on 23 Sep 2026 07:02 UTC.