CVE-2026-54632 — Vulnerability in SIPSorcery — CVE Details
SIPSorcery: Malformed UDP packet on the RTP/ICE socket can remotely terminate a media session (DoS)
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.72%). Schedule for your next planned update.
Does your project use an affected SIPSorcery version?
Paste your packages.lock.json to check it for CVE-2026-54632 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
A single malformed inbound UDP packet on the RTP/ICE socket can remotely terminate an active RTP or WebRTC media session. The packet receive handler indexes packet (and STUN attribute) bytes without sufficient length checks and throws, and the UDP receive loop converted any such exception into a channel Close rather than dropping the packet. One small, unauthenticated packet therefore ends the media session.
This is reachable during ICE connectivity checks — before the DTLS handshake and before any STUN MESSAGE-INTEGRITY verification. Because the RTP/ICE port is shared/advertised in the ICE candidates, a peer or on-path attacker can reach it (exposure is lower for a blind off-path attacker that must first learn the ephemeral port). Impact is availability only — no loss of confidentiality or integrity.
Affected versions
NuGet package SIPSorcery <= 10.0.8.
Patches
Fixed in 10.0.9.
Root cause
Two issues combine:
-
Unchecked indexing of untrusted bytes.
RTPChannel.OnRTPPacketReceivedreadpacket[1]after only checking the packet was non-empty, so a 1-byte packet threwIndexOutOfRangeException.STUNAttribute.ParseMessageAttributespassed anull/short value to the typed attribute parsers, andSTUNXORAddressAttribute(and the non-XORSTUNAddressAttribute) then readattributeValue[1],AsSpan(2)andAsSpan(4)with no length check. A STUN message carrying anXOR-MAPPED-ADDRESS,XOR-PEER-ADDRESSorXOR-RELAYED-ADDRESSattribute of length 0–7 threw (NullReferenceExceptionfor length 0,IndexOutOfRangeException/ArgumentOutOfRangeExceptionfor 1–7).
-
The UDP receive loop closed the channel on any exception. The catch-all in
UdpReceiver.EndReceiveFromcalledClose(), tearing down the channel, instead of dropping the offending packet and continuing. This was systemic: any unhandled exception anywhere in the packet pipeline (STUN, RTP, RTCP, DTLS demux, SRTP, TURN) became a channel teardown.
Fix
UdpReceiver.EndReceiveFrom: a non-socket exception now logs and drops the single packet and re-arms the receive loop (matching the existingSIPUDPChannelbehaviour), instead of closing the channel. Genuine socket failures continue to be handled separately.RTPChannel.OnRTPPacketReceived: requires a minimum packet length (RTPHeader.MIN_HEADER_LEN) before indexing the discriminator bytes.- STUN parsing:
ParseMessageAttributesvalidates each attribute value length and skips malformed/truncated attributes; the XOR/address attribute constructors validate length defensively;ParseSTUNMessageno longer dereferences a null attribute list.
Regression tests were added covering the 1-byte packet (channel stays open and remains usable), short/zero-length XOR address attributes (0–7 bytes), and truncated STUN messages.
Workarounds
None within the library short of upgrading. Restricting the RTP/ICE port to known peers at the network layer reduces exposure but does not eliminate it, since a negotiating peer can still trigger the condition.
Credit
Responsibly reported by Lokhesh Ujhoodha.
Advisory Timeline
- First published July 28, 2026 (121 days ago).
- Last revised July 28, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package SIPSorcery --version 10.0.9
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: NuGet (1).
| Package | Fixed In |
|---|---|
| SIPSorcery NuGet · Affected: 1.3.0-PRE, 1.3.1, 1.4.0, 1.4.1 (+106 more) | 10.0.9 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-20Improper Input ValidationMITRE
- CWE-755
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
Frequently Asked Questions
- What is CVE-2026-54632?
- SIPSorcery: Malformed UDP packet on the RTP/ICE socket can remotely terminate a media session (DoS). This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-54632?
- CVE-2026-54632 affects SIPSorcery. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-54632 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 49.6% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-102529HIGH
HtmlSanitizer: CSS Removal DoS
- CVE-2026-123805HIGH
SIPSorcery vulnerable to Denial of Service via out-of-bounds read in SCTP SACK chunk parsing
- GHSA-pfvm-w89x-94jwHIGH
SIPSorcery: Malformed UDP datagram crashes TurnServer receive loop with no restart, disabling TURN UDP relay for all clients (DoS)
- CVE-2026-63184HIGH
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion