Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2025-57807

critical

ImageMagick is free and open-source software used for editing and manipulating digital images.

Vendor / product: Imagemagick — imagemagick

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.

CVSS
9.8
9.8 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2025-09-05 22:15
Modified: 2026-10-19 17:10
NVD status: Modified
Last synced 3 days ago
Verified against the source API 2026-10-27 07:06 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

imagemagick / imagemagick <6.9.13-29, ≥7.0.0-0 <7.1.2-3

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg
Vendor advisory: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg
Patch / mitigation: https://github.com/ImageMagick/ImageMagick/commit/077a417a19a5ea8c85559b602754a5b928eef23e
Patch / mitigation: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg
Patch / mitigation: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg

References

Data sources

NVD CVE API 2.0 — fetched 2026-10-27 07:06 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs