Red Hat VEX
RHVEX-CVE-2026-61858
ImageMagick: ImageMagick: Policy bypass allows unauthorized file writing via APNG encoder
Details
A flaw was found in ImageMagick. This vulnerability allows attackers to bypass configured policy restrictions through the APNG (Animated Portable Network Graphics) encoding process. By exploiting missing validation checks in the APNG encoder and external delegates, an attacker can write files to disallowed paths. This could lead to unauthorized file creation or modification, potentially impacting system integrity.
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) |
| Red Hat:enterprise_linux:7 | ImageMagick | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ImageMagick-c++ | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ImageMagick-c++-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ImageMagick-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ImageMagick-doc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ImageMagick-perl | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2026-61858
- https://bugzilla.redhat.com/show_bug.cgi?id=2499370
- https://www.cve.org/CVERecord?id=CVE-2026-61858
- https://nvd.nist.gov/vuln/detail/CVE-2026-61858
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v3j6-27vc-7pw2
- https://www.vulncheck.com/advisories/imagemagick-before-26-policy-bypass-via-apng-encoder