Skip to content
OpenAdvisories
Medium · 4.7 CVE-2026-107678 EUVD-2026-95083GHSA-rp4v-7m3g-89vg

FFmpeg through 9.0.2 Stack Exhaustion via Recursive Free of pssh Boxes

Published Oct 8, 2026 · Updated Oct 8, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
FFmpeg FFmpeg ≤ 9.0.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ffmpeg No fix yet —
Debian 13 ffmpeg No fix yet —
Debian 12 ffmpeg No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ffmpeg No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS ffmpeg No fix yet —
Ubuntu Pro 24.04 LTS ffmpeg No fix yet —
Ubuntu Pro 22.04 LTS ffmpeg No fix yet —
Ubuntu Pro 20.04 LTS ffmpeg No fix yet —
Ubuntu Pro 18.04 LTS ffmpeg No fix yet —
Ubuntu Pro 16.04 LTS ffmpeg No fix yet —
Ubuntu Pro 14.04 LTS libav No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling ffmpeg-7 +4 No fix yet —

Advisories 1

References