CVE details
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.
Affected ports (5)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| multimedia/ffmpeg | ffmpeg | 9.0.2_2,1 | unaddressed | multimedia@FreeBSD.org |
| multimedia/ffmpeg | ffmpeg-nox11 | 9.0.2_2,1 | unaddressed | multimedia@FreeBSD.org |
| multimedia/ffmpeg3 | ffmpeg3 | 3.0.2_1 | unaddressed | kreinholz@gmail.com |
| multimedia/ffmpeg4 | ffmpeg4 | 4.4.8_2 | unaddressed | monwarez@mailoo.org |
| multimedia/linux-rl9-ffmpeg | linux-rl9-ffmpeg-libs | 7.1.5 | unaddressed | emulation@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>ffmpeg</name>
<range><lt>FIXME</lt></range>
</package>
<package>
<name>ffmpeg-nox11</name>
<range><lt>FIXME</lt></range>
</package>
<package>
<name>ffmpeg3</name>
<range><lt>FIXME</lt></range>
</package>
<package>
<name>ffmpeg4</name>
<range><lt>FIXME</lt></range>
</package>
<package>
<name>linux-rl9-ffmpeg-libs</name>
<range><lt>FIXME</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-107678</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-107678</url>
</references>
<dates>
<discovery>2026-10-08</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>