{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"ffmpeg/ffmpeg","product":"FFmpeg","source":"CNA: VulnCheck","vendor":"FFmpeg","versions":[{"lessThan":"8.1.3","status":"affected","version":"0","versionType":"custom"},{"lessThan":"9.0.2","status":"affected","version":"9.0","versionType":"custom"}]}],"cveId":"CVE-2026-125174","cwes":["CWE-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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6.8,"severity":"medium","source":"CNA: VulnCheck","vector":"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","version":"4.0"},{"score":5.5,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}],"modifiedAt":1794258418436,"publishedAt":1794251462179,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking"],"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24487"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/FFmpeg/FFmpeg/commit/f8c4c6400e835bf65e8b9cc12aba9e5c4d1c818c"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/hap.c#L33"},{"source":"CNA: VulnCheck","tags":["product"],"url":"https://github.com/FFmpeg/FFmpeg"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"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"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/FFmpeg/FFmpeg/commit/f8c4c6400e835bf65e8b9cc12aba9e5c4d1c818c"}],"revision":"73cf063b31a738cc6dc38ec92891f92f95dddfef26fa8ae756ed4bb8d922f923","sources":[{"modifiedAt":1794258418436,"name":"CNA: VulnCheck","retrievedAt":1794262188264,"url":"https://www.cve.org/CVERecord?id=CVE-2026-125174"}],"ssvc":{"assessedAt":1794258227956,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"FFmpeg before 8.1.3 and 9.x before 9.0.2 NULL Pointer Dereference via ff_hap_set_chunk_count()","updatedAt":1794262188264}