Amazon Linux Security Advisory
ALAS2-2026-3346
Amazon Linux 2 2017.12 - ALAS2-2026-3346: medium priority package update for ImageMagick
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-47166: An attacker who can connect to a magick -distribute-cache service can cause a heap buffer over-read in the server process (as per: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-6gxq-f64p-5w6f)
CVE-2026-47165: The distributed pixel cache was originally designed to operate without a challenge-response authentication model. However, given today's heightened security expectations, we have changed our implementation.
CVE-2026-46693: An attacker who can connect to a magick -distribute-cache service can hijack a file descriptor in the server process when a race condition is met. (as per: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-4g75-9r48-jf92)
CVE-2026-46692: An attacker who can connect to a magick -distribute-cache service can cause a heap buffer over-write in the server process. (as per: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-p93h-f2jc-477j)
CVE-2026-46559: An incorrect check in the JP2 will result in an heap buffer over-write of a single byte when specifying certain options. (as per: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-533m-3wf6-c33v)
CVE-2026-46523: A crafted MSL image can trigger a heap-use-after-free. (as per: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5r4x-w6p5-222q)
CVE-2026-46522: Due to a missing check in the MIFF decoder a crafted file could cause an infinite loop resulting in CPU exhaustion.
CVE-2026-46521: When using LZMA compression in the MIFF encoder an out of bounds write can occur due to a missing check. (as per: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-jcqp-6r6f-3mfx)
CVE-2026-46520: When reading multiple images with different dimensions an out of bounds heap write can occur. (as per: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-36wm-hprc-mcf5)
CVE-2026-45664: Because of a missing check in the MNG coder it would be possible to read more images than the list limit policy would allow resulting in excessive resource use.
CVE-2026-45624: When performing a polynomial distortion an out of bounds over-read of 24 bytes can occur when specifying specific arguments.
CVE-2026-45359: An invalid connected-components:keep-top value could result in a heap buffer over-read when performing the connected components operation
CVE-2026-45358: An of by one in the meta encoder could result in an out of bounds read of a single byte in the meta encoder. (as per: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cr6r-hmj8-pr7r)
CVE-2026-45031: Due to a missing check in the PSD decoder it would be possible to bypass the list-length resource policy when decoding a PSD image. Other security limits would still apply. (as per: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cwpj-h54c-xjpx)
CVE-2026-42326: When writing an IPTC output file a malicious input file could cause an out of bounds read of a single byte. (as per: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7wff-wpr6-vmhm)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | ImageMagick | All versions before 6.9.10.97-1.amzn2.0.29 (fixed in 6.9.10.97-1.amzn2.0.29) |
| Amazon Linux:2 | ImageMagick-c++ | All versions before 6.9.10.97-1.amzn2.0.29 (fixed in 6.9.10.97-1.amzn2.0.29) |
| Amazon Linux:2 | ImageMagick-c++-devel | All versions before 6.9.10.97-1.amzn2.0.29 (fixed in 6.9.10.97-1.amzn2.0.29) |
| Amazon Linux:2 | ImageMagick-debuginfo | All versions before 6.9.10.97-1.amzn2.0.29 (fixed in 6.9.10.97-1.amzn2.0.29) |
| Amazon Linux:2 | ImageMagick-devel | All versions before 6.9.10.97-1.amzn2.0.29 (fixed in 6.9.10.97-1.amzn2.0.29) |
| Amazon Linux:2 | ImageMagick-doc | All versions before 6.9.10.97-1.amzn2.0.29 (fixed in 6.9.10.97-1.amzn2.0.29) |
| Amazon Linux:2 | ImageMagick-perl | All versions before 6.9.10.97-1.amzn2.0.29 (fixed in 6.9.10.97-1.amzn2.0.29) |
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42326
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45031
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45358
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45359
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45624
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45664
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-46520
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-46521
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-46522
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-46523
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-46559
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-46692
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-46693
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-47165
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-47166