hn.today

HEIF Heist: image parser RCE exploit

heif-heist.com9 points5 comments
Screenshot of HEIF Heist: image parser RCE exploit

HEIF Heist describes a class of remote attacks that exploit flaws in HEIF/HEIC/AVIF native decoders (notably libheif and libde265) embedded underneath common image-processing stacks like ImageMagick, libvips, Sharp and standard distro/container images. By uploading crafted .avif/.heic files an attacker can fingerprint the exact decoder version in use and deliver a tailored payload that triggers memory corruption, data exfiltration, or remote code execution. The investigation uncovered real-world impact across many widely used services: an RCE in Discourse, unauthenticated RCE in Next.js AVIF optimization, authenticated RCE in GitHub Enterprise (CVE-2026-19118), RCE on Slack enabling file leaks, and vulnerabilities affecting Meta products and other frameworks - demonstrating a large, language- and framework-agnostic blast radius.

Remediation requires upgrading the underlying libraries (libheif v1.23.2+ and current libde265) and applying distro/security-channel patches, plus architectural hardening: disable untrusted HEIF/AVIF decoding where unnecessary and isolate image processing inside hardened, ephemeral sandboxes. Exploitation is nontrivial - successful attacks require version fingerprinting and tailored payloads, sometimes thousands of uploads - but AI-assisted workflows reduced exploit development to 1-3 days in the researchers’ experiments. The research was conducted by Hacktron’s team led by Harsh Jaiswal with AI assistance, and organizations handling uploads are urged to patch and adopt defense-in-depth measures.

Read on heif-heist.com5 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.