Double Free Affecting perl-PerlMagick package, versions <7.1.0.9-150400.6.58.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES155-PERLPERLMAGICK-14872754
  • published6 Jan 2026
  • disclosed5 Jan 2026

Introduced: 5 Jan 2026

CVE-2025-65955  (opens in a new tab)
CWE-415  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade SLES:15.5 perl-PerlMagick to version 7.1.0.9-150400.6.58.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-PerlMagick package and not the perl-PerlMagick package as distributed by SLES. See How to fix? for SLES:15.5 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1