CVE-2026-25965
C# vulnerability analysis and mitigation

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, ImageMagick’s path security policy is enforced on the raw filename string before the filesystem resolves it. As a result, a policy rule such as /etc/* can be bypassed by a path traversal. The OS resolves the traversal and opens the sensitive file, but the policy matcher only sees the unnormalized path and therefore allows the read. This enables local file disclosure (LFI) even when policy-secure.xml is applied. Actions to prevent reading from files have been taken in versions .7.1.2-15 and 6.9.13-40 But it make sure writing is also not possible the following should be added to one's policy. This will also be included in ImageMagick's more secure policies by default.


SourceNVD

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-40324CRITICAL9.1
  • C#C#
  • HotChocolate.Language
NoYesApr 18, 2026
GHSA-9j88-vvj5-vhgrMEDIUM6.5
  • C#C#
  • MailKit
NoYesApr 18, 2026
CVE-2026-41319MEDIUM6.5
  • C#C#
  • MailKit
NoYesApr 18, 2026
CVE-2026-41078MEDIUM5.9
  • C#C#
  • OpenTelemetry.Exporter.Jaeger
NoNoApr 18, 2026
GHSA-h39g-6x3c-7fq9LOW3.8
  • C#C#
  • Zio
NoYesApr 18, 2026

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