Advisory

DEBIAN-CVE-2025-65955

Also known as: CVE-2025-65955

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Dates

Published
2025-12-02 23:15 UTC
Modified
2026-11-05 09:47 UTC

Affected packages and fixes

imagemagick

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 8:6.9.11.60+dfsg-1.6+deb12u5 (ecosystem)

Fixed versions

8:6.9.11.60+dfsg-1.6+deb12u5

Fix

  • Fixed version 8:6.9.11.60+dfsg-1.6+deb12u5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

imagemagick

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 8:7.1.1.43+dfsg1-1+deb13u4 (ecosystem)

Fixed versions

8:7.1.1.43+dfsg1-1+deb13u4

Fix

  • Fixed version 8:7.1.1.43+dfsg1-1+deb13u4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

imagemagick

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 8:7.1.2.12+dfsg1-1 (ecosystem)

Fixed versions

8:7.1.2.12+dfsg1-1

Fix

  • Fixed version 8:7.1.2.12+dfsg1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences