{"id":"GHSA-jwjp-4649-v8jp","revision":null,"records":[{"revision":"360b334e972b4cb69a704ddd09110806","observedAt":"2026-11-12T20:16:18.682+00:00","statement":{"source":"cve-program","id":"CVE-2026-123805","aliases":[],"title":"SIPSorcery: Unbounded SCTP SACK gap/duplicate counts cause out-of-bounds read that kills the data-channel receive thread (DoS)","description":"SIPSorcery is a WebRTC, SIP, and VoIP library for C# and .NET. Prior to 10.0.14, SctpSackChunk.ParseChunk reads the numGapAckBlocks and numDuplicateTSNs fields from an attacker-controlled SCTP SACK chunk without checking that the corresponding entries fit the declared chunk length. A negotiated WebRTC peer can send a checksum-valid malformed SACK chunk that drives the parser beyond the 262144-byte receive buffer. The resulting IndexOutOfRangeException bypasses the recoverable ApplicationException handler in RTCSctpTransport.DoReceive, causing the generic handler to exit the dedicated receive loop and permanently terminate the SCTP association and all data channels. This issue is fixed in 10.0.14.","state":0,"publishedAt":"2026-11-09T19:57:35.105+00:00","modifiedAt":"2026-11-12T18:05:10.593+00:00","affected":[{"ecosystem":"Vendor product","name":"sipsorcery","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"sipsorcery-org\",\n                    \"product\": \"sipsorcery\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 10.0.14\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/sipsorcery-org/sipsorcery/security/advisories/GHSA-jwjp-4649-v8jp","https://github.com/sipsorcery-org/sipsorcery/pull/1772","https://github.com/sipsorcery-org/sipsorcery/commit/a2466550bb2a28821c73fb1961bc33dcc467f8cf"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-123805","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-123805","identifiers":["CVE-2026-123805"]},"retained":false,"historicalAffected":[]},{"revision":"0af46183acff4f81bafecfd56d8e693a","observedAt":"2026-11-17T23:40:45.09+00:00","statement":{"source":"euvd","id":"EUVD-2026-120398","aliases":["CVE-2026-123805"],"title":"SIPSorcery is a WebRTC, SIP, and VoIP library for C# and .NET. Prior to 10.0.14, SctpSackChunk.ParseChunk reads the numGapAckBlocks and numDuplicateTSNs fields from an attacker-controlled SCTP SACK chunk without checking that the correspond…","description":"SIPSorcery is a WebRTC, SIP, and VoIP library for C# and .NET. Prior to 10.0.14, SctpSackChunk.ParseChunk reads the numGapAckBlocks and numDuplicateTSNs fields from an attacker-controlled SCTP SACK chunk without checking that the corresponding entries fit the declared chunk length. A negotiated WebRTC peer can send a checksum-valid malformed SACK chunk that drives the parser beyond the 262144-byte receive buffer. The resulting IndexOutOfRangeException bypasses the recoverable ApplicationException handler in RTCSctpTransport.DoReceive, causing the generic handler to exit the dedicated receive loop and permanently terminate the SCTP association and all data channels. This issue is fixed in 10.0.14.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":null}],"references":["https://github.com/sipsorcery-org/sipsorcery/security/advisories/GHSA-jwjp-4649-v8jp","https://github.com/sipsorcery-org/sipsorcery/pull/1772","https://github.com/sipsorcery-org/sipsorcery/commit/a2466550bb2a28821c73fb1961bc33dcc467f8cf"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120398","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 9, 2026, 7:57:35 PM","dateUpdated":"Nov 12, 2026, 6:05:10 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-120398","identifiers":["EUVD-2026-120398","CVE-2026-123805"]},"retained":false,"historicalAffected":[]},{"revision":"0418378e13dd4aeaa50f335f842b48f5","observedAt":"2026-11-13T22:01:12.304+00:00","statement":{"source":"nvd","id":"CVE-2026-123805","aliases":[],"title":"SIPSorcery is a WebRTC, SIP, and VoIP library for C# and .NET. Prior to 10.0.14, SctpSackChunk.ParseChunk reads the numGapAckBlocks and numDuplicateTSNs fields from an attacker-controlled SCTP SACK chunk without checking that the correspond…","description":"SIPSorcery is a WebRTC, SIP, and VoIP library for C# and .NET. Prior to 10.0.14, SctpSackChunk.ParseChunk reads the numGapAckBlocks and numDuplicateTSNs fields from an attacker-controlled SCTP SACK chunk without checking that the corresponding entries fit the declared chunk length. A negotiated WebRTC peer can send a checksum-valid malformed SACK chunk that drives the parser beyond the 262144-byte receive buffer. The resulting IndexOutOfRangeException bypasses the recoverable ApplicationException handler in RTCSctpTransport.DoReceive, causing the generic handler to exit the dedicated receive loop and permanently terminate the SCTP association and all data channels. This issue is fixed in 10.0.14.","state":0,"publishedAt":"2026-11-09T20:18:10.173+00:00","modifiedAt":"2026-11-12T19:16:51.623+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/sipsorcery-org/sipsorcery/commit/a2466550bb2a28821c73fb1961bc33dcc467f8cf","https://github.com/sipsorcery-org/sipsorcery/pull/1772","https://github.com/sipsorcery-org/sipsorcery/security/advisories/GHSA-jwjp-4649-v8jp"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-123805","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-125","CWE-755"],"productCriteria":[],"sourceDates":{"published":"2026-11-09T20:18:10.173","lastModified":"2026-11-12T19:16:51.623"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-123805","identifiers":["CVE-2026-123805"]},"retained":false,"historicalAffected":[]},{"revision":"660350c619e34301a7f66d97783afe0b","observedAt":"2026-11-09T21:02:16.784+00:00","statement":{"source":"osv","id":"GHSA-jwjp-4649-v8jp","aliases":["CVE-2026-123805"],"title":"SIPSorcery vulnerable to Denial of Service via out-of-bounds read in SCTP SACK chunk parsing","description":"## Summary\n`SctpSackChunk.ParseChunk` reads the `numGapAckBlocks` and `numDuplicateTSNs` fields (each up to 65535) directly from an attacker-controlled SCTP SACK chunk and loops that many times reading 4 bytes per iteration, with no validation of the counts against the chunk length or the receive buffer. A single crafted SACK chunk from a negotiated WebRTC peer forces reads past the end of the 262144-byte receive buffer, raising `IndexOutOfRangeException`, which is not caught by the recoverable handler and terminates the dedicated SCTP receive thread — permanently killing the SCTP association and all data channels.\n\n## Root Cause\n`src/SIPSorcery/net/SCTP/Chunks/SctpSackChunk.cs`:\n- `ushort numGapAckBlocks = NetConvert.ParseUInt16(buffer, startPosn + 8);` (:141)\n- `ushort numDuplicateTSNs = NetConvert.ParseUInt16(buffer, startPosn + 10);` (:142)\n- gap-ack loop (:146) and duplicate-TSN loop (:154) index the buffer via `NetConvert.ParseUInt16/32` (`buffer[posn]`, no bounds check — `sys/Net/NetConvert.cs:30,41`).\n`SctpPacket.ParseChunks` (SctpPacket.cs:195-203) only validates `chunkLength >= 4` and `posn+chunkLength <= length`; the counts inside the value are never checked. `RTCSctpTransport.DoReceive` calls `SctpPacket.Parse(recvBuffer, 0, bytesRead)` on a reused `recvBuffer = new byte[262144]`.\n\n## Impact\n`IndexOutOfRangeException` is a `SystemException`, not `ApplicationException`, so the recoverable `catch (ApplicationException) { … continue; }` at RTCSctpTransport.cs:345 is skipped and control falls to the generic `catch (Exception) { … break; }` at :356. The `break` exits the receive loop, `DoReceive` returns, and the dedicated `_receiveThread = new Thread(DoReceive)` (:173, started once) exits with no restart → the SCTP association and every data channel are permanently dead (denial of service).\n\n## Proof of Concept\nA negotiated WebRTC peer (post-DTLS) sends a checksum-valid SCTP packet: 12-byte common header + a SACK chunk (type 3) with `chunkLength=16`, `numGapAckBlocks=0xFFFF`, `numDuplicateTSNs=0xFFFF`. CRC32C is attacker-computable. The gap-ack loop reaches `buffer[262144]` on a 262144-byte array (valid indices 0..262143) → `IndexOutOfRangeException`.\n\n## Attack Chain\n1. Entry: post-DTLS negotiated peer sends a checksum-valid SCTP packet with a SACK chunk (`chunkLength=16`, `numGapAckBlocks=0xFFFF`). Guard: `VerifyChecksum` (CRC32C). Bypass: CRC32C is computable by the sender.\n2. Processing: `DoReceive` (RTCSctpTransport.cs:286) reads into reused `recvBuffer` (262144 bytes, :280) → `SctpPacket.Parse(recvBuffer, 0, bytesRead)` (:302) → `ParseChunks` → SACK dispatch (`SctpChunk.Parse` :340-341) → `SctpSackChunk.ParseChunk`. Guard: `ParseChunks` checks only `chunkLength>=4` and `posn+chunkLength<=length` (SctpPacket.cs:195-203). Bypass: `chunkLength=16` is well-formed; the counts are never validated.\n3. Sink: gap-ack loop (SctpSackChunk.cs:146) calls `NetConvert.ParseUInt16(buffer, reportPosn)` with `reportPosn` starting at `startPosn(16)+FIXED_PARAMETERS(12)=28`, climbing `+4` each iteration. Guard: none on the count. Bypass: `NetConvert.ParseUInt16` (NetConvert.cs:30) indexes `buffer[posn]` unchecked.\n4. Impact: at iteration 65529, `reportPosn = 28 + 65529*4 = 262144` → `buffer[262144]` → `IndexOutOfRangeException` → generic `catch` at RTCSctpTransport.cs:356 → `break` → receive thread exits, no restart → association permanently dead.\n\n## Bypass Evidence\n- Unchecked counts at SctpSackChunk.cs:141-142; loops at :146,:154.\n- `NetConvert.ParseUInt16` unchecked indexing (NetConvert.cs:30).\n- `ParseChunks` validates only `chunkLength` (SctpPacket.cs:195-203).\n- OOB math: `28 + 65535*4 = 262168 > 262144`; buffer is 262144 (`DEFAULT_ADVERTISED_RECEIVE_WINDOW`, SctpAssociation.cs:62). `numGapAckBlocks` alone suffices — the dup-TSN loop is not needed.\n- `DoReceive` catch split: recoverable `catch(ApplicationException)` at :345 (`continue`) vs generic `catch(Exception)` at :356 (`break`); `_receiveThread` started once at :176.\n\n## Affected Versions\n`nuget:SIPSorcery <= 10.0.13` (verified present on release tag v10.0.13 and HEAD da944543).\n\n## Dedup\nNOT a duplicate of GHSA-qmvg-569h-hqrh — that fix (`fe5a1fa`) touched only `SctpPacket.cs` (the chunk-cursor zero-length infinite loop, CWE-835). This is a distinct out-of-bounds read (CWE-125) in `SctpSackChunk` count loops, untouched by that fix.\n\n## Suggested Fix\nValidate `startPosn + FIXED_PARAMETERS_LENGTH + numGapAckBlocks*4 + numDuplicateTSNs*4 <= posn + chunkLen` before the loops, and/or make `NetConvert.Parse*` bounds-checked, and/or treat `IndexOutOfRangeException`/`ArgumentException` as recoverable in `DoReceive`.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","state":0,"publishedAt":"2026-08-12T19:30:43+00:00","modifiedAt":"2026-11-09T20:15:04.8384821+00:00","affected":[{"ecosystem":"NuGet","name":"SIPSorcery","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"10.0.14"}]}],"versions":["1.3.0-PRE","1.3.1","1.4.0","1.4.1","1.5.0","1.5.2","1.5.3","1.5.5","1.5.6","1.6.0","1.6.1","1.6.2","10.0.1","10.0.10","10.0.11","10.0.12","10.0.13","10.0.2","10.0.3","10.0.4-pre","10.0.5","10.0.6","10.0.7","10.0.8","10.0.9","2.0.0","2.0.1","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","4.0.0-rc","4.0.1-rc","4.0.13-pre","4.0.2-rc","4.0.28-pre","4.0.29-pre","4.0.3-rc","4.0.30-pre","4.0.31-pre","4.0.32-pre","4.0.33-pre","4.0.34-pre","4.0.35-pre","4.0.4-rc","4.0.40-pre","4.0.41-pre","4.0.42-pre","4.0.43-pre","4.0.44-pre","4.0.45-pre","4.0.46-pre","4.0.47-pre","4.0.49-pre","4.0.50-pre","4.0.51-pre","4.0.55-pre","4.0.58-pre","4.0.59-pre","4.0.60-pre","4.0.7-rc","4.0.8-rc","5.1.0","5.1.1","5.1.2","5.1.4-pre","5.1.5-pre","5.1.6-pre","5.1.7-pre","5.1.8-pre","5.2.0","5.2.3","5.3.0-pre","5.3.3-pre","6.0.1-pre","6.0.11","6.0.12","6.0.2","6.0.3","6.0.4","6.0.6","6.0.7","6.0.8","6.0.9","6.1.0-pre","6.1.1-pre","6.2.0","6.2.1","6.2.3","6.2.4","8.0.0","8.0.1","8.0.10","8.0.11","8.0.12","8.0.13","8.0.14","8.0.15-pre","8.0.20-pre","8.0.21-pre","8.0.22","8.0.23","8.0.3","8.0.4","8.0.5","8.0.6","8.0.7","8.0.9"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/sipsorcery-org/sipsorcery/security/advisories/GHSA-jwjp-4649-v8jp","https://github.com/sipsorcery-org/sipsorcery/commit/a2466550bb2a28821c73fb1961bc33dcc467f8cf","https://github.com/sipsorcery-org/sipsorcery"],"sourceUrl":"https://github.com/advisories/GHSA-jwjp-4649-v8jp","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-jwjp-4649-v8jp","identifiers":["GHSA-jwjp-4649-v8jp","CVE-2026-123805"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-18T19:54:18.5679203+00:00","complete":true,"records":1782,"lastAttemptAt":"2026-11-18T19:54:18.5679203+00:00","lastSuccessAt":"2026-11-18T19:54:18.7316275+00:00","error":null,"lastVerifiedAt":"2026-11-18T19:54:18.731629+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e8613183f25b83a29a0132eb6cc089600c03b5fbd9f37c62e594e0c0b237073d-aebe84e11712b403f1a32c9931cc68ad9a3d94afc2bcdbf19777e5b54bbc4389","complete":true,"records":428025,"lastAttemptAt":"2026-11-18T19:52:31.1945106+00:00","lastSuccessAt":"2026-11-18T19:52:31.0345178+00:00","error":null,"lastVerifiedAt":"2026-11-18T19:52:31.1945106+00:00","snapshotPublishedAt":"2026-11-18T19:18:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-3194393e5abe48e18d27488531b5ec15","complete":false,"records":13849,"lastAttemptAt":"2026-11-18T19:54:44.9648345+00:00","lastSuccessAt":"2026-11-18T19:54:44.961+00:00","error":"2 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-18T19:54:44.961+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13895,"expectedIdentifiers":13897,"failedIdentifiers":2},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-18T19:54:18.5679203+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-18T19:54:18.5679203+00:00","lastSuccessAt":"2026-11-18T19:54:18.7324409+00:00","error":null,"lastVerifiedAt":"2026-11-18T19:54:18.7324415+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-083e8c5b6eba41df9af08e8952c69c94","complete":false,"records":13862,"lastAttemptAt":"2026-11-18T19:54:44.1049271+00:00","lastSuccessAt":"2026-11-18T19:54:44.101+00:00","error":null,"lastVerifiedAt":"2026-11-18T19:54:44.101+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13895,"expectedIdentifiers":13897,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-2f2e07e2d2a062f2d9e3b67198fbff6162780bbb3f10af117c05e48edd620f83","complete":true,"records":9959,"lastAttemptAt":"2026-11-18T19:54:18.2828179+00:00","lastSuccessAt":"2026-11-18T17:46:46.853418+00:00","error":null,"lastVerifiedAt":"2026-11-18T19:54:18.2828179+00:00","snapshotPublishedAt":"2026-11-18T17:18:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-18T19:52:31.3805759+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-18T19:52:31.3805759+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-af19897f6831fa318300702674eeb772eff90d76f369421ceab19d46ff1c2189","complete":true,"records":3173,"lastAttemptAt":"2026-11-18T19:54:18.5290788+00:00","lastSuccessAt":"2026-11-18T17:46:51.3577596+00:00","error":null,"lastVerifiedAt":"2026-11-18T19:54:18.5290788+00:00","snapshotPublishedAt":"2026-11-18T16:48:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-6bd499f78f38cbf73a3b8d6a7de05bb54beb5b4b67d7033da2596a690977f7eb","complete":true,"records":232659,"lastAttemptAt":"2026-11-18T19:54:18.1174611+00:00","lastSuccessAt":"2026-11-18T19:54:17.1009142+00:00","error":null,"lastVerifiedAt":"2026-11-18T19:54:18.1174611+00:00","snapshotPublishedAt":"2026-11-18T19:48:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}