Description
Untrusted search path vulnerability in configure.c in ImageMagick before 6.6.5-5, when MAGICKCORE_INSTALLED_SUPPORT is defined, allows local users to gain privileges via a Trojan horse configuration file in the current working directory.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | imagemagick | 8:6.6.0.4-3 | — |
| Debian 13 | imagemagick | 8:6.6.0.4-3 | — |
| Debian 12 | imagemagick | 8:6.6.0.4-3 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | ImageMagick +5 | 6.5.4.7-6.el6_2 | RHSA-2012:0544 |
| RHEL 5 | ImageMagick +4 | 6.2.8.0-12.el5 | RHSA-2012:0301 |
Advisories 2
- RHSA-2012:0301 Red Hat Security Advisory: ImageMagick security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2012:0544 Red Hat Security Advisory: ImageMagick security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- 42497 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=652860
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601824
- USN-1028-1 vendor-advisory
- [oss-security] 20101115 Re: CVE request: ImageMagick opens config files in $CWD mailing-list
- 42744 third-party-advisory
- 49063 third-party-advisory
- http://www.imagemagick.org/script/changelog.php
- 45044 vdb-entry
- FEDORA-2010-19025 vendor-advisory
- ADV-2010-3322 vdb-entry
- ADV-2010-3150 vdb-entry
- FEDORA-2010-19056 vendor-advisory
- RHSA-2012:0544 vendor-advisory
- [oss-security] 20101112 CVE request: ImageMagick opens config files in $CWD mailing-list
- 48100 third-party-advisory