FFmpeg Integer Narrowing Conversion OOB Memory Access in AV1 RTP Packetizer
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in b4c199c5906ff53368926c2a5839881f41957e7f.
FFmpeg before commit b4c199c contains an incorrect integer narrowing conversion in the AV1 RTP packetizer (libavformat/rtpenc_av1.c). The OBU size is cast to long before comparison against the remaining frame size. On targets where long is 32 bits, including 64-bit Windows, sufficiently large OBU size values are sign-flipped by the narrowing cast, producing a negative value that passes the payload size check. This allows an oversized OBU to bypass the safety bound on affected platforms, leading to out-of-bounds memory access when the oversized value is subsequently used as a copy length.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ffmpeg | <b4c199c5906ff53368926c2a5839881f41957e7f | b4c199c5906ff53368926c2a5839881f41957e7f |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket