CVE-2026-135742 FFmpeg before 9.1 Integer Truncation via zmq Filter recv_msg()

Published Updated

Unauthenticated network attackers can send oversized zmq/azmq messages to overflow FFmpeg's heap and crash it; users of FFmpeg with zmq filters should care.

CVSS score

High

8.7/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
2 on GitHub, unverified
Fix
Available
9.1
Attack path
Over the internet
No login, no user action

What is CVE-2026-135742?

CVE-2026-135742 is a high-severity integer overflow vulnerability in FFmpeg, published on 24 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-197

How severe is CVE-2026-135742?

CVE-2026-135742 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-135742?

1 open source package ship an affected version, including ffmpeg/ffmpeg. It affects 1 product.

An affected version is only exploitable if your software calls recv_msg(). Many projects that include it are not exposed.

PackageAffectedFixed in
ffmpeg/ffmpeg GitHub
pkg:github/ffmpeg/ffmpeg
All versions9.1
Status by vendor 1
WhoReleaseStatusPackages
Upstreamfixedffmpeg:ffmpeg (9.1)

Products include FFmpeg.

CPE match criteria 1
CPE 2.3Versions
cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*before 9.1

How do I fix CVE-2026-135742?

Upgrade ffmpeg/ffmpeg to 9.1 or later.

Upgrade to the fixed version. Check arithmetic on sizes and lengths before using the result. More about Integer overflow.

Is CVE-2026-135742 being exploited?

There is no known exploitation of CVE-2026-135742 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

All FFmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-135742, ECHO-1fc6-ad4d-d6ca, GHSA-25vr-c4hm-7mch, UBUNTU-CVE-2026-135742.

Is CVE-2026-135742 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free