CVE-2026-125174

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductFFmpeg
PublishedNov 9, 2026
First seenNov 9, 2026
Weakness typeCWE-252CWE-252

How to fix

Affected products

ProductAffected versionsFixed in
FFmpeg FFmpegv < 8.1.3, 9.0 ≤ v < 9.0.28.1.3, 9.0.2
ffmpeg ffmpegv < 8.1.3, 9.0 ≤ v < 9.0.28.1.3, 9.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.