CVE-2026-137907
FFmpeg 3.0 before 8.1.3 contains a heap buffer overflow vulnerability in libavfilter/vf_boxblur.c because query_formats() accepts pixel formats deeper than 16 …
Impact
FFmpeg 3.0 before 8.1.3 contains a heap buffer overflow vulnerability in libavfilter/vf_boxblur.c because query_formats() accepts pixel formats deeper than 16 bits while the blur temporary buffers hold only 2 bytes per pixel. Attackers can supply crafted 32-bit float media, such as PFM or OpenEXR images, that when processed by the boxblur filter overflow the temporary buffers, crashing applications or possibly executing code.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (FFmpeg)
| Product | Affected versions |
|---|---|
| FFmpeg | from 3.0 before 8.1.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23658
- https://github.com/FFmpeg/FFmpeg/commit/0dac41d2e5e0f4251ed89eedb03a847d5d59ef67
- https://github.com/FFmpeg/FFmpeg/blob/n8.1.2/libavfilter/vf_boxblur.c#L166
- https://github.com/FFmpeg/FFmpeg
- https://github.com/advisories/GHSA-523v-x426-g267
- https://nvd.nist.gov/vuln/detail/CVE-2026-137907