Description
librtmp in RTMPDump through 2.6 contains an out-of-bounds read and heap out-of-bounds write vulnerability because AMF3_Decode ignores AMF3 property decode failures. Malicious RTMP servers or man-in-the-middle attackers can send oversized AMF3 string lengths, and with the token option DecodeTEA corrupts heap memory and leaks heap bytes.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| RTMPDump | librtmp | ≤ 2.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rtmpdump | No fix yet | — |
| Debian 13 | rtmpdump | No fix yet | — |
| Debian 12 | rtmpdump | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rtmpdump | No fix yet | — |
| Ubuntu 26.04 LTS | rtmpdump | No fix yet | — |
| Ubuntu 24.04 LTS | rtmpdump | No fix yet | — |
| Ubuntu 22.04 LTS | rtmpdump | No fix yet | — |
| Ubuntu 20.04 LTS | rtmpdump | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | rtmpdump | No fix yet | — |
| Ubuntu 16.04 LTS | rtmpdump | No fix yet | — |
| Ubuntu 14.04 LTS | rtmpdump | No fix yet | — |
References
- https://hackmd.io/@haindpwn/librtmp-amf3-decode-and-strict-array-oob third-party-advisory
- https://git.ffmpeg.org/gitweb/rtmpdump.git/blob/138fdb258d9fc26f1843fd1b891180416c9dc575:/librtmp/amf.c technical-description
- https://rtmpdump.mplayerhq.hu/ product
- VulnCheck Advisory: librtmp (RTMPDump) through 2.6 Heap Out-of-Bounds Write via AMF3_Decode third-party-advisory