CVE-2025-57807CRITICAL 9.8EPSS p19.2%
CVE-2025-57807CVE-2025-57807
Description
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.
Scoring
| CVSS 3.1 | 9.8 (CRITICAL) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 0.28% probability of exploitation · percentile 19.2% · 2026-06-19T12:03:05Z |
| Published | 2025-09-05 |
| Last modified | 2025-11-03 |
Underlying weaknesses· 3
References
- https://github.com/ImageMagick/ImageMagick/commit/077a417a19a5ea8c85559b602754a5b928eef23e
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg
3
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Heap-based Buffer Overflowcwe-122 | 0% | live |
| Weakness | Incorrect Calculation of Buffer Sizecwe-131 | 0% | live |
| Weakness | Out-of-bounds Writecwe-787 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.