CVE-2025-55212 | ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash

Exp

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-28 and 7.1.2-2, passing a geometry string containing only a colon (":") to montage -geometry leads GetGeometry() to set width/height to 0. Later, ThumbnailImage() divides by these zero dimensions, triggering a crash (SIGFPE/abort), resulting in a denial of service. This issue has been patched in versions 6.9.13-28 and 7.1.2-2.

Published: 2025-08-26 Last update: 2025-11-03 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-55212 is rated Exploit Available (51/100): CVSS Low severity, with medium exploitation likelihood (EPSS 0.39%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-55212

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-55212

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-22 0.26% 0.39% +0.13%
2 2026-02-03 0.19% 0.26% +0.07%
3 2026-01-22 0.19%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-55212

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.7 3.1 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
2.2 1.4 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2025-55212

GitHub Security Advisory for CVE-2025-55212

GHSA-fh55-q5pj-pxgw · Severity: low · Ecosystem: nuget — ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash

OS Trackers for CVE-2025-55212

vendor priority summary link
alpine CVE-2025-55212: 1 source package rows (imagemagick); 108 state rows across 3 repos (3.22-community, 3.23-community, edge-community); fixed 16, open 92. https://security.alpinelinux.org/vuln/CVE-2025-55212
debian not yet assigned CVE-2025-55212 not yet assigned priority: Debian including 1 source packages (imagemagick), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-55212
redhat low https://access.redhat.com/security/cve/CVE-2025-55212
suse medium CVE-2025-55212 severity moderate: SUSE including 92 source package names (GraphicsMagick, GraphicsMagick-devel, …), 282 product×package rows across 28 product lines (SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, … (28 product lines)): Fixed 244, Known Not Affected 24, First Fixed 14. https://www.suse.com/security/cve/CVE-2025-55212/
ubuntu medium CVE-2025-55212 medium priority: Ubuntu including 1 source packages (imagemagick), 9 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): not-affected 6, ignored 1, needs-triage 1, released 1. https://ubuntu.com/security/CVE-2025-55212

Affected software / configurations for CVE-2025-55212

Vendor Product Version Raw CPE
imagemagick imagemagick < 6.9.13-28 cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
imagemagick imagemagick >= 7.0.0-0, < 7.1.2-2 cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

References for CVE-2025-55212

cvelogic Threat Intelligence