GHSA-6fh5-pxvv-ccvwMediumCVSS 5.8
FFmpeg before commit b4c199c contains an incorrect integer narrowing conversion in the AV1 RTP...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-75145
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/b4c199c5906ff53368926c2a5839881f41957e7f
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24090
- https://www.vulncheck.com/advisories/ffmpeg-integer-narrowing-conversion-oob-memory-access-in-av1-rtp-packetizer
- https://github.com/advisories/GHSA-6fh5-pxvv-ccvw