Authenticated WordPress Image Uploads Enable libheif Remote Code Execution
Vulnerability Disclosure · 5 sources · Updated 1mo ago · First seen Oct 5, 2026

Fortbridge published a reproducible remote code execution chain exploiting libheif through authenticated WordPress image uploads on two specific Ubuntu and Debian native software stacks. The chain combines an image-plane disclosure flaw with a mixed-interleave heap overflow: WordPress-generated JPEG pixels expose runtime addresses, enabling an ASLR bypass before a C++ virtual call is hijacked. Execution was independently verified by retrieving newly created proof files showing execution as the PHP-FPM account, www-data. The report also circulated on Reddit’s r/netsec.
Laboratory testing succeeded against 6 of 8 fresh PHP-FPM parent processes on Ubuntu and 22 of 24 on Debian, but reliability depends on exact package builds, worker scheduling and heap layouts; these results do not establish broad exploitability across WordPress deployments. Administrators should prioritize patching libheif, restrict unnecessary image formats, isolate native image processing and investigate PHP-FPM crashes associated with uploads. The supplied references do not identify a CVE, exact affected package versions or exploitation in the wild.


