{"id":"CVE-2026-65705","aliases":["CVE-2026-65705"],"related":[],"kind":"vulnerability","state":"published","title":"FFmpeg 3.4 - 8.1.2 vf_floodfill Out-of-Bounds Write via filter_frame()","summary":"FFmpeg versions 3.4 through 8.1.2 contain an out-of-bounds write vulnerability in the vf_floodfill video filter that allows attackers to corrupt heap memory by supplying a dynamically sized video stream with filtergraph reinitialization disabled via -reinit_filter 0. When config_input() allocates the points traversal stack based on initial frame dimensions and a subsequent larger frame is processed, filter_frame() performs flood-fill neighbor pushes beyond the original allocation boundary, resulting in heap corruption and process crash with potential for code execution depending on heap layout and process hardening.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"FFmpeg versions 3.4 through 8.1.2 contain an out-of-bounds write vulnerability in the vf_floodfill video filter that allows attackers to corrupt heap memory by supplying a dynamically sized video stream with filtergraph reinitialization disabled via -reinit_filter 0. When config_input() allocates the points traversal stack based on initial frame dimensions and a subsequent larger frame is processed, filter_frame() performs flood-fill neighbor pushes beyond the original allocation boundary, resulting in heap corruption and process crash with potential for code execution depending on heap layout and process hardening.","source":"cvelist"},{"lang":"es","text":"Las versiones de FFmpeg 3.4 hasta 8.1.2 contienen una vulnerabilidad de escritura fuera de límites en el filtro de video vf_floodfill que permite a los atacantes corromper la memoria del heap al proporcionar un flujo de video de tamaño dinámico con la reinicialización del grafo de filtros deshabilitada a través de -reinit_filter 0. Cuando config_input() asigna la pila de recorrido de puntos basándose en las dimensiones iniciales del fotograma y se procesa un fotograma posterior más grande, filter_frame() realiza inserciones de vecinos de relleno por inundación más allá del límite de asignación original, lo que resulta en corrupción del heap y caída del proceso con potencial de ejecución de código dependiendo del diseño del heap y del endurecimiento del proceso.","source":"nvd"}],"published":"2026-07-23T19:00:36.133Z","modified":"2026-10-24T15:10:00.190Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.3,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-131","CWE-787"],"affected":[{"ranges":[{"type":"custom","introduced":"3.4","lastAffected":"8.1.2","status":"affected"},{"type":"git","version":"f186c50cf53aec20e9a29059cb22ca3f2d59201c","status":"unaffected"}],"vendor":"FFmpeg","product":"FFmpeg","repo":"https://code.ffmpeg.org/FFmpeg/FFmpeg","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.4","lastAffected":"8.1.2"}],"vendor":"ffmpeg","product":"ffmpeg","cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23780","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/f186c50cf53aec20e9a29059cb22ca3f2d59201c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/ffmpeg-vf-floodfill-out-of-bounds-write-via-filter-frame","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Adrian Junge (vurlo)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-24T03:56:31.323Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-65705","url":"https://www.cve.org/CVERecord?id=CVE-2026-65705","licence":"CVE Terms of Use","modified":"2026-07-28T01:06:13.065Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-65705","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65705","licence":"Public domain","modified":"2026-10-24T15:10:00.190Z"}],"updatedAt":"2026-11-25T22:59:29.954Z","epss":{"score":0.00125,"percentile":0.02377,"date":"2026-12-01T12:00:22.000Z"}}