CVE-2026-107678

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

Configuration 1 (hide)

cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

History

14 Oct 2026, 23:55

Type Values Removed Values Added
First Time Ffmpeg
Ffmpeg ffmpeg
References () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24593 - () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24593 - Issue Tracking, Patch
References () https://ffmpeg.org/ - () https://ffmpeg.org/ - Product
References () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/mov.c#L8070 - () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/mov.c#L8070 - Product
References () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavutil/encryption_info.c#L219-L231 - () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavutil/encryption_info.c#L219-L231 - Product
References () https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-stack-exhaustion-via-recursive-free-of-pssh-boxes - () https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-stack-exhaustion-via-recursive-free-of-pssh-boxes - Third Party Advisory
CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

08 Oct 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-08 16:17

Updated : 2026-10-14 23:55


NVD link : CVE-2026-107678

Mitre link : CVE-2026-107678

CVE.ORG link : CVE-2026-107678


JSON object : View

Products Affected

ffmpeg

  • ffmpeg
CWE
CWE-674

Uncontrolled Recursion