Technical impact
FFmpeg versions up to and including 9.0.2 implement a function that parses ARIB caption data. An error cleanup routine in aribcaption_trans_ass_subtitle() mistakenly releases memory for subtitle rectangles using a region counter that can exceed the bounds of the allocated array. This out‑of‑bounds free corrupts the heap, potentially affecting control data. The flaw arises when a crafted ARIB caption contains a region index that surpasses the 8 KiB AVBPrint limit, exposing the vulnerability whenever the cleanup runs.
Affected Systems
All installations of the FFmpeg multimedia framework with version 9.0.2 or earlier are affected. The vulnerability is limited to FFmpeg binaries that enable the libaribcaption module for subtitle processing.
Risk and Exploitability
The CVSS score of 7.3 indicates a high severity. While an EPSS score is not reported, the heap corruption could lead to serious failures or exploitation opportunities. The vulnerability is not listed in CISA’s KEV catalog. Attackers can trigger the flaw by supplying a malicious ARIB caption file to any software that uses the affected FFmpeg build. Successful exploitation could jeopardize the stability of the FFmpeg process and, depending on its privileges, could reveal or affect other system resources.