{"id":13476,"date":"2026-06-09T10:03:36","date_gmt":"2026-06-09T10:03:36","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2026\/06\/09\/21-0-day-vulnerabilities-in-ffmpeg-enables-remote-code-execution-attacks\/"},"modified":"2026-06-09T10:03:36","modified_gmt":"2026-06-09T10:03:36","slug":"21-0-day-vulnerabilities-in-ffmpeg-enables-remote-code-execution-attacks","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2026\/06\/09\/21-0-day-vulnerabilities-in-ffmpeg-enables-remote-code-execution-attacks\/","title":{"rendered":"21 0-Day Vulnerabilities in FFmpeg Enables Remote Code Execution Attacks"},"content":{"rendered":"<p>    21 0-Day Vulnerabilities in FFmpeg Enables Remote Code Execution Attacks<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p class=\"wp-block-paragraph\">An autonomous security agent uncovered 21 <a href=\"https:\/\/cybersecuritynews.com\/google-confirms-90-zero-day-vulnerabilities-exploit-in-2025\/\">zero-day vulnerabilities<\/a> in FFmpeg, the world\u2019s most widely deployed media processing library, including a critical RCE-capable heap buffer overflow reachable with a single 183-byte network packet.<\/p>\n<p class=\"wp-block-paragraph\">FFmpeg quietly powers media processing across browsers, streaming platforms, surveillance systems, and cloud infrastructure, making it one of the most security-critical open-source libraries.<\/p>\n<p class=\"wp-block-paragraph\">It\u2019s roughly 1.5 million lines of heavily optimized C code that parses hundreds of complex media formats, absorbing over two decades of fuzzing and manual audits.<\/p>\n<p class=\"wp-block-paragraph\">Google\u2019s Big Sleep team previously disclosed 13 vulnerabilities in FFmpeg, and <a href=\"https:\/\/cybersecuritynews.com\/claude-mythos-zero-day-detection\/\" target=\"_blank\" rel=\"noreferrer noopener\">Anthropic\u2019s Mythos model<\/a> identified additional security issues shortly after.<\/p>\n<p class=\"wp-block-paragraph\">Building on these milestones, security firm Depthfirst deployed a specialized autonomous agent to scan FFmpeg and found 21 previously unknown zero-days at a cost of approximately $1,000, roughly 10% of what Anthropic spent using Mythos.<\/p>\n<h2 id=\"h-21-0-day-vulnerabilities-in-ffmpeg\" class=\"wp-block-heading\"><strong>21 0-Day Vulnerabilities in FFmpeg<\/strong><\/h2>\n<p class=\"wp-block-paragraph\">Unlike general-purpose coding agents, Depthfirst\u2019s security agent performs serious threat modeling across large codebases.<\/p>\n<p class=\"wp-block-paragraph\">It maps attacker-controlled input entry points, traces data flow through relevant components, and validates whether a vulnerable path is actually reachable.<\/p>\n<p class=\"wp-block-paragraph\">The agent generates reproducible PoC inputs to confirm vulnerabilities and eliminate false positives, with the PoC code <a href=\"https:\/\/depthfirst.com\/research\/21-zero-days-in-ffmpeg\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">published on GitHub by Zhenpeng (Leo) Lin of Depthfirst.<\/a><\/p>\n<p class=\"wp-block-paragraph\">The agent discovered vulnerabilities spanning the TS demuxer, VP9 decoder, RTP depacketizers, RTSP server, RTMP client, and more. Eight have been assigned CVEs:<\/p>\n<p class=\"wp-block-paragraph\"><strong>CVE-2026-39210<\/strong> \u2013 Heap Buffer Overflow in the TS demuxer (introduced in 2010).<\/p>\n<p class=\"wp-block-paragraph\"><strong>CVE-2026-39211<\/strong> \u2013 Integer Overflow in swscale (introduced 2010).<\/p>\n<p class=\"wp-block-paragraph\"><strong>CVE-2026-39212<\/strong> \u2013 Stack Overflow in ffmpeg_opt.c (regression from July 2025).<\/p>\n<p class=\"wp-block-paragraph\"><strong>CVE-2026-39213<\/strong> \u2013 Heap Buffer Overflow in yuv4mpegenc (introduced 2023).<\/p>\n<p class=\"wp-block-paragraph\"><strong>CVE-2026-39214<\/strong> \u2013 Stack Buffer Overflow in the SDT implementation (introduced in 2003, latent for 23 years).<\/p>\n<p class=\"wp-block-paragraph\"><strong>CVE-2026-39215<\/strong> \u2013 Heap Buffer Overflow in update_mb_info() (introduced 2012).<\/p>\n<p class=\"wp-block-paragraph\"><strong>CVE-2026-39216<\/strong> \u2013 Heap Buffer Overflow in img2enc.c (introduced 2012).<\/p>\n<p class=\"wp-block-paragraph\"><strong>CVE-2026-39217<\/strong> \u2013 Heap Buffer Overflow in the VP9 decoder (regression from March 2025).<\/p>\n<p class=\"wp-block-paragraph\"><strong>CVE-2026-39218<\/strong> \u2013 Heap Buffer Overflow in the DASH demuxer (introduced in 2017).<\/p>\n<p class=\"wp-block-paragraph\">Additional unassigned findings include bugs in the RTP AV1 depacketizer (DFVULN-127), AVI demuxer, CAF demuxer, RTSP SDP parser, RTMP client, and AVIF overlay path, all of which have been dormant for over 15 years.<\/p>\n<p class=\"wp-block-paragraph\">The most severe finding is a heap buffer overflow in FFmpeg\u2019s AV1 RTP depacketizer (libavformat\/rtpdec_av1.c), tracked as DFVULN-127.<\/p>\n<p class=\"wp-block-paragraph\">The flaw lies in how the depacketizer handles Temporal Delimiter (TD) OBUs\u2019 special markers that separate video frames.<\/p>\n<p class=\"wp-block-paragraph\">When a TD is encountered, the code advances the write cursor (pktpos) by the attacker-declared\u00a0obu_size\u00a0without allocating the corresponding memory or advancing the input pointer\u00a0buf_ptr.<\/p>\n<p class=\"wp-block-paragraph\">This causes two compounding issues: the write cursor becomes poisoned, and the next iteration re-parses the TD\u2019s own bytes as a fresh OBU with attacker-controlled contents.<\/p>\n<p class=\"wp-block-paragraph\">The corruption lands directly on an\u00a0AVBuffer\u00a0struct allocated immediately after the data buffer by FFmpeg\u2019s\u00a0posix_memalign-based allocator.<\/p>\n<p class=\"wp-block-paragraph\">At offset +24 within that struct sits a\u00a0free\u00a0function pointer, the exact target of the Overflow.<\/p>\n<p class=\"wp-block-paragraph\">When the packet is subsequently reallocated, FFmpeg decrements the buffer\u2019s reference count to zero and invokes the now-corrupted\u00a0free\u00a0pointer, handing the attacker full control of the instruction pointer.<\/p>\n<p class=\"wp-block-paragraph\">A working PoC confirms that a single 183-byte RTP packet delivered over RTSP is sufficient to redirect execution, with no authentication, no user interaction, and no unusual flags required.<\/p>\n<p class=\"wp-block-paragraph\">Any system running\u00a0ffmpeg -i rtsp:\/\/attacker\/stream\u00a0is exposed, including media ingest pipelines, <a href=\"https:\/\/cybersecuritynews.com\/kmw-cctv-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">CCTV and surveillance systems<\/a>, and cloud transcoding services processing remote AV1-over-RTP sources.<\/p>\n<p>Administrators using FFmpeg in network-facing deployments should apply patches immediately and audit any pipeline that processes untrusted RTSP or RTP streams.<\/p>\n<p class=\"has-text-align-center has-background wp-block-paragraph\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 91%,rgb(169,184,195) 100%)\"><strong>Follow us on\u00a0<a href=\"https:\/\/news.google.com\/publications\/CAAqMggKIixDQklTR3dnTWFoY0tGV041WW1WeWMyVmpkWEpwZEhsdVpYZHpMbU52YlNnQVAB?hl=en-IN&amp;gl=IN&amp;ceid=IN:en\" target=\"_blank\" rel=\"noreferrer noopener\">Google News<\/a>,\u00a0<a href=\"https:\/\/www.linkedin.com\/company\/cybersecurity-news\/\" target=\"_blank\" rel=\"noreferrer noopener\">LinkedIn<\/a>,\u00a0and\u00a0<a href=\"https:\/\/x.com\/cyber_press_org\" target=\"_blank\" rel=\"noreferrer noopener\">X<\/a>\u00a0to Get More Instant Updates.<\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/21-0-day-vulnerabilities-in-ffmpeg\/\">21 0-Day Vulnerabilities in FFmpeg Enables Remote Code Execution Attacks<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Abinaya<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/21-0-day-vulnerabilities-in-ffmpeg\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>21 0-Day Vulnerabilities in FFmpeg Enables Remote Code Execution Attacks An autonomous security agent uncovered 21 zero-day vulnerabilities in FFmpeg, the world\u2019s most widely deployed media processing library, including a critical RCE-capable heap buffer overflow reachable with a single 183-byte network packet. FFmpeg quietly powers media processing across browsers, streaming platforms, surveillance systems, and cloud [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,416],"tags":[130],"class_list":["post-13476","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerabilities","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/13476"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=13476"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/13476\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=13476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=13476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=13476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}