CVE-2026-25985

high

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 containing an malicious element causes ImageMagick to attempt to allocate ~674 GB of memory, leading to an out-of-memory abort. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

References

https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25985.json

https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v7g2-m8c5-mf84

https://bugzilla.redhat.com/show_bug.cgi?id=2442127

https://access.redhat.com/security/cve/CVE-2026-25985

https://access.redhat.com/errata/RHSA-2026:5573

Details

Source: Mitre, NVD

Published: 2026-02-24

Updated: 2026-06-30

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High

EPSS

EPSS: 0.0004