Vulnerability Description
FFmpeg before 9.1 contains a heap buffer overflow vulnerability in recv_msg() of the zmq and azmq filters that allows unauthenticated network attackers to corrupt memory by sending oversized command messages. Attackers can send a 4 GiB message to the default listening port, truncating the int buffer size so memcpy() writes past the heap allocation and crashes FFmpeg.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ffmpeg | Ffmpeg | < 9.1 |
Related Weaknesses (CWE)
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26081Issue TrackingPatch
- https://github.com/FFmpeg/FFmpegProduct
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/f_zmq.c#L138Patch
- https://github.com/FFmpeg/FFmpeg/commit/78afb1d6e99ba2d3264f053ae4c0e4487a9c824cPatch
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-integer-truncation-via-zmThird Party Advisory
FAQ
What is CVE-2026-135742?
CVE-2026-135742 is a vulnerability with a CVSS score of 7.5 (HIGH). FFmpeg before 9.1 contains a heap buffer overflow vulnerability in recv_msg() of the zmq and azmq filters that allows unauthenticated network attackers to corrupt memory by sending oversized command m...
How severe is CVE-2026-135742?
CVE-2026-135742 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-135742?
Check the references section above for vendor advisories and patch information. Affected products include: Ffmpeg Ffmpeg.