CVE-2025-65955
ImageMagick has a use-after-free/double-free risk in Options::fontFamily when clearing family
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
4.9
ImageMagick has a use-after-free/double-free risk in Options::fontFamily when clearing family
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.
- Record
CVE-2025-65955- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-415, CWE-416
- Updated
- 2026-11-02
EUVDEUVD-2025-200466
4.9
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.
- Record
EUVD-2025-200466- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-q3hc-j9x5-mp9m
4.9
Withdrawn Advisory: ImageMagick has a use-after-free/double-free risk in Options::fontFamily when clearing family
Withdrawn Advisory
This advisory has been withdrawn because it does not affect the ImageMagick project's NuGet packages.
Original Description
We believe that we have discovered a potential security vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string.
Vulnerability Details
- Clearing a font family calls
RelinquishMagickMemoryon_drawInfo->font, freeing the font string but leaving_drawInfo->fontpointing to freed memory while_drawInfo->familyis set to that (now-invalid) pointer. Any later cleanup or reuse of_drawInfo->fontre-frees or dereferences dangling memory. DestroyDrawInfoand other setters (Options::font,Image::font) assume_drawInfo->fontremains valid, so destruction or subsequent updates trigger crashes or heap corruption.
if (family_.length() == 0)
{
_drawInfo->family=(char *) RelinquishMagickMemory(_drawInfo->font);
DestroyString(RemoveImageOption(imageInfo(),"family"));
}
- CWE-416 (Use After Free):
_drawInfo->fontis left dangling yet still reachable through the Options object. - CWE-415 (Double Free): DrawInfo teardown frees
_drawInfo->fontagain, provoking allocator aborts.
Affected Versions
- Introduced by commit
6409f34d637a34a1c643632aa849371ec8b3b5a8(“Added fontFamily to the Image class of Magick++”, 2015-08-01, blame line 313). - Present in all releases that include that commit, at least ImageMagick 7.0.1-0 and later (likely late 6.9 builds with Magick++ font family support as well). Older releases without
fontFamilyare unaffected.
Command Line Triggerability
This vulnerability cannot be triggered from the command line interface. The bug is specific to the Magick++ C++ API, specifically the Options::fontFamily() method. The command-line utilities (such as convert, magick, etc.) do not expose this particular code path, as they operate through different internal mechanisms that do not directly call Options::fontFamily() with an empty string in a way that would trigger the use-after-free condition.
Proposed Fix
diff --git a/Magick++/lib/Options.cpp b/Magick++/lib/Options.cpp
@@ void Magick::Options::fontFamily(const std::string &family_)
- _drawInfo->family=(char *) RelinquishMagickMemory(_drawInfo->font);
+ _drawInfo->family=(char *) RelinquishMagickMemory(_drawInfo->family);
This frees only the actual family string, leaving _drawInfo->font untouched. Optionally nulling _drawInfo->font when clearing font() itself maintains allocator hygiene.
- Record
GHSA-q3hc-j9x5-mp9m- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-415
- Updated
- 2026-11-02
NVD
4.9
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.
- Record
CVE-2025-65955- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H - Weakness
- CWE-415, CWE-416
- Updated
- 2026-11-04
OSV
4.9
ImageMagick has a use-after-free/double-free risk in Options::fontFamily when clearing family
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.
- Record
CVE-2025-65955- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-415, CWE-416
- Updated
- 2026-11-06
OSVDEBIAN-CVE-2025-65955
6.1
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.
- Record
DEBIAN-CVE-2025-65955- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-05
Show 17 moreShow less
OSVGHSA-q3hc-j9x5-mp9m
4.9
Withdrawn Advisory: ImageMagick has a use-after-free/double-free risk in Options::fontFamily when clearing family
Withdrawn Advisory
This advisory has been withdrawn because it does not affect the ImageMagick project's NuGet packages.
Original Description
We believe that we have discovered a potential security vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string.
Vulnerability Details
- Clearing a font family calls
RelinquishMagickMemoryon_drawInfo->font, freeing the font string but leaving_drawInfo->fontpointing to freed memory while_drawInfo->familyis set to that (now-invalid) pointer. Any later cleanup or reuse of_drawInfo->fontre-frees or dereferences dangling memory. DestroyDrawInfoand other setters (Options::font,Image::font) assume_drawInfo->fontremains valid, so destruction or subsequent updates trigger crashes or heap corruption.
if (family_.length() == 0)
{
_drawInfo->family=(char *) RelinquishMagickMemory(_drawInfo->font);
DestroyString(RemoveImageOption(imageInfo(),"family"));
}
- CWE-416 (Use After Free):
_drawInfo->fontis left dangling yet still reachable through the Options object. - CWE-415 (Double Free): DrawInfo teardown frees
_drawInfo->fontagain, provoking allocator aborts.
Affected Versions
- Introduced by commit
6409f34d637a34a1c643632aa849371ec8b3b5a8(“Added fontFamily to the Image class of Magick++”, 2015-08-01, blame line 313). - Present in all releases that include that commit, at least ImageMagick 7.0.1-0 and later (likely late 6.9 builds with Magick++ font family support as well). Older releases without
fontFamilyare unaffected.
Command Line Triggerability
This vulnerability cannot be triggered from the command line interface. The bug is specific to the Magick++ C++ API, specifically the Options::fontFamily() method. The command-line utilities (such as convert, magick, etc.) do not expose this particular code path, as they operate through different internal mechanisms that do not directly call Options::fontFamily() with an empty string in a way that would trigger the use-after-free condition.
Proposed Fix
diff --git a/Magick++/lib/Options.cpp b/Magick++/lib/Options.cpp
@@ void Magick::Options::fontFamily(const std::string &family_)
- _drawInfo->family=(char *) RelinquishMagickMemory(_drawInfo->font);
+ _drawInfo->family=(char *) RelinquishMagickMemory(_drawInfo->family);
This frees only the actual family string, leaving _drawInfo->font untouched. Optionally nulling _drawInfo->font when clearing font() itself maintains allocator hygiene.
- Record
GHSA-q3hc-j9x5-mp9m- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-415
- Updated
- 2026-11-02
OSVOESA-2025-2791
4.9
ImageMagick security update
Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
Security Fix(es):
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.(CVE-2025-65955)
- Record
OESA-2025-2791- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVOESA-2025-2792
4.9
ImageMagick security update
Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
Security Fix(es):
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.(CVE-2025-65955)
- Record
OESA-2025-2792- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVOESA-2025-2793
4.9
ImageMagick security update
Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
Security Fix(es):
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.(CVE-2025-65955)
- Record
OESA-2025-2793- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVOESA-2025-2833
4.9
ImageMagick security update
Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
Security Fix(es):
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.(CVE-2025-65955)
- Record
OESA-2025-2833- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVOESA-2025-2834
4.9
ImageMagick security update
Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
Security Fix(es):
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.(CVE-2025-65955)
- Record
OESA-2025-2834- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVOESA-2025-2835
4.9
ImageMagick security update
Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
Security Fix(es):
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.(CVE-2025-65955)
- Record
OESA-2025-2835- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-65955
4.9
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.
- Record
UBUNTU-CVE-2025-65955- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15816-1 No score
ImageMagick-7.1.2.10-1.1 on GA media
These are all security issues fixed in the ImageMagick-7.1.2.10-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15816-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:20118-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2025-65955: Fixed use-after-free/double-free in ImageMagick (bsc#1254435)
- CVE-2025-66628: Fixed Integer Overflow leading to out of bounds read in ImageMagick (32-bit only) (bsc#1254820)
- CVE-2025-68618: Fixed that reading a malicious SVG file may result in a DoS attack (bsc#1255821)
- CVE-2025-68950: Fixed check for circular references in mvg files may lead to stack overflow (bsc#1255822)
- CVE-2025-69204: Fixed an integer overflow can lead to a DoS attack (bsc#1255823)
- Record
openSUSE-SU-2026:20118-1- Updated
- 2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2025-65955 No score
CVE-2025-65955 in rootio-imagemagick - Patched by Root
Root has patched CVE-2025-65955 in the rootio-imagemagick package for Root:Debian:12. Multiple fixed versions available.
- Record
ROOT-OS-DEBIAN-12-CVE-2025-65955- Updated
- 2026-11-02
OSVROOT-OS-DEBIAN-13-CVE-2025-65955 No score
CVE-2025-65955 in rootio-imagemagick - Patched by Root
Root has patched CVE-2025-65955 in the rootio-imagemagick package for Root:Debian:13. Multiple fixed versions available.
- Record
ROOT-OS-DEBIAN-13-CVE-2025-65955- Updated
- 2026-11-02
OSVSUSE-SU-2025:4427-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2025-65955: possible use-after-free/double-free in
Options::fontFamilywhen clearing a family can lead to crashes or memory corruption (bsc#1254435). - CVE-2025-66628: possible integer overflow in the TIM image parser's
ReadTIMImagefunction can lead to arbitrary memory disclosure on 32-bit systems (bsc#1254820).
- Record
SUSE-SU-2025:4427-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:4428-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2025-65955: possible use-after-free/double-free in
Options::fontFamilywhen clearing a family can lead to crashes or memory corruption (bsc#1254435). - CVE-2025-66628: possible integer overflow in the TIM image parser's
ReadTIMImagefunction can lead to arbitrary memory disclosure on 32-bit systems (bsc#1254820).
- Record
SUSE-SU-2025:4428-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:0011-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2025-65955: possible use-after-free/double-free in
Options::fontFamilywhen clearing a family can lead to crashes or memory corruption (bsc#1254435). - CVE-2025-66628: possible integer overflow in the TIM image parser's
ReadTIMImagefunction can lead to arbitrary memory disclosure on 32-bit systems (bsc#1254820).
- Record
SUSE-SU-2026:0011-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:0013-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2025-65955: possible use-after-free/double-free in
Options::fontFamilywhen clearing a family can lead to crashes or memory corruption (bsc#1254435). - CVE-2025-66628: possible integer overflow in the TIM image parser's
ReadTIMImagefunction can lead to arbitrary memory disclosure on 32-bit systems (bsc#1254820). - CVE-2025-68469: crash due to heap buffer overflow when processing a specially crafted TIFF file (bsc#1255391).
- Record
SUSE-SU-2026:0013-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:20183-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2025-65955: Fixed use-after-free/double-free in ImageMagick (bsc#1254435)
- CVE-2025-66628: Fixed Integer Overflow leading to out of bounds read in ImageMagick (32-bit only) (bsc#1254820)
- CVE-2025-68618: Fixed that reading a malicious SVG file may result in a DoS attack (bsc#1255821)
- CVE-2025-68950: Fixed check for circular references in mvg files may lead to stack overflow (bsc#1255822)
- CVE-2025-69204: Fixed an integer overflow can lead to a DoS attack (bsc#1255823)
- Record
SUSE-SU-2026:20183-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
imagemagickDebian:12 |
before 8:6.9.11.60+dfsg-1.6+deb12u5, plus listed versions 8:6.9.11.60+dfsg-1.68:6.9.11.60+dfsg-1.6+deb12u18:6.9.11.60+dfsg-1.6+deb12u28:6.9.11.60+dfsg-1.6+deb12u38:6.9.11.60+dfsg-1.6+deb12u4 |
8:6.9.11.60+dfsg-1.6+deb12u5 |
imagemagickDebian:13 |
before 8:7.1.1.43+dfsg1-1+deb13u4, plus listed versions 8:7.1.1.43+dfsg1-18:7.1.1.43+dfsg1-1+deb13u18:7.1.1.43+dfsg1-1+deb13u28:7.1.1.43+dfsg1-1+deb13u3 |
8:7.1.1.43+dfsg1-1+deb13u4 |
imagemagickDebian:14 |
before 8:7.1.2.12+dfsg1-1, plus listed versions 8:7.1.1.43+dfsg1-18:7.1.1.46+dfsg1-18:7.1.1.47+dfsg1-18:7.1.1.47+dfsg1-28:7.1.2.1+dfsg1-18:7.1.2.3+dfsg1-18:7.1.2.7+dfsg1-18:7.1.2.8+dfsg1-1 |
8:7.1.2.12+dfsg1-1 |
imagemagickDebian:11 From an advisory covering 6 CVEs |
before 8:6.9.11.60+dfsg-1.3+deb11u8, plus listed versions 8:6.9.11.60+dfsg-1.38:6.9.11.60+dfsg-1.3+deb11u18:6.9.11.60+dfsg-1.3+deb11u28:6.9.11.60+dfsg-1.3+deb11u38:6.9.11.60+dfsg-1.3+deb11u48:6.9.11.60+dfsg-1.3+deb11u58:6.9.11.60+dfsg-1.3+deb11u68:6.9.11.60+dfsg-1.3+deb11u7 |
8:6.9.11.60+dfsg-1.3+deb11u8 |
ImageMagickopenEuler:22.03-LTS-SP3 |
before 7.1.2.9-1.oe2203sp3 | 7.1.2.9-1.oe2203sp3 |
ImageMagickopenEuler:22.03-LTS-SP4 |
before 7.1.2.9-1.oe2203sp4 | 7.1.2.9-1.oe2203sp4 |
ImageMagickopenEuler:24.03-LTS-SP2 |
before 7.1.2.9-1.oe2403sp2 | 7.1.2.9-1.oe2403sp2 |
ImageMagickopenEuler:24.03-LTS-SP1 |
before 7.1.2.9-1.oe2403sp1 | 7.1.2.9-1.oe2403sp1 |
ImageMagickopenEuler:20.03-LTS-SP4 |
before 6.9.13.34-1.oe2003sp4 | 6.9.13.34-1.oe2003sp4 |
ImageMagickopenEuler:24.03-LTS |
before 7.1.2.9-1.oe2403 | 7.1.2.9-1.oe2403 |
Show 24 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ImageMagickSUSE:Linux Enterprise Module for Desktop Applications 15 SP7 From an advisory covering 2 CVEs |
before 7.1.1.43-150700.3.27.1 | 7.1.1.43-150700.3.27.1 |
ImageMagickSUSE:Linux Enterprise Module for Development Tools 15 SP7 From an advisory covering 2 CVEs |
before 7.1.1.43-150700.3.27.1 | 7.1.1.43-150700.3.27.1 |
ImageMagickSUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS From an advisory covering 2 CVEs |
before 7.0.7.34-150200.10.68.1 | 7.0.7.34-150200.10.68.1 |
ImageMagickSUSE:Linux Enterprise Server 15 SP3-LTSS From an advisory covering 2 CVEs |
before 7.0.7.34-150200.10.68.1 | 7.0.7.34-150200.10.68.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 15 SP3 From an advisory covering 2 CVEs |
before 7.0.7.34-150200.10.68.1 | 7.0.7.34-150200.10.68.1 |
ImageMagickSUSE:Enterprise Storage 7.1 From an advisory covering 2 CVEs |
before 7.0.7.34-150200.10.68.1 | 7.0.7.34-150200.10.68.1 |
ImageMagickSUSE:Linux Enterprise Server 15 SP6-LTSS From an advisory covering 2 CVEs |
before 7.1.1.21-150600.3.32.1 | 7.1.1.21-150600.3.32.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 15 SP6 From an advisory covering 2 CVEs |
before 7.1.1.21-150600.3.32.1 | 7.1.1.21-150600.3.32.1 |
ImageMagickopenSUSE:Leap 15.6 From an advisory covering 2 CVEs |
before 7.1.1.21-150600.3.32.1 | 7.1.1.21-150600.3.32.1 |
ImageMagickSUSE:Linux Enterprise Module for Desktop Applications 15 SP7 From an advisory covering 3 CVEs |
before 7.1.0.9-150400.6.58.1 | 7.1.0.9-150400.6.58.1 |
ImageMagickSUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS From an advisory covering 3 CVEs |
before 7.1.0.9-150400.6.58.1 | 7.1.0.9-150400.6.58.1 |
ImageMagickSUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS From an advisory covering 3 CVEs |
before 7.1.0.9-150400.6.58.1 | 7.1.0.9-150400.6.58.1 |
ImageMagickSUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS From an advisory covering 3 CVEs |
before 7.1.0.9-150400.6.58.1 | 7.1.0.9-150400.6.58.1 |
ImageMagickSUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS From an advisory covering 3 CVEs |
before 7.1.0.9-150400.6.58.1 | 7.1.0.9-150400.6.58.1 |
ImageMagickSUSE:Linux Enterprise Server 15 SP4-LTSS From an advisory covering 3 CVEs |
before 7.1.0.9-150400.6.58.1 | 7.1.0.9-150400.6.58.1 |
ImageMagickSUSE:Linux Enterprise Server 15 SP5-LTSS From an advisory covering 3 CVEs |
before 7.1.0.9-150400.6.58.1 | 7.1.0.9-150400.6.58.1 |
ImageMagickSUSE:Linux Enterprise Server 15 SP6-LTSS From an advisory covering 3 CVEs |
before 7.1.0.9-150400.6.58.1 | 7.1.0.9-150400.6.58.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 15 SP4 From an advisory covering 3 CVEs |
before 7.1.0.9-150400.6.58.1 | 7.1.0.9-150400.6.58.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 15 SP5 From an advisory covering 3 CVEs |
before 7.1.0.9-150400.6.58.1 | 7.1.0.9-150400.6.58.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 15 SP6 From an advisory covering 3 CVEs |
before 7.1.0.9-150400.6.58.1 | 7.1.0.9-150400.6.58.1 |
ImageMagickSUSE:Linux Enterprise Server 16.0 From an advisory covering 5 CVEs |
before 7.1.2.0-160000.5.1 | 7.1.2.0-160000.5.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP applications 16.0 From an advisory covering 5 CVEs |
before 7.1.2.0-160000.5.1 | 7.1.2.0-160000.5.1 |
ImageMagickopenSUSE:Tumbleweed |
before 7.1.2.10-1.1 | 7.1.2.10-1.1 |
ImageMagickopenSUSE:Leap 16.0 From an advisory covering 5 CVEs |
before 7.1.2.0-160000.5.1 | 7.1.2.0-160000.5.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| facts | NVD | |
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-65955 is a medium vulnerability (CVSS 4.9) in Imagemagick, published December 2, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.17%, the 6th percentile. Fixed in imagemagick 8:6.9.11.60+dfsg-1.6+deb12u5.
References
github.com/ImageMagick/ImageMagick/security/advisories/GHSA-q3hc-j9x5-mp9m
github.com/ImageMagick/ImageMagick/commit/6409f34d637a34a1c643632aa849371ec8b3b5a8
github.com/ImageMagick/ImageMagick/commit/6f81eb15f822ad86e8255be75efad6f9762c32f8
nvd.nist.gov/vuln/detail/CVE-2025-65955
github.com/advisories/GHSA-q3hc-j9x5-mp9m
github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65955.json
Show 27 moreShow less
security-tracker.debian.org/tracker/CVE-2025-65955
github.com/ImageMagick/ImageMagick
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2791
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2792
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2793
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2833
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2834
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2835
suse.com/support/update/announcement/2025/suse-su-20254427-1
bugzilla.suse.com/1254435
bugzilla.suse.com/1254820
suse.com/security/cve/CVE-2025-65955
suse.com/security/cve/CVE-2025-66628
suse.com/support/update/announcement/2025/suse-su-20254428-1
suse.com/support/update/announcement/2026/suse-su-20260011-1
suse.com/support/update/announcement/2026/suse-su-20260013-1
bugzilla.suse.com/1255391
suse.com/security/cve/CVE-2025-68469
suse.com/support/update/announcement/2026/suse-su-202620183-1
bugzilla.suse.com/1255821
bugzilla.suse.com/1255822
bugzilla.suse.com/1255823
suse.com/security/cve/CVE-2025-68618
suse.com/security/cve/CVE-2025-68950
suse.com/security/cve/CVE-2025-69204
ubuntu.com/security/CVE-2025-65955
cve.org/CVERecord?id=CVE-2025-65955