Summary
FFmpeg contains a heap out-of-bounds read and write in the deband filter (libavfilter/vf_deband.c) that can be triggered by a runtime coupling command. The CVSS 4.0 score is 9.2 (critical), per CNA:VulnCheck.
What happened
The vulnerability (CWE-787) is in libavfilter/vf_deband.c. A coupling command sent at runtime to the deband filter, for example through sendcmd or an unauthenticated zmq filter, causes chroma planes to be processed at luma dimensions. This leads to out-of-bounds reads and writes on the heap and memory corruption.
Why it matters
According to the description, the memory corruption can crash the process or potentially allow code execution. The CVSS 4.0 score is 9.2, with critical severity (CNA:VulnCheck), and the vector is CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N. The source does not report known active exploitation or any evidence that this is a zero-day.
Affected products and versions
FFmpeg (vendor: FFmpeg), versions >= 4.4 and < 9.1.
| Product | Versions | Fixed in |
|---|---|---|
| FFmpeg FFmpeg | >= 4.4, < 9.1 | — |
Action recommended by the source
The source does not state a fixed version or a specific vendor mitigation. The references include a pull request and a patch commit in the FFmpeg repository, as well as a VulnCheck advisory; readers are advised to consult them for the status of the fix.
Sources and references
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26081 — CVE Program
- https://github.com/FFmpeg/FFmpeg/commit/24ad423d908cd595c983b6c503ddb0ee94901ba2 — CVE Program
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_deband.c#L212 — CVE Program
- https://github.com/FFmpeg/FFmpeg — CVE Program
- https://www.vulncheck.com/advisories/ffmpeg-4.4-before-9.1-heap-out-of-bounds-write-via-deband-filter-coupling-command — CVE Program
Weaknesses (CWE): CWE-787
Relevant change history
Published
Advisory published.