---
id: CVE-2026-58268
title: SIPGO is a library for writing SIP services in the GO language
summary: >-
  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…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-789
vendor: emiago
product: sipgo
affected:
  - sipgo < 1.4.1
patched:
  - github.com/emiago/sipgo 1.4.1
published: '2026-09-22'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T18:12:04.247'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-58268'
references:
  - url: >-
      https://github.com/emiago/sipgo/commit/a7be60a07f48c06b3cdd5a7d35eb820b3df5736c
    label: security-advisories@github.com
  - url: 'https://github.com/emiago/sipgo/releases/tag/v1.4.1'
    label: security-advisories@github.com
  - url: 'https://github.com/emiago/sipgo/security/advisories/GHSA-pg59-5vwg-4jxq'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-pg59-5vwg-4jxq'
  - url: 'https://github.com/emiago/sipgo'
tags:
  - nvd
  - cve.org
  - ghsa
  - go
  - osv
epss: 0.00609
epssPercentile: 0.46926
aliases:
  - GHSA-pg59-5vwg-4jxq
ecosystem: go
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-23T12:38:22.446398Z'
ingestedAt: '2026-09-22T20:10:15.092Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-58268)

Affected packages:

- `github.com/emiago/sipgo <= 1.4.0`

Patched in:

- `github.com/emiago/sipgo 1.4.1`

Source: https://github.com/advisories/GHSA-pg59-5vwg-4jxq
