Record summary

EIP currently links 1 repository PoC to CVE-2026-65640.

Exploitation context

Available material

Repository PoCs
1

Proofs of concept

1

Repository PoCs

GitHubjobusa755-a11y/CVE-2026-65640-Repository PoCby jobusa755-a11yStars: 0Not analyzed1 file

87 B

GitHub

PoC details

Research & analysis

1
Technical blogDave Jong, PatchstackSource: EIP research review

When a PNG Isn't a PNG: WordPress Patches an Author-Level Imagick RCE

Patchstack technical analysis of CVE-2026-65640 details how WordPress core versions 4.7 through 7.0.3 trusted file extensions over content inspection when passing uploads to ImageMagick. The WP_Image_Editor_Imagick::load() method routed files to ImageMagick based solely on extension, allowing a file with a safe extension containing PostScript to bypass upload checks and reach Ghostscript for code execution. XML-RPC wp.uploadFile and MP3 cover-art extraction paths bypassed wp_check_filetype_and_ext() via wp_upload_bits(), landing payloads on disk. The fix in WordPress 7.0.4 adds content sniffing before Imagick handoff, rejecting PostScript/EPS signatures, fake PDFs, and compressed wrappers, and strips ImageMagick format-specifier prefixes from filenames. Requires Author-level account or higher on sites using Imagick and Ghostscript.

Root causeTechnical detailMitigation
https://patchstack.com/articles/when-a-png-isnt-a-png-wordpress-patches-an-author-level-imagick-rce
Research notes