SRS heap buffer overflow in RTCP decoding
Only SRS servers with WebRTC enabled (rtc_server.enabled on) are affected, in versions 4.0 up to 6.0.193, 7.0.0 to 7.0.213, and 8.0.0 to 8.0.72. Fixed in 6.0.194, 7.0.214, and 8.0.73.
- Exploited
- No known exploitation
- Fix
- Fixed in 6.0.194, 7.0.214, 8.0.73
- Who is exposed
- Default setups
Summary
SRS has a heap buffer overflow in its RTCP packet decoding that lets a remote attacker overwrite up to 64 KB of heap memory and crash the server. Unauthenticated attackers can trigger it over the network by opening a WHIP or WHEP session and sending oversized BYE, APP, unknown-type, or TWCC RTCP packets.
Written by a model
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.
Who should check
Teams running ossrs SRS 4.0 to 6.0.193, 7.0.0 to 7.0.213, or 8.0.0 to 8.0.72 with WebRTC enabled for WHIP or WHEP sessions
Not fixed by: Limiting sessions with on_play and on_publish does not fix the bug.
“Only servers with WebRTC enabled ( rtc_server.enabled on ).”
What to do
Check every install: default setups are affected.
Upgrade to a fixed version: 6.0.194, 7.0.214, 8.0.73.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-136626 (SRS before 6.0.194, 7.0.214, and 8.0.73 Heap Buffer Overflow via RTCP Decoding), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-136626 (entry last updated 2026-11-25):
Affected:
- ossrs srs: from 4.0.0, fixed in 6.0.194; from 7.0.0, fixed in 7.0.214; from 8.0.0, fixed in 8.0.73
Fixed versions: 6.0.194, 7.0.214, 8.0.73.
Conditions (all must be true for the bug to be hit):
- Only servers with WebRTC enabled (rtc_server.enabled on) (source: https://github.com/ossrs/srs/security/advisories/GHSA-qr8h-p53p-x564)
- SRS versions 4.0 up to 6.0.193, 7.0.0 to 7.0.213, and 8.0.0 to 8.0.72 (source: https://github.com/ossrs/srs/security/advisories/GHSA-qr8h-p53p-x564)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-136626 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-136626 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/ossrs/srs/security/advisories/GHSA-qr8h-p53p-x564
- https://github.com/ossrs/srs/commit/ab03c94b0744ab392320253ad1767b21b6c82a59
- https://github.com/ossrs/srs/commit/d251c92a76be546aeb988ebf77b4c1999f030989
- https://github.com/ossrs/srs/commit/aeb73209d8ee0e42f4c306ac67de7d71c728a7a6
- https://github.com/ossrs/srs/releases/tag/v8.0-d3
- https://github.com/ossrs/srs/releases/tag/v7.0-a4
- https://github.com/ossrs/srs/releases/tag/v6.0-r3
- https://github.com/ossrs/srs/blob/v7.0-a3/trunk/src/kernel/srs_kernel_rtc_rtcp.cpp#L85-L99
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-136626
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-136626"}.Affected versions
- ossrs srsFrom 4.0.0 · fixed in 6.0.194; From 7.0.0 · fixed in 7.0.214; From 8.0.0 · fixed in 8.0.73
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure22/25Default setups, reachable over the network without a login
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.8/10CVSS 8.8
- No patch0/5No signal
What would change the score
- Would score about 71 if added to CISA KEV
- Would score about 66 if CISA's SSVC rates exploitation active
Timeline
- CVE published
- First seen by cve.now
Evidence 11
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · ossrs/srs · Advisory GHSA-qr8h-p53p-x564 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-136626 |
| Record | NVD · CVE-2026-136626 |
| Other links 8 | |
| Patch | GitHub · ossrs/srs · Commit ab03c94b |
| Patch | GitHub · ossrs/srs · Commit d251c92a |
| Patch | GitHub · ossrs/srs · Commit aeb73209 |
| Repository | GitHub · ossrs/srs · Release v8.0-d3 |
| Repository | GitHub · ossrs/srs · Release v7.0-a4 |
| Repository | GitHub · ossrs/srs · Release v6.0-r3 |
| Repository | GitHub · ossrs/srs · trunk/src/kernel/srs_kernel_rtc_rtcp.cpp · L85-L99 |
| Link | vulncheck.com · advisories/srs-before-6.0.194-7.0.214-and-8.0.73-heap-buffer-overflow-via-rtcp-decoding |
Questions about CVE-2026-136626
Is CVE-2026-136626 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A remote WebRTC peer can send one crafted RTCP packet that crashes the SRS server, stopping all live streams. The same bug can overwrite up to about 64 KB of heap memory with attacker-chosen bytes.
Source: github.com
Which versions are affected by CVE-2026-136626?
srs: from 4.0.0 before 6.0.194; from 7.0.0 before 7.0.214; from 8.0.0 before 8.0.73.
Source: cve.now feed data
Am I affected, and how do I check?
SRS versions 4.0 up to 6.0.193, 7.0.0 to 7.0.213, and 8.0.0 to 8.0.72 are affected, but only on servers with WebRTC enabled. To check, look at whether rtc_server.enabled is set to on in the SRS configuration and which SRS version the server reports.
Source: github.com
How do I fix CVE-2026-136626?
Upgrade to 6.0.194, 7.0.214, or 8.0.73, whichever matches your release line.
Source: github.com
Related
- CVE-2026-136627SRS before 6.0.194, 7.0.214, and 8.0.73 Reachable Assertion via RTCP Length
- CVE-2023-34105SRS has command injection vulnerability in demonstration api-server for HTTP callback.
- CVE-2024-29882SRS DOM - XSS on JSONP callback
- CVE-2026-105486OSSRS srs System API api.go systemAPI.Run missing authentication
- CVE-2026-136156Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow
- CVE-2026-134052Open Robotics RViz fillIndexBuffer Heap-based Buffer Overflow Remote Code Execution Vulnerability
No corrections so far. Something wrong on this page? Report an error.