ImageMagick up to 14.8.1 Image Parser SeekBlob/WriteBlob out-of-bounds write
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.5 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in ImageMagick up to 14.8.1. This vulnerability affects the function SeekBlob/WriteBlob of the component Image Parser. This manipulation causes out-of-bounds write.
This vulnerability appears as CVE-2025-57807. The attack may be initiated remotely. There is no available exploit.
It is suggested to upgrade the affected component.
Details
A vulnerability was found in ImageMagick up to 14.8.1. It has been declared as critical. Affected by this vulnerability is the function SeekBlob/WriteBlob of the component Image Parser. The manipulation with an unknown input leads to a out-of-bounds write vulnerability. The CWE definition for the vulnerability is CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
It is possible to read the advisory at github.com. This vulnerability is known as CVE-2025-57807 since 08/20/2025. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 261659 (Linux Distros Unpatched Vulnerability : CVE-2025-57807), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 14.8.2 eliminates this vulnerability. Applying the patch 077a417a19a5ea8c85559b602754a5b928eef23e is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (261659) and CERT Bund (WID-SEC-2025-1981). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Affected
- Debian Linux
- Amazon Linux 2
- Ubuntu Linux
- SUSE Linux
- SUSE openSUSE
- Open Source ImageMagick
Product
Type
Name
Version
License
Website
- Product: https://www.imagemagick.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.6VulDB Meta Temp Score: 6.5
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔒
CNA Base Score: 3.8
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Out-of-bounds writeCWE: CWE-787 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 261659
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-57807
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: ImageMagick 14.8.2
Patch: 077a417a19a5ea8c85559b602754a5b928eef23e
Timeline
08/20/2025 CVE reserved09/06/2025 Advisory disclosed
09/06/2025 VulDB entry created
12/20/2025 VulDB entry last update
Sources
Product: imagemagick.orgAdvisory: GHSA-23hg-53q6-hqfg
Status: Confirmed
CVE: CVE-2025-57807 (🔒)
GCVE (CVE): GCVE-0-2025-57807
GCVE (VulDB): GCVE-100-322963
CERT Bund: WID-SEC-2025-1981 - ImageMagick (MagickCore blob): Schwachstelle ermöglicht Codeausführung
Entry
Created: 09/06/2025 09:25Updated: 12/20/2025 18:51
Changes: 09/06/2025 09:25 (68), 09/06/2025 11:07 (7), 09/07/2025 20:30 (2), 09/10/2025 21:46 (11), 09/19/2025 08:47 (1), 10/10/2025 11:12 (1), 12/20/2025 18:51 (1)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.