Read the docs
TI-2025-35690 Aliases CVE-2025-57807GHSA-23hg-53q6-hqfg

ImageMagick BlobStream Forward-Seek Under-Allocation

Priority HIGH 75CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-122 and the CVSS impact.

Summary

ImageMagick is free and open-source software used for editing and manipulating digital images. ImageMagick versions lower than 14.8.2 include insecure functions: SeekBlob(), which permits advancing the stream offset beyond the current end without increasing capacity, and WriteBlob(), which then expands by quantum + length (amortized) instead of offset + length, and copies to data + offset. When offset ≫ extent, the copy targets memory beyond the allocation, producing a deterministic heap write on 64-bit builds. No 2⁶⁴ arithmetic wrap, external delegates, or policy settings are required. This is fixed in version 14.8.2.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00304 23rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial ImageMagick (ImageMagick): 14.8.2Magick.NET-Q16-x64 (NuGet): 14.8.2+11 more productsRed Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ImageMagickImageMagickbefore 14.8.214.8.2Patch availableCNA
—Magick.NET-Q16-x64 (NuGet)before 14.8.214.8.2Patch availableGHSA-23hg-53q6-hqfg
—Magick.NET-Q8-x64 (NuGet)before 14.8.214.8.2Patch availableGHSA-23hg-53q6-hqfg
—Magick.NET-Q16-HDRI-x64 (NuGet)before 14.8.214.8.2Patch availableGHSA-23hg-53q6-hqfg
—Magick.NET-Q8-OpenMP-x64 (NuGet)before 14.8.214.8.2Patch availableGHSA-23hg-53q6-hqfg
—Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet)before 14.8.214.8.2Patch availableGHSA-23hg-53q6-hqfg
—Magick.NET-Q16-OpenMP-x64 (NuGet)before 14.8.214.8.2Patch availableGHSA-23hg-53q6-hqfg
—Magick.NET-Q8-arm64 (NuGet)before 14.8.214.8.2Patch availableGHSA-23hg-53q6-hqfg
—Magick.NET-Q16-arm64 (NuGet)before 14.8.214.8.2Patch availableGHSA-23hg-53q6-hqfg
—Magick.NET-Q16-OpenMP-arm64 (NuGet)before 14.8.214.8.2Patch availableGHSA-23hg-53q6-hqfg
—Magick.NET-Q8-OpenMP-arm64 (NuGet)before 14.8.214.8.2Patch availableGHSA-23hg-53q6-hqfg
—Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet)before 14.8.214.8.2Patch availableGHSA-23hg-53q6-hqfg
—Magick.NET-Q16-HDRI-arm64 (NuGet)before 14.8.214.8.2Patch availableGHSA-23hg-53q6-hqfg
  • ImageMagick VendorImageMagick Affected before 14.8.2 Fixed in 14.8.2 Patch available CNA
  • Magick.NET-Q16-x64 (NuGet) Vendor— Affected before 14.8.2 Fixed in 14.8.2 Patch available GHSA-23hg-53q6-hqfg
  • Magick.NET-Q8-x64 (NuGet) Vendor— Affected before 14.8.2 Fixed in 14.8.2 Patch available GHSA-23hg-53q6-hqfg
  • Magick.NET-Q16-HDRI-x64 (NuGet) Vendor— Affected before 14.8.2 Fixed in 14.8.2 Patch available GHSA-23hg-53q6-hqfg
  • Magick.NET-Q8-OpenMP-x64 (NuGet) Vendor— Affected before 14.8.2 Fixed in 14.8.2 Patch available GHSA-23hg-53q6-hqfg
  • Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet) Vendor— Affected before 14.8.2 Fixed in 14.8.2 Patch available GHSA-23hg-53q6-hqfg
  • Magick.NET-Q16-OpenMP-x64 (NuGet) Vendor— Affected before 14.8.2 Fixed in 14.8.2 Patch available GHSA-23hg-53q6-hqfg
  • Magick.NET-Q8-arm64 (NuGet) Vendor— Affected before 14.8.2 Fixed in 14.8.2 Patch available GHSA-23hg-53q6-hqfg
  • Magick.NET-Q16-arm64 (NuGet) Vendor— Affected before 14.8.2 Fixed in 14.8.2 Patch available GHSA-23hg-53q6-hqfg
  • Magick.NET-Q16-OpenMP-arm64 (NuGet) Vendor— Affected before 14.8.2 Fixed in 14.8.2 Patch available GHSA-23hg-53q6-hqfg
  • Magick.NET-Q8-OpenMP-arm64 (NuGet) Vendor— Affected before 14.8.2 Fixed in 14.8.2 Patch available GHSA-23hg-53q6-hqfg
  • Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet) Vendor— Affected before 14.8.2 Fixed in 14.8.2 Patch available GHSA-23hg-53q6-hqfg
  • Magick.NET-Q16-HDRI-arm64 (NuGet) Vendor— Affected before 14.8.2 Fixed in 14.8.2 Patch available GHSA-23hg-53q6-hqfg

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*before 6.9.13-29; 7.0.0-0 to before 7.1.2-3VulnerableImageMagick
  • cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* Versions before 6.9.13-29; 7.0.0-0 to before 7.1.2-3 Vulnerable ·ImageMagick

