CVE-2024-41817

unknown
Published โ€” ยท Modified โ€”
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
โ€”

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

community-verified Authored 2026-05-29
{

Immediate: If you must continue using the vulnerable AppImage, wrap invocations to sanitize environment and CWD:

#!/bin/bash
export MAGICK_CONFIGURE_PATH="/etc/ImageMagick-7"
export LD_LIBRARY_PATH="/usr/lib/ImageMagick-7"
cd /var/empty  # or another non-writable dir
exec /opt/imagemagick.appimage "$@"

Permanent: Migrate to your distribution's native package (apt install imagemagick, yum install ImageMagick) or upgrade AppImage to โ‰ฅ7.1.1-36.

Rollback: Remove the wrapper script; original AppImage behavior resumes (vulnerable).

Verification: strings imagemagick.appimage | grep -E 'MAGICK_CONFIGURE_PATH|LD_LIBRARY_PATH' should not show empty path components (::)

}

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed0
debian debianbullseyefixed0
debian debianforkyfixed0
debian debiansidfixed0
debian debiantrixiefixed0

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.