JLSEC-2026-2170: FFmpeg through 9.0.2 contains an off-by-one heap overflow vulnerability in get_exponent_dynamic()...
FFmpeg through 9.0.2 contains an off-by-one heap overflow vulnerability in getexponentdynamic() in libavcodec/nellymoserenc.c that allows writing one element past the opt and path allocations. Attackers can supply crafted audio to applications encoding Nellymoser with trellis enabled, causing idx to equal OPTSIZE and overwrite adjacent heap memory.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/FFMPEG_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are exposed to this flaw?
Applications using FFmpeg to encode attacker-controlled audio with the Nellymoser encoder and trellis enabled are exposed. The listed affected software packages are julia/ffmpeg_jll and julia/ffmpeg_nogpl_jll.
What must an attacker provide to trigger the overflow?
An attacker must supply crafted audio to an application that is encoding Nellymoser audio with trellis enabled. Exploitation requires local access, high attack complexity, and user interaction according to the provided vector.
What is the impact if exploitation succeeds?
The flaw writes one element past the opt and path heap allocations when idx reaches OPT_SIZE, overwriting adjacent heap memory. The supplied severity vector indicates high impacts to confidentiality, integrity, and availability.