CVE-2026-107678 FFmpeg through 9.0.2 Stack Exhaustion via Recursive Free of pssh Boxes
Attackers can crash FFmpeg and cause high CPU usage by providing a crafted MP4 file with excessive pssh boxes, affecting applications using the library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-107678?
CVE-2026-107678 is a medium-severity denial of service vulnerability in Ffmpeg Ffmpeg, published on 8 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
FFmpeg through 9.0.2 contains a stack exhaustion vulnerability in av_encryption_init_info_free() in libavutil/encryption_info.c, which recursively frees AVEncryptionInitInfo linked lists built by the MOV demuxer's mov_read_pssh(). Attackers can supply a crafted MP4 file with tens of thousands of small pssh boxes to exhaust the stack and crash the process, while also causing quadratic CPU consumption.
Weakness: CWE-674
Which versions are affected by CVE-2026-107678?
It affects 1 product.
Products include Ffmpeg Ffmpeg.
How do I fix CVE-2026-107678?
No fix has been published for CVE-2026-107678 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-107678 being exploited?
There is no known exploitation of CVE-2026-107678 in the wild and no public exploit code.
Other vulnerabilities in Ffmpeg Ffmpeg
Sources
Also known as DEBIAN-CVE-2026-107678, ECHO-4c92-12ce-a2f9, GHSA-rp4v-7m3g-89vg, UBUNTU-CVE-2026-107678.