FFmpeg through 9.0.2 contains a stack exhaustion vulnerability in av_encryption_init_info_free() in libavutil/encryption_info.c, which recursively… (CVE-2026-107678)
Description
FFmpeg versions through 9.0.2 have a stack exhaustion vulnerability in the av_encryption_init_info_free() function within libavutil/encryption_info.c. This function recursively frees linked lists created by the MOV demuxer's mov_read_pssh(). An attacker can craft an MP4 file containing many small pssh boxes to trigger this vulnerability, causing stack exhaustion, process crashes, and quadratic CPU usage.
CVSS v3.1
Score 4.7medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-107678 describes a stack exhaustion vulnerability in FFmpeg up to version 9.0.2. The flaw exists in av_encryption_init_info_free(), which recursively frees AVEncryptionInitInfo linked lists constructed by the MOV demuxer's mov_read_pssh() function. By providing a malicious MP4 file with tens of thousands of small pssh boxes, an attacker can exhaust the stack, leading to a crash and excessive CPU consumption due to quadratic complexity in processing.
Potential Impact
Successful exploitation results in denial of service by crashing the FFmpeg process and causing high CPU usage. There is no indication of confidentiality or integrity impact. The attack requires local access to supply a crafted MP4 file and user interaction, as indicated by the CVSS vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rp4v-7m3g-89vg
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-107678"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6ac80f172cdf04f656390548
Added to database: 10/08/2026, 21:45:59 UTC
Last enriched: 10/08/2026, 21:52:03 UTC
Last updated: 10/08/2026, 23:28:14 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.