ImageMagick up to 6.9.13-33/7.1.2-8 Magick++ Layer Options::fontFamily double free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.7$0-$5k0.00

Summaryinfo

A vulnerability was found in ImageMagick up to 6.9.13-33/7.1.2-8. It has been declared as critical. This affects the function Options::fontFamily of the component Magick++ Layer. Executing a manipulation can lead to double free. The identification of this vulnerability is CVE-2025-65955. The attack may be launched remotely. There is no exploit available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in ImageMagick up to 6.9.13-33/7.1.2-8. This vulnerability affects the function Options::fontFamily of the component Magick++ Layer. The manipulation with an unknown input leads to a double free vulnerability. The CWE definition for the vulnerability is CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

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.

The advisory is shared for download at github.com. This vulnerability was named CVE-2025-65955 since 11/18/2025. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 277363 (Linux Distros Unpatched Vulnerability : CVE-2025-65955), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 6.9.13-34 or 7.1.2-9 eliminates this vulnerability. Applying the patch 6409f34d637a34a1c643632aa849371ec8b3b5a8 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (277363), EUVD (EUVD-2025-200466) and CERT Bund (WID-SEC-2025-2722). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Affected

  • Debian Linux
  • SUSE Linux
  • Open Source ImageMagick

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.8
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 6.1
NVD Vector: 🔒

CNA Base Score: 4.9
CNA Vector (GitHub_M): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Double free
CWE: CWE-415 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 277363
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-65955

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: ImageMagick 6.9.13-34/7.1.2-9
Patch: 6409f34d637a34a1c643632aa849371ec8b3b5a8

Timelineinfo

11/18/2025 CVE reserved
12/03/2025 +15 days Advisory disclosed
12/03/2025 +0 days VulDB entry created
01/02/2026 +30 days VulDB entry last update

Sourcesinfo

Product: imagemagick.org

Advisory: GHSA-q3hc-j9x5-mp9m
Status: Confirmed

CVE: CVE-2025-65955 (🔒)
GCVE (CVE): GCVE-0-2025-65955
GCVE (VulDB): GCVE-100-334144
EUVD: 🔒
CERT Bund: WID-SEC-2025-2722 - ImageMagick: Schwachstelle ermöglicht Denial of Service

Entryinfo

Created: 12/03/2025 07:49
Updated: 01/02/2026 09:23
Changes: 12/03/2025 07:49 (67), 12/03/2025 11:50 (7), 12/04/2025 19:49 (2), 12/06/2025 00:05 (11), 12/06/2025 08:06 (1), 01/02/2026 09:23 (1)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!