CVE & CISA-KEV Catalog

CVE-2025-57807

LOW
3.8
CVSS v3
NVD

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.

How to fix

Remediation Available
imagemagickDebian
Fixed in:8:6.9.11.60+dfsg-1.3+deb11u6CVE-2025-57807
Fixed in:8:6.9.11.60+dfsg-1.6+deb12u4CVE-2025-57807
Fixed in:8:7.1.1.43+dfsg1-1+deb13u2CVE-2025-57807
Fixed in:8:7.1.2.3+dfsg1-1CVE-2025-57807
imagemagickUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm14USN-7756-1
Fixed in:8:6.8.9.9-7ubuntu5.16+esm13USN-7756-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm5USN-7756-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3USN-7756-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3USN-7756-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2USN-7756-1
imagemagick-6.q16Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm13USN-7756-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm5USN-7756-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3USN-7756-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3USN-7756-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2USN-7756-1
imagemagick-6.q16hdriUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm5USN-7756-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3USN-7756-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3USN-7756-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2USN-7756-1
imagemagick-commonUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm14USN-7756-1
libmagick++-6.q16-5v5Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm13USN-7756-1
libmagick++-6.q16-7Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm5USN-7756-1
libmagick++-6.q16-8Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3USN-7756-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3USN-7756-1
libmagick++-6.q16-9t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2USN-7756-1
libmagick++-6.q16hdri-7Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm5USN-7756-1
libmagick++-6.q16hdri-8Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3USN-7756-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3USN-7756-1
libmagick++-6.q16hdri-9t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2USN-7756-1
libmagick++5Ubuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm14USN-7756-1
libmagickcore-6.q16-2Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm13USN-7756-1
libmagickcore-6.q16-2-extraUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm13USN-7756-1
libmagickcore-6.q16-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm5USN-7756-1
libmagickcore-6.q16-3-extraUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm5USN-7756-1
libmagickcore-6.q16-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3USN-7756-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3USN-7756-1
libmagickcore-6.q16-6-extraUbuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3USN-7756-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3USN-7756-1
libmagickcore-6.q16-7-extraUbuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2USN-7756-1
libmagickcore-6.q16-7t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2USN-7756-1
libmagickcore-6.q16hdri-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm5USN-7756-1
libmagickcore-6.q16hdri-3-extraUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm5USN-7756-1
libmagickcore-6.q16hdri-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3USN-7756-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3USN-7756-1
libmagickcore-6.q16hdri-6-extraUbuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3USN-7756-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3USN-7756-1
libmagickcore-6.q16hdri-7-extraUbuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2USN-7756-1
libmagickcore-6.q16hdri-7t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2USN-7756-1
libmagickcore5Ubuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm14USN-7756-1
libmagickcore5-extraUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm14USN-7756-1
libmagickwand-6.q16-2Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm13USN-7756-1
libmagickwand-6.q16-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm5USN-7756-1
libmagickwand-6.q16-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3USN-7756-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3USN-7756-1
libmagickwand-6.q16-7t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2USN-7756-1
libmagickwand-6.q16hdri-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm5USN-7756-1
libmagickwand-6.q16hdri-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3USN-7756-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3USN-7756-1
libmagickwand-6.q16hdri-7t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2USN-7756-1
libmagickwand5Ubuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm14USN-7756-1
ImageMagick Q16Windows application
Affected:6.9.13-29Fixed in:6.9.13-29ImageMagick Studio LLC
Affected:7.0.0-0 7.1.2-3Fixed in:7.1.2-3ImageMagick Studio LLC
ImageMagick Q16-HDRIWindows application
Affected:7.0.0-0 7.1.2-3Fixed in:7.1.2-3ImageMagick Studio LLC
Affected:6.9.13-29Fixed in:6.9.13-29ImageMagick Studio LLC

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredHigh
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityLow

CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L

Exploit Intelligence

0.27%probability of exploitation in 30 days
19thpercentile

Low risk: more likely to be exploited than 19% of all known CVEs.

References

Exploit1
Other references1

Related Vulnerabilities

Other CWE-122 (Heap-based Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-3113Critical9.8100%KEVFix
CVE-2024-26256High7.888%-Fix
CVE-2020-25687Medium5.987%-Fix
CVE-2009-3459High8.886%KEVFix
CVE-2021-21017High8.886%KEV-
CVE-2020-25683Medium5.986%-Fix
Embed a live status badge for CVE-2025-57807
CVE-2025-57807 severity badge

Markdown

[![CVE-2025-57807](https://tridentstack.com/cve/badge/CVE-2025-57807.svg)](https://tridentstack.com/cve/CVE-2025-57807)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-57807"><img src="https://tridentstack.com/cve/badge/CVE-2025-57807.svg" alt="CVE-2025-57807"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.