CVE-2026-56377

ImageMagick - Policy Bypass via Incorrect Path Validation

State
Published
Severity
4.8 Medium
Published
Jun 30, 2026
Updated
Oct 29, 2026
Reserved
Jun 21, 2026

Read the record on cve.org

Description

ImageMagick before 7.1.2-24 contains an incorrect policy check that allows attackers to create or truncate files disallowed by security policies. Remote attackers can bypass path policy restrictions in sandboxed conversion services to write arbitrary files outside intended boundaries.

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NVulnCheck
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NVulnCheck

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
ImageMagickImageMagick
  • 7.0.0 to before 7.1.2-24Affected
  • 7.1.2-24Not affected
ImageMagickImageMagick
  • before 6.9.13-48Affected
  • 6.9.13-48Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.