Description
FFmpeg before 9.1 contains an information disclosure vulnerability in amf_get_field_value2() in libavformat/rtmppkt.c that NUL-terminates truncated AMF strings at the declared length instead of bytes read. A malicious RTMP server, or connecting client in listen mode, can send truncated onStatus or _error strings to leak uninitialized stack memory through log messages.
Metrics
CVSS 3.1 3.3/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | < 9.1 |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24916Issue Tracking, Patch
- https://github.com/FFmpeg/FFmpegProduct
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtmppkt.c#L554Product
- https://github.com/FFmpeg/FFmpeg/commit/09282853e82a1a881e7e5b061030063f48df2b95Patch
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-uninitialized-stack-memory-disclosure-via-rtmp-amf-stringsThird Party Advisory
Timeline
- Published
- Nov 24, 2026
- Last modified
- Nov 27, 2026
- NVD status
- Analyzed