All vulnerabilities

Servers and applications

CVE-2026-25965

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…

Severity
High 7.5
Published
24 Feb 2026
Last changed
15 Jul 2026
Added to UpHeron
1 Nov 2026
Fixed in
6.9.13-40, 7.1.2-15
Exploit chance
0.7% in the next 30 daysHigher than 55% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Sources
NVD

Description

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.

From NVD.

Affected software

SoftwareAffected versions
ImageMagickServers and applications · cpe:a:imagemagick:imagemagick
  • Every version before 6.9.13-40
  • From 7.0.0-0 before 7.1.2-15

About ImageMagick

free and open-source software

From Wikidata, CC0 1.0.
GitHub stars
17,859GitHub, 15 Nov 2026
Forks
1,706GitHub, 15 Nov 2026
Latest release
7.1.2-35GitHub, 15 Nov 2026
Released
31 Oct 2026GitHub
Developer
ImageMagick Studio LLCWikidata
License
ImageMagick LicenseWikidata
Written in
CWikidata
First released
1990Wikidata
First published on GitHub
17 May 2015GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-25965
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-25965