Skip to content
CVE PROGRAM SOURCE RECORD6.8 Medium

CVE-2026-125174

FFmpeg before 8.1.3 and 9.x before 9.0.2 NULL Pointer Dereference via ff_hap_set_chunk_count()

Description

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a NULL pointer dereference vulnerability in ff_hap_set_chunk_count() in libavcodec/hap.c, where a shadowed return variable masks reallocation failures. Attackers can supply a crafted Hap video frame with an oversized chunk count so the decoder writes through a NULL chunk table, crashing the application.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

FFmpeg FFmpeg

Default version status: unaffected

  • 0 to < 8.1.3affected
  • 9.0 to < 9.0.2affected
pkg:github/ffmpeg/ffmpeg

References