CVE-2025-55160
C# vulnerability analysis and mitigation

Overview

ImageMagick, a free and open-source software used for editing and manipulating digital images, was found to contain a vulnerability (CVE-2025-55160) prior to versions 6.9.13-27 and 7.1.2-1. The vulnerability involves undefined behavior (function-type-mismatch) in splay tree cloning callback, discovered and disclosed on August 13, 2025 (GitHub Advisory).

Technical details

The vulnerability stems from a function-type mismatch in the CloneSplayTree callback. The splay tree clone callback expects a function pointer of type void ()(void ), while ConstantString has a different signature (char ConstantString(const char *)). This mismatch creates undefined behavior in C and triggers UBSan's function-type-mismatch at MagickCore/splay-tree.c:372:43. The vulnerability has received varying CVSS scores: 5.3 (NIST NVD) and 6.1 (GitHub) (NVD, Snyk).

Impact

The vulnerability results in a deterministic abort under UBSan (Undefined Behavior Sanitizer) in sanitizer builds, leading to a potential Denial of Service (DoS). However, in non-sanitized builds, there is no crash reported, suggesting a relatively low security impact (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in ImageMagick versions 6.9.13-27 and 7.1.2-1. Users are advised to upgrade to these or later versions. The suggested fix involves using a wrapper that matches the expected callback prototype or adjusting the splay-tree callback typedef for const-correctness (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61778CRITICAL9.3
  • C#C#
  • Akka.Cluster
NoYesOct 06, 2025
CVE-2025-57692MEDIUM6.8
  • C#C#
  • Piranha
NoNoSep 26, 2025
CVE-2025-55797MEDIUM6.5
  • C#C#
  • FormCMS
NoYesSep 30, 2025
CVE-2025-59821MEDIUM6.1
  • C#C#
  • DotNetNuke.Core
NoYesSep 23, 2025
CVE-2025-59546MEDIUM4.8
  • C#C#
  • DotNetNuke.Core
NoYesSep 23, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management