CVE-2026-25965
published high CVSS 3.1 · 8.6ImageMagick's policy bypass through path traversal allows reading restricted content despite secured policy
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ImageMagick | — | ImageMagick>= 7.0.0, < 7.1.2-15 · < 6.9.13-40 | Affected | Not stated | GitHub_M |
| Red Hat | — | ImageMagickRed Hat Enterprise Linux 7 Extended Lifecycle Support · 0:6.9.10.68-13.el7_9 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 6 | ImageMagick | Unknown | Not stated | redhat-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3211 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1478 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 7 | ImageMagickx86_64 | Advisory build | 0:6.9.10.68-7.0.7.el7_9 | ELSA-2026-5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagicki686 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagickaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | edge | imagemagick | Fixed | 7.1.2.15-r0 | Package fix record |
| Debian | bookworm | imagemagick | Advisory build | 8:6.9.11.60+dfsg-1.6+deb12u7 | DSA-6159-1 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagickppc | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagickppc64 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagickppc64le | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagicks390 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagicks390x | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagicksrc | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagickx86_64 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagickppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagicks390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagickx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagickaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagickppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagicks390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagickx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickaarch64 | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickppc64le | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagicks390x | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickx86_64 | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickaarch64 | Advisory build | 7.1.1.43-150700.3.37.1 | SUSE-SU-2026:0851-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickppc64le | Advisory build | 7.1.1.43-150700.3.37.1 | SUSE-SU-2026:0851-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagicks390x | Advisory build | 7.1.1.43-150700.3.37.1 | SUSE-SU-2026:0851-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickx86_64 | Advisory build | 7.1.1.43-150700.3.37.1 | SUSE-SU-2026:0851-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickaarch64 | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickppc64le | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagicks390x | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickx86_64 | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickaarch64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickppc64le | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagicks390x | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickx86_64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagicks390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickx86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| Alpine Linux | v3.22 | imagemagick | Fixed | 7.1.2.15-r0 | Package fix record |
| Alpine Linux | v3.23 | imagemagick | Fixed | 7.1.2.15-r0 | Package fix record |
| Alpine Linux | v3.24 | imagemagick | Fixed | 7.1.2.15-r0 | Package fix record |
| Debian | bullseye | imagemagick | Advisory build | 8:6.9.11.60+dfsg-1.3+deb11u10 | DLA-4497-1 |
| Debian | trixie | imagemagick | Advisory build | 8:7.1.1.43+dfsg1-1+deb13u6 | DSA-6158-1 |
| Oracle Linux | 7 | ImageMagick-c++x86_64 | Advisory build | 0:6.9.10.68-7.0.7.el7_9 | ELSA-2026-5573 |
| Oracle Linux | 7 | ImageMagick-c++-develx86_64 | Advisory build | 0:6.9.10.68-7.0.7.el7_9 | ELSA-2026-5573 |
| Oracle Linux | 7 | ImageMagick-develx86_64 | Advisory build | 0:6.9.10.68-7.0.7.el7_9 | ELSA-2026-5573 |
| Oracle Linux | 7 | ImageMagick-docx86_64 | Advisory build | 0:6.9.10.68-7.0.7.el7_9 | ELSA-2026-5573 |
| Oracle Linux | 7 | ImageMagick-perlx86_64 | Advisory build | 0:6.9.10.68-7.0.7.el7_9 | ELSA-2026-5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++i686 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++ppc | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++ppc64 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++ppc64le | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++s390 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++s390x | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++x86_64 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develi686 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develppc | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develppc64 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develppc64le | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-devels390 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-devels390x | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develx86_64 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develi686 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develppc | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develppc64 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develppc64le | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-devels390 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-devels390x | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develx86_64 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-perlppc64 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-perlppc64le | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-perls390x | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-perlx86_64 | Advisory build | 6.9.10.68-13.el7_9 | RHSA-2026:5573 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-SUSEaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-SUSEppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-SUSEs390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-SUSEx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-upstreamaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-upstreamppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-upstreams390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-upstreamx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-develaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-develppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-devels390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-develx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-7_Q16HDRI5aarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-7_Q16HDRI5ppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-7_Q16HDRI5s390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-7_Q16HDRI5x86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-develaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-develppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-devels390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-develx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickCore-7_Q16HDRI10aarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickCore-7_Q16HDRI10ppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickCore-7_Q16HDRI10s390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickCore-7_Q16HDRI10x86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickWand-7_Q16HDRI10aarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickWand-7_Q16HDRI10ppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, ImageMagick’s path security policy is enforced on the raw filename string before the filesystem resolves it. As a result, a policy rule such as /etc/* can be bypassed by a path traversal. The OS resolves the traversal and opens the sensitive file, but the policy matcher only sees the unnormalized path and therefore allows the read. This enables local file disclosure (LFI) even when policy-secure.xml is applied. Actions to prevent reading from files have been taken in versions .7.1.2-15 and 6.9.13-40 But it make sure writing is also not possible the following should be added to one's policy. This will also be included in ImageMagick's more secure policies by default.
A flaw was found in ImageMagick. ImageMagick's path security policy, which is designed to restrict access to certain file paths, is enforced on the raw filename string before the operating system resolves the full path. This allows an attacker to bypass security policies, such as those preventing access to sensitive directories like /etc/*, by using a path traversal technique. This vulnerability enables local file disclosure, allowing an attacker to read sensitive files even when security policies are in place.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.6 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ImageMagick | ImageMagick | >= 7.0.0, < 7.1.2-15 (affected)< 6.9.13-40 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:6.9.10.68-13.el7_9 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat-SADP · adp |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
5- https://access.redhat.com/errata/RHSA-2026:5573
- https://access.redhat.com/security/cve/CVE-2026-25965
- RHBZ#2442118 https://bugzilla.redhat.com/show_bug.cgi?id=2442118
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8jvj-p28h-9gm7
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25965.json
Provider assertions
3GitHub_M · cna
ImageMagick's policy bypass through path traversal allows reading restricted content despite secured policy
redhat-SADP · adp
ImageMagick: ImageMagick: Local File Disclosure via Path Traversal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 101d761fae654bf737a804488efcb0b4ee57266ccbb879b916548b4093706dfe
- Ingested
- 23 Sep 2026, 09:07:08 UTC
- Source record
- Official CVE record