# CVE-2026-136626: SRS before 6.0.194, 7.0.214, and 8.0.73 Heap Buffer Overflow via RTCP Decoding

> Unauthenticated remote peers can send oversized RTCP packets to overflow heap memory and crash SRS WebRTC servers.

- **Severity:** High 8.8 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** No
- **Published:** 25 Nov 2026
- **Updated:** 25 Nov 2026
- **Also known as:** GHSA-q4cw-3rjg-59mm

## What is CVE-2026-136626?

CVE-2026-136626 is a high-severity memory corruption vulnerability in ossrs srs, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official 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.

Weakness: CWE-122 (Heap-based Buffer Overflow)

## Which versions are affected by CVE-2026-136626?

3 open source packages ship an affected version, including ossrs/srs.

An affected version is exposed as installed. No special setting or call is needed.


| Package | Ecosystem | PURL | Affected | Fixed in |
| --- | --- | --- | --- | --- |
| `ossrs/srs` | GitHub | `pkg:github/ossrs/srs` | From 4.0.0 | 6.0.194 |
| `ossrs/srs` | GitHub | `pkg:github/ossrs/srs` | From 7.0.0 | 7.0.214 |
| `ossrs/srs` | GitHub | `pkg:github/ossrs/srs` | From 8.0.0 | 8.0.73 |

## How do I fix CVE-2026-136626?

Upgrade ossrs/srs to a fixed version for your release line: 8.0.73, 7.0.214 or 6.0.194.

## Is CVE-2026-136626 being exploited?

There is no known exploitation of CVE-2026-136626 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-136626 and fix it if it is affected.

What it is: CVE-2026-136626 is a high-severity memory corruption vulnerability in ossrs srs, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-136626 in the wild and no public exploit code.
Exposure: An affected version is exposed as installed. No special setting or call is needed.

Affected packages and fixed versions:
- ossrs/srs (GitHub): affected from 4.0.0; fixed in 6.0.194
- ossrs/srs (GitHub): affected from 7.0.0; fixed in 7.0.214
- ossrs/srs (GitHub): affected from 8.0.0; fixed in 8.0.73

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-136626/ (Markdown: https://insights.sbomify.com/CVE-2026-136626/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-136626
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-136626
- OSV: https://osv.dev/vulnerability/CVE-2026-136626

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-136626/
Summaries are generated and may contain mistakes; the official description above is the record.
