CVE-2026-107678: FFmpeg through 9.0.2 Stack Exhaustion via Recursive Free of pssh Boxes

Published Oct 8, 2026
·
Updated

FFmpeg through 9.0.2 contains a stack exhaustion vulnerability in avencryptioninitinfofree() in libavutil/encryptioninfo.c, which recursively frees AVEncryptionInitInfo linked lists built by the MOV demuxer's movreadpssh(). 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 Software

1 affected component
FFmpeg FFmpeg<=9.0.2

Event History

Oct 8, 2026
CVE Published
via MITRE·03:28 PM
Data Sourced
via MITRE·03:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are realistically exposed?

Applications that use affected FFmpeg versions to process attacker-supplied MP4 files are exposed. The vulnerable path is the MOV demuxer's handling of pssh boxes.

2

What does an attacker need to trigger the issue?

An attacker needs to supply a crafted MP4 containing tens of thousands of small pssh boxes. Processing that file can exhaust the stack during recursive cleanup and crash the process.

3

Is the impact limited to a crash?

No. The crafted pssh-box structure can also cause quadratic CPU consumption while the file is processed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203