CVE-2026-58268

SIPGO: DoS via unvalidated Content-Length in the stream parser

Published Sep 22, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The SIPGO library for Go contains a flaw in its stream parser where the body buffer for a SIP message is allocated based solely on the client supplied Content‑Length header before the maximum message size is checked. An attacker can send a TCP, TLS, WS, or WSS stream with an oversized declaration, causing the parser to reserve more memory than intended and resulting in a denial of service. Because the allocation occurs before authentication, the impact is a loss of availability for the running application without any user interaction.

Affected Systems

The vulnerability affects the SIPGO library published by Emiago. Any deployment that uses a version of SIPGO prior to 1.4.1 is subject to the flaw. Versions 1.4.1 and later include the patch that enforces the maximum message length before memory allocation.

Risk and Exploitability

With a CVSS score of 7.5 this issue is classified as high severity. There is no EPSS data available and it is not listed in the CISA KEV catalog. The attack vector is unauthenticated network traffic; an adversary with access to the SIP transport can exploit the flaw by sending an oversized Content‑Length header during the initial stream parsing stage, achieving a denial of service without credentials.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the SIPGO library to version 1.4.1 or later.
  • If an upgrade is not immediately possible, configure the SIP server or network posture to reject or drop transport connections that contain a Content‑Length header exceeding a safe threshold before passing data to the parser.
  • Isolate the SIP parsing component and enforce OS or container memory limits so that even if an oversized buffer is allocated, it cannot exhaust system resources.

Generated by OpenCVE AI on September 22, 2026 at 21:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-pg59-5vwg-4jxq SIPGO: DoS via unvalidated Content-Length in the stream parser
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Emiago
Emiago sipgo
Vendors & Products Emiago
Emiago sipgo
Type Values Removed Values Added
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.
Title SIPGO: DoS via unvalidated Content-Length in the stream parser
Weaknesses CWE-789
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-789

    Memory Allocation with Excessive Size Value

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 23, 2026, 12:38 PM
Reserved
Jun 29, 2026, 9:54 PM
Status
Awaiting Analysis
Published
Sep 22, 2026, 8:17 PM
Modified
Sep 23, 2026, 6:12 PM