Remediation

  • Fix · CNA ImageMagick (ImageMagick) Fixed in 14.8.2
  • Fix · GHSA-23hg-53q6-hqfg Magick.NET-Q16-x64 (NuGet) Fixed in 14.8.2 Advisory →
  • Fix · GHSA-23hg-53q6-hqfg Magick.NET-Q8-x64 (NuGet) Fixed in 14.8.2 Advisory →
  • Fix · GHSA-23hg-53q6-hqfg Magick.NET-Q16-HDRI-x64 (NuGet) Fixed in 14.8.2 Advisory →
  • Fix · GHSA-23hg-53q6-hqfg Magick.NET-Q8-OpenMP-x64 (NuGet) Fixed in 14.8.2 Advisory →
  • Fix · GHSA-23hg-53q6-hqfg Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet) Fixed in 14.8.2 Advisory →
  • Fix · GHSA-23hg-53q6-hqfg Magick.NET-Q16-OpenMP-x64 (NuGet) Fixed in 14.8.2 Advisory →
  • Fix · GHSA-23hg-53q6-hqfg Magick.NET-Q8-arm64 (NuGet) Fixed in 14.8.2 Advisory →
  • Fix · GHSA-23hg-53q6-hqfg Magick.NET-Q16-arm64 (NuGet) Fixed in 14.8.2 Advisory →
  • Fix · GHSA-23hg-53q6-hqfg Magick.NET-Q16-OpenMP-arm64 (NuGet) Fixed in 14.8.2 Advisory →
  • Fix · GHSA-23hg-53q6-hqfg Magick.NET-Q8-OpenMP-arm64 (NuGet) Fixed in 14.8.2 Advisory →
  • Fix · GHSA-23hg-53q6-hqfg Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet) Fixed in 14.8.2 Advisory →
  • Fix · GHSA-23hg-53q6-hqfg Magick.NET-Q16-HDRI-arm64 (NuGet) Fixed in 14.8.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-57807
  2. 2026-10-03 Alias added: GHSA-23hg-53q6-hqfg

References

  • TI-2016-03144 The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT… KEVCVSS 3.1HIGH 8.4
  • TI-2023-16996 Improper input validation in ImageMagick CVSS 3.1CRITICAL 9.8
  • TI-2016-03148 The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1… KEVCVSS 3.1MEDIUM 5.5
  • TI-2016-03145 The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote… KEVCVSS 3.1MEDIUM 5.5
  • TI-2025-33094 ImageMagick has Stack Buffer Overflow in image.c CVSS 3.1CRITICAL 9.8
  • TI-2025-33018 ImageMagick has Heap Buffer Overflow in InterpretImageFilename CVSS 3.1CRITICAL 9.8
See all 888 →

Sources