TLDR InfoSec · STRATEGIES & TACTICS

WORDPRESS LIBHEIF RCE: EXPLOIT CHAIN

fortbridge.co.uk11 min read

Summary from the TLDR InfoSec newsletter

Fortbridge has published the first public exploit chain for a libheif heap overflow (GHSA-x8r2-mggj-j6wr) originally discovered by Alex Thomas and Wordfence. By uploading crafted HEIC images via the WordPress Media Library, an authenticated attacker can defeat ASLR using pixel values in generated JPEGs and hijack a C++ virtual table pointer to achieve remote code execution. Administrators should update libheif to 1.23.3, disable unused HEIC/AVIF uploads, and treat repeated PHP-FPM 503 errors on image uploads as security events.