{"id":"CVE-2026-58268","kind":"vulnerability","aliases":["CVE-2026-58268","GHSA-pg59-5vwg-4jxq","GO-2026-6550"],"related":[],"title":"SIPGO: DoS via unvalidated Content-Length in the stream parser in github.com/emiago/sipgo","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.","summary":"sipgo is a Go library for building SIP services, and its stream parser allocates a body buffer based on the client-declared Content-Length before checking the maximum message length. An unauthenticated remote peer can send a single oversized message over TCP, TLS, WS or WSS and make the process allocate large amounts of memory, causing denial of service.","severity":"high","cvss":7.5,"epss":0.00609,"exploited":false,"exploited_at":null,"products":[{"name":"github.com/emiago/sipgo","fixed":["1.4.1"],"affected":"< 1.4.1","ecosystem":"go"}],"ecosystems":["go"],"tags":["go","package","self-hosted","sip","voip"],"not_affected_if":["no-stream-listeners","udp-only-transport"],"how_to_check":"Check whether go.mod lists github.com/emiago/sipgo below v1.4.1 (run: go list -m github.com/emiago/sipgo).","fix":"Upgrade github.com/emiago/sipgo to v1.4.1 or later.","status":"open","published_at":"2026-09-22T20:17:03+00:00","first_seen_at":"2026-10-23T19:13:08+00:00","triaged_at":"2026-10-23T21:45:33+00:00","updated_at":"2026-10-23T21:45:33+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-23T21:45:33Z","model":"claude-haiku-5-5","output":{"fix":"Upgrade github.com/emiago/sipgo to v1.4.1 or later.","reach":"internet","impact":"medium","summary":"sipgo is a Go library for building SIP services, and its stream parser allocates a body buffer based on the client-declared Content-Length before checking the maximum message length. An unauthenticated remote peer can send a single oversized message over TCP, TLS, WS or WSS and make the process allocate large amounts of memory, causing denial of service.","category":"package","who_cares":["go","sip","voip","self-hosted"],"confidence":0.8,"needs_auth":"no","worst_case":"Remote peer exhausts server memory, crashing the SIP service","analyst_note":"","how_to_check":"Check whether go.mod lists github.com/emiago/sipgo below v1.4.1 (run: go list -m github.com/emiago/sipgo).\nunknown","needs_analyst":false,"not_affected_if":["udp-only-transport","no-stream-listeners"],"user_interaction":"no","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000488,"input_tokens":2995,"output_tokens":377,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-2026':17A,25A,28A '-58268':18A,29A '-6550':26A '/emiago/sipgo':15A,32A '1.4.1':115C,177C '4jxq':23A '5vwg':22A 'alloc':53B,92B,119C,161C 'amount':94B 'base':57B 'bodi':55B,122C,168C 'buffer':56B,123C 'build':46B 'caus':97B,158C 'check':67B 'client':61B,127C 'client-control':126C 'client-declar':60B 'content':6A,64B,130C 'content-length':5A,63B,129C 'control':128C 'cve':16A,27A 'declar':62B,156C 'denial':98B,163C 'dos':2A 'enforc':136C 'excess':159C 'fix':174C 'ghsa':20A 'ghsa-pg59-5vwg-4jxq':19A 'github.com':14A,31A 'github.com/emiago/sipgo':13A,30A 'go':24A,33B,43B,111C 'header':132C 'host':37B 'issu':172C 'languag':112C 'larg':93B 'length':7A,65B,71B,131C,157C 'librari':44B,104C 'make':89B 'maximum':69B 'memori':96B,160C 'messag':70B,81B,146C 'overs':80B,155C 'packag':34B 'parsemaxmessagelength':134C 'parser':11A,52B 'parserstream.parsesingle':116C 'peer':75B,139C 'pg59':21A 'prior':113C 'process':91B 'read':170C 'remot':74B 'self':36B 'self-host':35B 'send':77B,141C 'servic':48B,100B,108C,165C 'singl':79B 'sip':38B,47B,107C,121C 'sip/parser_stream.go':118C 'sipgo':1A,40B,101C 'stream':10A,51B,144C 'stream-transport':143C 'tcp':83B,148C 'tls':84B,149C 'transport':145C 'unauthent':73B,138C 'unvalid':4A 'version':176C 'via':3A 'voip':39B 'write':106C 'ws':85B,150C 'wss':87B,152C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2026-09-22T20:17:03+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"govuln","external_id":"GO-2026-6550","url":"https://pkg.go.dev/vuln/GO-2026-6550","severity":null,"published_at":"2026-10-01T20:23:38+00:00","modified_at":"2026-10-01T20:23:38+00:00","first_seen_at":"2026-10-23T19:13:08+00:00","fetched_at":"2026-10-23T19:13:08+00:00","note":null},{"source":"epss","external_id":"CVE-2026-58268","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-58268","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:43+00:00","fetched_at":"2026-10-23T19:13:43+00:00","note":null},{"source":"nvd","external_id":"CVE-2026-58268","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58268","severity":null,"published_at":"2026-09-22T20:17:03+00:00","modified_at":"2026-09-23T18:12:04+00:00","first_seen_at":"2026-10-23T19:35:23+00:00","fetched_at":"2026-10-23T19:35:23+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}