Vulnerability in Imagemagick
CVE-2024-41817
ImageMagick is a free and open-source software suite, used for editing and manipulating digital images. The `AppImage` version `ImageMagick` might use an empty path when setting `MAGICK_CONFIGURE_PATH` and `LD_LIBRARY_PATH` environment variables while executing, which might lead to arbitrary code execution by loading malicious configuration files or shared libraries in the current working directory while executing `ImageMagick`. The vulnerability is fixed in 7.11-36.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.009, 61.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Imagemagick — versions < 7.11-36
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- Dxsk/CVE-2024-41817-poc (4 stars, last pushed 2025-03-19): CVE-2024-41817 POC ImageMagick <= 7.1.1-35 Arbitrary Code Execution
- maikneysm/AutoPwn-Titanic.htb (last pushed 2025-06-21): This is an automated exploitation script for the Hack The Box machine *Titanic*. It extracts Gitea user hashes via LFI, assists in cracking them, and exploits an ImageMagick vulnerability (CVE-2024-4…
Also mentioned in 8 other repositories (EndlssNightmare/Portifolio, fkie-cad/nvd-json-data-feeds, mxdelta/CVE, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8rxc-922v-phg8 (Exploit, Vendor Advisory)
- https://github.com/ImageMagick/ImageMagick/commit/6526a2b28510ead6a3e14de711bb991ad9abff38 (Patch)
- https://github.com/ImageMagick/ImageMagick/blob/3b22378a23d59d7517c43b65b1822f023df357a0/app-image/AppRun#L11-L14 (Issue Tracking)
This CVE has public exploit evidence. See the latest CVEs with public exploits.