SB20250820103 - Multiple vulnerabilities in ImageMagick
Published: August 20, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 secuirty vulnerabilities.
1) Integer overflow (CVE-ID: CVE-2025-55154)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow in MNG magnification. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
2) Reliance on undefined behavior (CVE-ID: CVE-2025-55160)
The vulnerability allows a local attacker to compromise the affected system.
The vulnerability exists due to undefined behavior in CloneSplayTree via MagickCoalesceImages. A local attacker can perform a denial of service (DoS) attack.
3) Heap-based buffer overflow (CVE-ID: CVE-2025-55004)
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to a boundary error when performing image magnification in ReadOneMNGIMage. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and gain access to sensitive information on the target system.
4) Heap-based buffer overflow (CVE-ID: CVE-2025-55005)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error in log colorspace handling. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and cause a denial of service condition on the target system.
Remediation
Install update from vendor's website.
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp29-wxp5-wh82
- https://goo.gle/bigsleep
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-6hgw-6x87-578x
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cjc8-g9w8-chfw
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v393-38qx-v8fp