CVE-2026-135739
FFmpeg 7.1 before 9.1 contains an out-of-bounds read vulnerability in libavfilter/vf_scale.c that allows attackers to read past the filter input array by sendi…
Impact
FFmpeg 7.1 before 9.1 contains an out-of-bounds read vulnerability in libavfilter/vf_scale.c that allows attackers to read past the filter input array by sending width or height commands using ref variables. Attackers can send such commands via sendcmd scripts or unauthenticated zmq or azmq filters, causing config_props() to dereference an invalid pointer and crash the process.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data being read, high risk of outages.
Affected products (FFmpeg)
| Product | Affected versions |
|---|---|
| FFmpeg | from 7.1 before 9.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26081
- https://github.com/FFmpeg/FFmpeg/commit/dd1b4e4ba5c3280638fed06a88bf25690564170b
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_scale.c#L578
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-7.1-before-9.1-out-of-bounds-read-via-scale-filter-process-command
- https://github.com/advisories/GHSA-r425-gp28-77j5
- https://nvd.nist.gov/vuln/detail/CVE-2026-135739