Skip to content
OpenAdvisories
High USN-7756-1 4 CVEs

imagemagick vulnerabilities

Published Sep 18, 2025 · Updated Jun 25, 2026

Summary

It was discovered that ImageMagick did not properly handle memory when
performing magnified size calculations. An attacker could possibly use this
issue to cause ImageMagick to crash, resulting in a denial of service, or
possibly execute arbitrary code. (CVE-2025-55154)

Woojin Park, Hojun Lee, Youngin Won, and Siyeon Han discovered that
ImageMagick incorrectly handled creating thumbnail images for certain
dimensions. An attacker could possibly use this issue to cause ImageMagick
to crash, resulting in a denial of service. This issue only affected Ubuntu
24.04 LTS. (CVE-2025-55212)

Lumina Mescuwa discovered that ImageMagick did not properly handle cloning
splay trees in the MagickCore library. An attacker could possibly use this
issue to cause sanitized builds of ImageMagick to crash, resulting in a
denial of service. (CVE-2025-55160)

Lumina Mescuwa discovered that ImageMagick did not properly handle memory.
An attacker could possibly use this issue to cause ImageMagick to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2025-57807)

Fixed packages 6

ReleasePackageFixed in
Ubuntu · Pro 14.04 LTS Pro:14.04:LTS imagemagick 8:6.7.7.10-6ubuntu3.13+esm14
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS imagemagick 8:6.8.9.9-7ubuntu5.16+esm13
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS imagemagick 8:6.9.7.4+dfsg-16ubuntu6.15+esm5
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS imagemagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS imagemagick 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2

Vulnerabilities 4

  • High 8.8

    ImageMagick: integer overflows in MNG magnification

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-27 and 7.1.2-1, the magnified size calculations in ReadOneMNGIMage (in coders/png.c) are unsafe and can overflow, leading to memory corrupt…

  • Medium 6.1

    ImageMagick Undefined Behavior (function-type-mismatch) in CloneSplayTree

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-27 and 7.1.2-1, there is undefined behavior (function-type-mismatch) in splay tree cloning callback. This results in a deterministic abort …

  • Low 3.8

    ImageMagick BlobStream Forward-Seek Under-Allocation

    ImageMagick is free and open-source software used for editing and manipulating digital images. ImageMagick versions lower than 14.8.2 include insecure functions: SeekBlob(), which permits advancing the stream offset beyond the current end without increasing c…

  • Low 3.7

    ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-28 and 7.1.2-2, passing a geometry string containing only a colon (":") to montage -geometry leads GetGeometry() to set width/height to 0. …

References

  • report
    https://ubuntu.com/security/CVE-2025-55154
  • report
    https://ubuntu.com/security/CVE-2025-55160
  • report
    https://ubuntu.com/security/CVE-2025-55212
  • report
    https://ubuntu.com/security/CVE-2025-57807