CVE-2026-107678
FFmpeg through 9.0.2 Stack Exhaustion via Recursive Free of pssh Boxes
- State
- Published
- Severity
- 5.7 Medium
- Published
- Oct 8, 2026
- Updated
- Oct 8, 2026
- Reserved
- Oct 8, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 | VulnCheck |
| 3.1 | 4.7 Medium | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H | VulnCheck |
Weaknesses
- CWE-674 Uncontrolled Recursion
Affected Products
| Product | Versions |
|---|---|
FFmpegFFmpeg |
|
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24593issue-tracking
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavutil/encryption_info.c#L219-L231technical-description
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/mov.c#L8070technical-description
- https://ffmpeg.org/product
- VulnCheck Advisory: FFmpeg through 9.0.2 Stack Exhaustion via Recursive Free of pssh Boxesthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.