{"id":"CVE-2026-107678","revision":"88f197ad7faf4ff6918f95806624bd57","records":[{"revision":"88f197ad7faf4ff6918f95806624bd57","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-107678","aliases":[],"title":"FFmpeg through 9.0.2 Stack Exhaustion via Recursive Free of pssh Boxes","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.","state":0,"publishedAt":"2026-10-08T15:28:43.274+00:00","modifiedAt":"2026-10-08T17:51:49.706+00:00","affected":[{"ecosystem":"Vendor product","name":"FFmpeg","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"FFmpeg\",\n                    \"product\": \"FFmpeg\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"9.0.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:github/ffmpeg/ffmpeg\",\n                    \"repo\": \"https://code.ffmpeg.org/FFmpeg/FFmpeg\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":5.7,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","score":4.7,"severity":"MEDIUM"}],"references":["https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24593","https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavutil/encryption_info.c#L219-L231","https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/mov.c#L8070","https://ffmpeg.org/","https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-stack-exhaustion-via-recursive-free-of-pssh-boxes"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-107678","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-107678","identifiers":["CVE-2026-107678"]},"retained":false,"historicalAffected":[]}],"coverage":[]}