CVE-2025-65955
BaseFortify
Publication date: 2025-12-02
Last updated on: 2025-12-11
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| imagemagick | imagemagick | 7.1.2-9 |
| imagemagick | imagemagick | 6.9.13-34 |
| imagemagick | imagemagick | to 6.19.13-34 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-415 | The product calls free() twice on the same memory address. |
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in ImageMagick's Magick++ layer occurs when the fontFamily option is set to an empty string. It causes the program to free memory related to the font string but leaves a pointer referencing that freed memory. Subsequent operations that use this pointer can cause crashes or heap corruption because they access invalid memory.
How can this vulnerability impact me? :
The vulnerability can lead to application crashes or heap corruption when ImageMagick processes images with certain font settings. This can cause denial of service or potentially allow attackers to exploit the memory corruption for further attacks.
What immediate steps should I take to mitigate this vulnerability?
Update ImageMagick to version 7.1.2-9 or later, or 6.9.13-34 or later, where this vulnerability is fixed.