{"id":"CVE-2026-61861","aliases":["GHSA-qvxh-prvr-85w2"],"url":"https://o3.security/vulnerability/CVE-2026-61861","summary":"ImageMagick before 7.1.2-26 Use-After-Free in FormatMagickCaption","details":"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.","published":"2026-07-11T13:01:09.306Z","modified":"2026-08-12T03:51:38.344438902Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"NuGet","name":"Magick.NET-Q16-AnyCPU","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-AnyCPU","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-arm64","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x64","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x86","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-arm64","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-x64","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-arm64","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x64","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x86","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-AnyCPU","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-arm64","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-x64","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-arm64","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x64","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x86","fixedVersion":"14.15.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-arm64","fixedVersion":"14.15.0"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61861.json"},{"type":"ADVISORY","url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qvxh-prvr-85w2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61861"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/imagemagick-before-26-use-after-free-in-formatmagickcaption"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:38.344438902Z"}}