Original description
SRS 4.0.0 before 6.0.194, 7.0.0 before 7.0.214, and 8.0.0 before 8.0.73 contains a heap-based buffer overflow in SrsRtcpCommon::decode and SrsRtcpTWCC::decode that lets remote WebRTC peers write past the fixed 1500-byte payload_ array. Unauthenticated attackers opening a WHIP or WHEP session can send oversized BYE, APP, unknown-type or TWCC RTCP packets to overwrite up to 64 KB of heap memory, crashing the server.
Affected products and versions
ossrs srs4.0.0 – < 6.0.194 · 7.0.0 – < 7.0.214 · 8.0.0 – < 8.0.73Fixed in: 6.0.194 · 7.0.214 · 8.0.73
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- Low impact
- Availability
- High impact
Weakness type (CWE)
- CWE-122 Heap-based Buffer Overflow
References
- github.com/ossrs/srs/security/advisories/GHSA-qr8h-p53p-x564 vendor advisory
- github.com/ossrs/srs/commit/ab03c94b0744ab392320253ad1767b21b6c82a59 patch
- github.com/ossrs/srs/commit/d251c92a76be546aeb988ebf77b4c1999f030989 patch
- github.com/ossrs/srs/commit/aeb73209d8ee0e42f4c306ac67de7d71c728a7a6 patch
- github.com/ossrs/srs/releases/tag/v8.0-d3
- github.com/ossrs/srs/releases/tag/v7.0-a4
- github.com/ossrs/srs/releases/tag/v6.0-r3
- github.com/ossrs/srs/blob/v7.0-a3/trunk/src/kernel/srs_kernel_rtc_rtcp.cpp#L85-L99
- www.vulncheck.com/advisories/srs-before-6.0.194-7.0.214-and-8.0.73-heap-buffer-overflow-vi
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.