PatchSiren cyber security CVE debrief
CVE-2026-125174 FFmpeg CVE debrief
A NULL pointer dereference vulnerability exists in FFmpeg before 8.1.3 and 9.x before 9.0.2 in the ff_hap_set_chunk_count() function in libavcodec/hap.c. This vulnerability allows attackers to supply a crafted Hap video frame with an oversized chunk count, causing the decoder to write through a NULL chunk table and crash the application. The affected code is located in libavcodec/hap.c and was reported in the GitHub Advisory Database. Developers and administrators using FFmpeg should assess their exposure and update to a secure version.
- Vendor
- FFmpeg
- Product
- Unknown
- CVSS
- MEDIUM 6.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-09
- Original CVE updated
- 2026-11-10
- Advisory published
- 2026-11-09
- Advisory updated
- 2026-11-10
Who should care
Developers and administrators using FFmpeg in their applications should assess their exposure and update to a secure version. This includes reviewing the affected code in libavcodec/hap.c and implementing input validation and error handling for ff_hap_set_chunk_count(). Additionally, operators and security teams should review their systems for potential exposure and implement compensating controls as needed.
Why it matters
This vulnerability can cause application crashes and potentially lead to denial-of-service (DoS) attacks. Developers and administrators using FFmpeg should assess their exposure and update to a secure version.
- Application crashes due to NULL pointer dereference
- Potential for denial-of-service (DoS) attacks
- Need for input validation and error handling
Technical summary
The ff_hap_set_chunk_count() function in libavcodec/hap.c does not check for reallocation failures, leading to a NULL pointer dereference when a crafted Hap video frame with an oversized chunk count is supplied. The function is used to set the chunk count for Hap video frames, and the vulnerability can be triggered by supplying a crafted video frame with an oversized chunk count. The affected code is located in libavcodec/hap.c and was reported in the GitHub Advisory Database. No additional technical information is available beyond what is provided in the CVE record and the GitHub Advisory Database entry.
Defensive priority
Medium priority should be given to updating FFmpeg to a secure version, as this vulnerability can cause application crashes.
Recommended defensive actions
- Update FFmpeg to version 8.1.3 or 9.0.2 or later
- Review and monitor for suspicious Hap video frames
- Implement input validation and error handling for ff_hap_set_chunk_count()
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
Evidence notes
The vulnerability was reported in the GitHub Advisory Database and is tracked by CVE-2026-125174. The affected code is located in libavcodec/hap.c. The GitHub Advisory Database entry provides additional information about the vulnerability. No additional information is available beyond what is provided in the CVE record and the GitHub Advisory Database entry.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-125174 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-125174
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-125174 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-125174
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a NULL pointer dereference vulnerability in...
Unverified legacy reference
URL: https://github.com/advisories/GHSA-jqcf-q8r9-79hm
github_advisory_database
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg/commit/f8c4c6400e835bf65e8b9cc12aba9e5c4d1c818c
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24487
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/hap.c
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-null-pointer-dereference-via-ff-hap-set-chunk-count
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.