JLSEC-2026-2123: FFmpeg through 9.0.2 contains a memory leak vulnerability in libavcodec/libx265.c because...
FFmpeg through 9.0.2 contains a memory leak vulnerability in libavcodec/libx265.c because libx265encodeframe() never frees the rpu.payload allocated by ffdovirpugenerate(). Attackers can supply crafted Dolby Vision HEVC or AV1 files that leak one RPU allocation per encoded frame during libx265 transcoding, causing unbounded memory growth and denial of service.
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
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which workflows are exposed to this issue?
Systems are exposed when they use the libx265 encoder to transcode Dolby Vision HEVC or AV1 input. The leak occurs during encoding and grows by one RPU allocation for each encoded frame.
What does an attacker need to do to trigger the denial of service?
An attacker needs to supply a crafted Dolby Vision HEVC or AV1 file that is processed by a libx265 transcoding workflow. User interaction is required according to the supplied vector, such as initiating or approving processing of the file.
What is the impact if exploitation succeeds?
Memory usage can grow without bound during transcoding, potentially exhausting available memory and causing a denial of service. The provided information does not indicate confidentiality or integrity impact.