« List of all CVEs

CVE-2026-107678

FFmpeg through 9.0.2 Stack Exhaustion via Recursive Free of pssh Boxes

Published: 10/8/2026 Last updated: 10/8/2026 Reserved: 10/8/2026

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.

CNA assigner: VulnCheck (83251b91-4cc7-4094-a5c7-464a1b83ea10) Requested by: n/a

Metrics

Version Score Severity Vector String
4.0 5.7 Medium CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
3.1 4.7 Medium CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H

Opam packages affected (3)

conf-ffmpeg ffmpeg opus

Products affected (0)

No product listed.

References (5)

Credits (1)