{"id":"CVE-2026-125174","aliases":["CVE-2026-125174"],"related":[],"kind":"vulnerability","state":"published","title":"FFmpeg before 8.1.3 and 9.x before 9.0.2 NULL Pointer Dereference via ff_hap_set_chunk_count()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-09T19:11:02.179Z","modified":"2026-11-23T15:46:27.047Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.8,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-252"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"8.1.3","status":"affected"},{"type":"custom","introduced":"9.0","fixed":"9.0.2","status":"affected"}],"vendor":"FFmpeg","product":"FFmpeg","repo":"https://code.ffmpeg.org/FFmpeg/FFmpeg","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"8.1.3"},{"status":"affected","introduced":"9.0","fixed":"9.0.2"}],"vendor":"ffmpeg","product":"ffmpeg","cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24487","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/f8c4c6400e835bf65e8b9cc12aba9e5c4d1c818c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/hap.c#L33","tags":["patch","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FFmpeg/FFmpeg","tags":["product"],"sources":["cvelist","nvd"]},{"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","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Zheng Yu @ Depthfirst","Joshua Rogers (AISLE Research)","Michael Niedermayer"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-09T21:03:47.956Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-125174","url":"https://www.cve.org/CVERecord?id=CVE-2026-125174","licence":"CVE Terms of Use","modified":"2026-11-09T21:06:58.436Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-125174","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125174","licence":"Public domain","modified":"2026-11-23T15:46:27.047Z"}],"updatedAt":"2026-11-25T22:59:49.627Z","epss":{"score":0.00177,"percentile":0.07566,"date":"2026-12-01T12:00:22.000Z"}}