CVE-2025-57807ImageMagick BlobStream Forward-Seek Under-Allocation
- 3.8LowCVSS base score
- 0.30%Exploitation in 30 daysEPSS · top 77% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg (opens in a new tab)x_refsource_CONFIRMexploit
Timeline
ID reserved
By GitHub_M
- 16 days later
· 16 days later
Published
- 59 days later
· 59 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Low3.8 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.30% · top 77% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.8.
Affected products
- affected < 14.8.2
Affected packages
Affected packages12
From reviewed advisories of the GitHub Advisory Database.
- NuGetMagick.NET-Q16-HDRI-OpenMP-arm64GHSA-23hg-53q6-hqfg (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-OpenMP-x64GHSA-23hg-53q6-hqfg (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-arm64GHSA-23hg-53q6-hqfg (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-x64GHSA-23hg-53q6-hqfg (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-arm64GHSA-23hg-53q6-hqfg (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-x64GHSA-23hg-53q6-hqfg (opens in a new tab)
- NuGetMagick.NET-Q16-arm64GHSA-23hg-53q6-hqfg (opens in a new tab)
- NuGetMagick.NET-Q16-x64GHSA-23hg-53q6-hqfg (opens in a new tab)
- NuGetMagick.NET-Q8-OpenMP-arm64GHSA-23hg-53q6-hqfg (opens in a new tab)
- NuGetMagick.NET-Q8-OpenMP-x64GHSA-23hg-53q6-hqfg (opens in a new tab)
- NuGetMagick.NET-Q8-arm64GHSA-23hg-53q6-hqfg (opens in a new tab)
- NuGetMagick.NET-Q8-x64GHSA-23hg-53q6-hqfg (opens in a new tab)
References
References3
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/ImageMagick/ImageMagick/commit/077a417a19a5ea8c85559b602754a5b928eef23e (opens in a new tab)x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-27126 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-23hg-53q6-hqfg (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-57807)Record last updated .