FFmpeg Out-of-Bounds Read in AV1 RTP Packetizer via rtpenc_av1.c
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 983dae9c19f46c87d597598c0fd2f2fcee0ad2f8.
FFmpeg before commit 983dae9 contains an out-of-bounds read in the AV1 RTP packetizer (libavformat/rtpenc_av1.c). The keyframe detection loop that searches for a sequence header OBU advanced its pointer and remaining-size counter by the encoded header length plus the OBU payload size without first bounding the OBU size against the remaining data. A crafted OBU size causes the remaining-size counter to wrap to a positive value, causing the next loop iteration to dereference a pointer beyond the end of the packet buffer. A crafted AV1 input packet muxed to RTP triggers the out-of-bounds read.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ffmpeg | <983dae9c19f46c87d597598c0fd2f2fcee0ad2f8 | 983dae9c19f46c87d597598c0fd2f2fcee0ad2f8 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket