CVE-2026-125174: FFmpeg before 8.1.3 and 9.x before 9.0.2 NULL Pointer Dereference via ff_hap_set_chunk_count()

Published Nov 9, 2026
·
Updated

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a NULL pointer dereference vulnerability in ffhapsetchunkcount() 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 Software

14 affected componentsFixes available
FFmpeg FFmpeg<8.1.3, >=9.0.0<9.0.2
FFmpeg FFmpeg<8.1.3
FFmpeg FFmpeg>=9.0<9.0.2
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
debian/ffmpeg<=7:5.1.9-0+deb12u1, <=7:7.1.5-0+deb13u1, <=7:9.0.2-6, <=7:9.1-3
7:7.1.6-0+deb13u1
debian/ffmpeg*
debian/ffmpeg<7:7.1.6-0+deb13u1
7:7.1.6-0+deb13u1
debian/ffmpeg*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/ffmpeg to a version that resolves this vulnerability.

    Fixed in 7:7.1.6-0+deb13u1

Event History

Nov 9, 2026
CVE Published
via MITRE·07:11 PM
Data Sourced
via MITRE·07:11 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness
Event
via NVD·07:16 PM
Nov 12, 2026
Updated
via OSV·05:25 PM
Severity
Nov 15, 2026
Data Sourced
via OSV·01:00 AM
Affected Software
Nov 23, 2026
Data Sourced
via NVD·03:46 PM
RemedyAffected Software
Dec 5, 2026
Updated
via OSV·05:08 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using affected FFmpeg versions that decode Hap video frames are exposed. Exploitation requires the application to process an attacker-supplied crafted Hap frame.

2

What does an attacker need to do to trigger the crash?

The attacker must provide a Hap video frame with an oversized chunk count. This can cause a reallocation failure to be masked, followed by a write through a NULL chunk table.

3

What is the impact of successful exploitation?

Successful exploitation crashes the decoding application, resulting in a denial of service. The provided severity vector indicates no confidentiality or integrity impact.

4

Which versions should be updated?

Update FFmpeg 8.x to 8.1.3 or later, and FFmpeg 9.x to 9.0.2 or later. Versions before 8.1.3 and 9.x before 9.0.2 are identified as affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203