All reports
Medium

ffmpeg: FFmpeg: Out-of-bounds memory access due to integer narrowing conversion

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-75145

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-20

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.

A flaw was found in FFmpeg. An incorrect integer narrowing conversion in the AV1 RTP packetizer can lead to an out-of-bounds memory access. This occurs when processing specially crafted AV1 RTP (Real-time Transport Protocol) packets, where a large OBU (Operating Block Unit) size is incorrectly handled due to a casting issue on certain platforms. An attacker could exploit this to cause a denial of service or potentially execute arbitrary code.