CVE Catalog

CVE-2026-125267

HighCVSS 7.8
Published: Translated: NVD NIST

Summary

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap out-of-bounds write vulnerability in the APAC decoder in libavcodec/apac.c caused by an unreset bitstream index. Attackers can supply a crafted APAC file whose growing bitstream_index triggers an integer overflow, bypassing the reallocation check so memcpy() corrupts heap memory or crashes the application.

Risk Assessment

Malicious APAC files can cause heap memory corruption, leading to crashes or potential code execution in decoding applications.

Recommendation

Upgrade FFmpeg to version 8.1.3 or 9.0.2 (or later) and restrict processing of untrusted APAC files.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap out-of-bounds write vulnerability in the APAC decoder in libavcodec/apac.c caused by an unreset bitstream index. Attackers can supply a crafted APAC file whose growing bitstream_index triggers an integer overflow, bypassing the reallocation check so memcpy() corrupts heap memory or crashes the application.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS