Description (CNA)
FFmpeg before commit 1c10bcc contains a heap buffer overflow in the RIST protocol reader (libavformat/librist.c). librist_read() ignored its size argument and copied the full received payload length into the caller-provided destination buffer, overflowing it when the payload exceeds the destination size. This is reachable via the async:rist:// URL scheme, where the async wrapper supplies a smaller buffer than the received payload. A remote RIST sender can trigger the overflow by sending a packet whose payload exceeds the caller buffer size.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| FFmpeg / FFmpeg | affected 0 before 1c10bcc2e17255dacb717a25ab3db142ce390602 |
CWE
CWE-122
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24089
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/1c10bcc2e17255dacb717a25ab3db142ce390602
- https://www.vulncheck.com/advisories/ffmpeg-heap-buffer-overflow-via-rist-protocol-reader
ADP enrichment
No English description supplied.
No references supplied.