Description
librtmp (RTMPDump) through 2.6 contains a heap out-of-bounds read vulnerability in AMFProp_Decode that reads an AMF0 strict-array element count before checking that four bytes remain. A malicious RTMP server or man in the middle can send an AMF0 body ending with a strict-array type byte and fewer than four trailing bytes to crash the client.
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 Read via AMFProp_Decode third-party-advisory