CVE-2026-125174

Discovered by AISLEPUBLISHEDCWE-252

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.

CVSS Base Scores

CVSS v4.06.8

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS v3.1
5.5

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersionStatus
FFmpegFFmpeg0affected
FFmpegFFmpeg9.0affected

Credits

  • Zheng Yu @ Depthfirst(finder)
  • Joshua Rogers (AISLE Research)(reporter)
  • Michael Niedermayer(remediation developer)

References