BreachSpiderVerified, not vibes

CVE-2024-41817 in Imagemagick and 1 more product

High 7.8 Fix available

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 loadin...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.8
EPSS0.7%
EPSS percentile48th
FixAvailable

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Imagemagick Imagemagick ≥ 7.0.11-13, < 7.1.1-36

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Linux Linux Kernel

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-41817
BreachSpider IDBS-2024-GLOBAL-269281-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2024-07-29
Last modified2025-11-20
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-427: CWE-427

Related attack patterns (CAPEC)

CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-427

CAPEC-471 Search Order Hijacking via CWE-427

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2024-41817 affects ImageMagick's AppImage version, potentially allowing arbitrary code execution through malicious configuration files or shared libraries loaded from the current working directory due to improper handling of environment variables.

An attacker can place a malicious configuration file or shared library in the current working directory where ImageMagick's AppImage is executed. If the environment variables `MAGICK_CONFIGURE_PATH` and `LD_LIBRARY_PATH` are set to an empty path, ImageMagick may load these malicious files, leading to arbitrary code execution.

Questions

What is CVE-2024-41817?

CVE-2024-41817 affects ImageMagick's AppImage version, potentially allowing arbitrary code execution through malicious configuration files or shared libraries loaded from the current working directory due to improper handling of environment variables.

What is the CVSS score for CVE-2024-41817?

CVE-2024-41817 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.7%.

Is CVE-2024-41817 actively exploited?

No confirmed active exploitation of CVE-2024-41817 as of 2026-05-30.

How do I remediate CVE-2024-41817?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2024-41817?

CVE-2024-41817 affects Imagemagick Imagemagick.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Imagemagick","product":"Imagemagick","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-11-20.