Red Hat VEX
RHVEX-CVE-2026-25965
ImageMagick: ImageMagick: Local File Disclosure via Path Traversal
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | ImageMagick | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ImageMagick-c++ | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ImageMagick-c++-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ImageMagick-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ImageMagick-doc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ImageMagick-perl | All versions, no fix (out of support scope) |