home / blog

2026-11-28 · high

CVE-2026-137907: Heap buffer overflow vulnerability in FFmpeg

Buffer overflow vulnerability in FFmpeg's libavfilter/vf_boxblur.c, affecting versions 3.0-8.1.2.

CVE-2026-137907: Heap buffer overflow vulnerability in FFmpeg

CVE-2026-137907 concerns a heap buffer overflow vulnerability in libavfilter/vf_boxblur.c in FFmpeg. The vulnerability occurs 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.

The vulnerability has a CVSS score of 7.8, classifying it as high severity. It was published on the NVD on 2026-11-27. Signals on GitHub indicate that proof-of-concept and exploit code for this vulnerability exist, which significantly increases the risk.

It is crucial to immediately update FFmpeg to version 8.1.3, which fixes the vulnerability. Check applications that use FFmpeg and ensure they are running the corrected version. If updating is not possible, consider disabling the boxblur filter or implementing strict input validation to avoid processing suspicious files.

At a glance

What
Heap buffer overflow vulnerability in libavfilter/vf_boxblur.c in FFmpeg
Severity
high (CVSS 7.8)
Affected versions
3.0 before 8.1.3
Fix
Update to version 8.1.3
Status
Published on 2026-11-27
Action
Immediately update to version 8.1.3

Sources: NVD, CVE-2026-137907

← All articles