cd /news/ai-safety/ai-enabled-security-researchers-disc… · home topics ai-safety article
[ARTICLE · art-74131] src=infoq.com ↗ pub= topic=ai-safety verified=true sentiment=↓ negative

AI-Enabled Security Researchers Discover How a Crafted Video Can Provide Attackers Access to Your PC

JFrog Security Research disclosed 'PixelSmash', a critical vulnerability in the FFmpeg media framework that has persisted for sixteen years, allowing remote code execution and denial-of-service attacks via crafted media files. Identified as CVE-2026-8461 with a CVSS score of 8.8, the flaw affects the MagicYUV decoder and impacts applications from desktop video players to cloud transcoding services, with researchers demonstrating full exploits on Jellyfin and Nextcloud by uploading a 50 KB AVI file.

read3 min views1 publishedJul 26, 2026
AI-Enabled Security Researchers Discover How a Crafted Video Can Provide Attackers Access to Your PC
Image: source

JFrog Security Research recently disclosed "PixelSmash", a critical vulnerability affecting the FFmpeg media framework. The flaw, which has persisted within the codebase for sixteen years, allows for Remote Code Execution (RCE) and Denial of Service (DoS) attacks. By delivering a specially crafted media file to a vulnerable system, an attacker could potentially execute arbitrary code or crash the application. The discovery of a bug that has remained latent for over a decade, despite FFmpeg’s extensive history of automated testing, is part of the latest wave of security flaw discovery since the introduction of cybersecurity-focused frontier models.

Identified by CISA as CVE-2026-8461 (CVSS 8.8 High), it allows a heap out-of-bounds write in the MagicYUV decoder. The out-of-bounds write is enough to crash any application that uses FFmpeg. The ubiquitous nature of the video codec family amplifies the blast radius of the incident, affecting a wide range of applications – from desktop video players like Kodi and mpv, to Linux file-manager thumbnail generators, to cloud transcoding pipelines and self-hosted media servers. Security researchers demonstrated the full exploit by achieving remote code execution on two independent targets: a Jellyfin media server (via automatic library scan) and a Nextcloud instance (via the video preview provider) – in both cases, by simply up a crafted 50 KB AVI file.

To exploit PixelSmash, an attacker needs to deliver a crafted media file (AVI, MKV, or MOV container) to any application that decodes video using FFmpeg’s libavcodec. This includes:

Desktop: a user opens the malicious file in a video player, or simply browses to a folder containing it (the file manager’s thumbnail generator triggers the vulnerability).Server-side: a user uploads the file to a media server (Jellyfin, Emby, Nextcloud, Immich), chat platform (Slack, Discord, Telegram), or cloud transcoding service (AWS MediaConvert, Cloudflare Stream) – the server processes it automatically.Embedded/IoT: any NAS appliance (Synology, QNAP), smart TV, or media appliance that generates video thumbnails or previews.

No authentication, special privileges, or prior access to the target system is required beyond the ability to deliver a media file – the default attack surface for any media-processing application.

Vulnerable systems have MagicYUV decoder enabled. This comes enabled by default in FFmpg framework, and according to security researchers, they found it enabled on every distribution package they tested (Ubuntu, Debian, Fedora, Arch, Alpine) before version 9.0. To detect if you are affected by the vulnerability, you need to check whether the MagicYUV decoder is present on your system:

ffmpeg -decoders 2>/dev/null | grep magicyuv

If the output includes VFS..D magicyuv, your FFmpeg build is vulnerable. If the upgrade to versions that incorporate the fix is not possible, you can rebuild FFmpeg without the vulnerable codec:

./configure --disable-decoder=magicyuv [your other flags] < make && make install

The other quick fix is to apply a minimal patch - 7 lines of minimal patch added to libavcodec/magicyuv.c:

if (s->slice_height <= 0 || s->slice_height > INT_MAX - avctx->coded_height) {
av_log(avctx, AV_LOG_ERROR, "invalid slice height: %d\n", s->slice_height);
return AVERROR_INVALIDDATA;
}

+ if ((s->slice_height >> s->vshift[1]) <= s->interlaced) {
+ av_log(avctx, AV_LOG_ERROR, "impossible slice height\n");
+ return AVERROR_INVALIDDATA;
+ }
+ if ((avctx->coded_height % s->slice_height) && ((avctx->coded_height % + s->slice_height) >> s->vshift[1]) <= s->interlaced) {
+ av_log(avctx, AV_LOG_ERROR, "impossible height\n");
+ return AVERROR_INVALIDDATA;

According to researchers, this fix rejects the malformed slice_height values that trigger the OOB write. The reference MagicYUV encoder always emits aligned slice heights, so this only rejects malicious input.

PixelSmash is a reminder that the modern software supply chain can be rather fragile. A single bug within a foundational library like FFmpeg's libavcodec does not just remain a local issue.

Reflecting on the broader industry discussion, users in online forums have expressed growing concern regarding the continued reliance on legacy C-based codebases for such high-stakes, performance-critical components. There is a palpable frustration that modern security practices are frequently undermined by the inherent memory-safety limitations of legacy architecture, with many developers calling for a prioritised migration toward memory-safe alternatives or, at minimum, more robust automated security auditing for foundational libraries.

── more in #ai-safety 4 stories · sorted by recency
── more on @jfrog security research 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ai-enabled-security-…] indexed:0 read:3min 2026-07-26 ·