CVE-2026-25989

ImageMagick has integer overflow or wraparound and incorrect conversion between numeric types in the internal SVG decoder

State
Published
Severity
7.5 High
Published
Feb 24, 2026
Updated
Feb 28, 2026
Reserved
Feb 9, 2026

Read the record on cve.org

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, a crafted SVG file can cause a denial of service. An off-by-one boundary check (`>` instead of `>=`) that allows bypass the guard and reach an undefined `(size_t)` cast. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-190 Integer Overflow or Wraparound
  • CWE-681 Incorrect Conversion between Numeric Types

Affected Products

ProductVersions
ImageMagickImageMagick
  • >= 7.0.0, < 7.1.2-15Affected
  • < 6.9.13-40Affected

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.