CVE-2026-61861
JSON

6.3medium

ImageMagick before 7.1.2-26 Use-After-Free in FormatMagickCaption

Severity
6.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.43% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-qvxh-prvr-85w2

Description

ImageMagick before 7.1.2-26 contains a use-after-free vulnerability in the FormatMagickCaption method when memory allocation fails. Attackers can trigger memory allocation failures to cause a dangling pointer to reference freed memory, potentially enabling denial of service or code execution.

Affected

Product or packageVersionsReported by
ImageMagick ImageMagickfrom 7.0.0 before 7.1.2-26, before 6.9.13-51, from 7.0.0-0 before 7.1.2-26
Not affected: 7.1.2-26, 6.9.13-51
CVE List, NVD
Magick.NET-Q16-AnyCPU (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-HDRI-AnyCPU (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-HDRI-x64 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-HDRI-x86 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-OpenMP-arm64 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-OpenMP-x64 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-arm64 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-x64 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-x86 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q8-AnyCPU (NuGet)before 14.15.0GitHub Advisory Database

All scores

VulnCheck6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulnCheck3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

ImageMagick before 7.1.2-26 contains a use-after-free vulnerability in the FormatMagickCaption method when memory allocation fails. Attackers can trigger memory allocation failures to cause a dangling pointer to reference freed memory, potentially enabling denial of service or code execution.

GitHub Advisory Database

When a memory allocation fails inside the FormatMagickCaption method a dangling pointer still points to the freed memory.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-61861 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-qvxh-prvr-85w2 changed 2026-07-24CC-BY-4.0
NVDCVE-2026-61861 changed 2026-10-29Public domain