FFmpeg
FFmpeg Heap Buffer Overflow via RIST Protocol Reader
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1c10bcc2e17255dacb717a25ab3db142ce390602
Fixed in 1c10bcc2e17255dacb717a25ab3db142ce390602
Mitigation
Upgrade FFmpeg to 1c10bcc2e17255dacb717a25ab3db142ce390602 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.