CVE-2026-125267

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.

Published

CVSS 4.0 score 8.5 out of 10.

Reported versions and fixes

  • Source-reported product — Reported version range cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

Source evidence