Home / ImageMagick / ImageMagick / CVE-2025-57803
CVE-2025-57803: is it exploited, and which versions of ImageMagick are affected and fixed?
CVE-2025-57803 is a heap buffer overflow vulnerability in ImageMagick. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: Magick.NET-Q16-AnyCPU before 14.8.1, Magick.NET-Q16-HDRI-AnyCPU before 14.8.1, Magick.NET-Q16-HDRI-x86 before 14.8.1 and 3 more (GitHub advisory GHSA-mxvv-97wh-cfmm). Fixed in 14.8.1 (GitHub advisory GHSA-mxvv-97wh-cfmm). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-57803?
ImageMagick (WriteBMPImage): 32-bit integer overflow when writing BMP scanline stride → heap buffer overflow
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-28 and 7.1.2-2 for ImageMagick's 32-bit build, a 32-bit integer overflow in the BMP encoder’s scanline-stride computation collapses bytes_per_line (stride) to a tiny value while the per-row writer still emits 3 × width bytes for 24-bpp images. The row base pointer advances using the (overflowed) stride, so the first row immediately writes past its slot and into adjacent heap memory with attacker-controlled bytes. This is a classic, powerful primitive for heap corruption in common auto-convert pipelines. This issue has been patched in versions 6.9.13-28 and 7.1.2-2.
From the CVE record by GitHub_M, last updated February 26, 2026, 17:48 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ImageMagick | ImageMagick | < 7.1.2-2 < 6.9.13-28 |
As the CVE record by GitHub_M states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| NuGet | Magick.NET-Q16-AnyCPU | < 14.8.1 | 14.8.1 | GHSA-mxvv-97wh-cfmm |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | < 14.8.1 | 14.8.1 | GHSA-mxvv-97wh-cfmm |
| NuGet | Magick.NET-Q16-HDRI-x86 | < 14.8.1 | 14.8.1 | GHSA-mxvv-97wh-cfmm |
| NuGet | Magick.NET-Q16-x86 | < 14.8.1 | 14.8.1 | GHSA-mxvv-97wh-cfmm |
| NuGet | Magick.NET-Q8-AnyCPU | < 14.8.1 | 14.8.1 | GHSA-mxvv-97wh-cfmm |
| NuGet | Magick.NET-Q8-x86 | < 14.8.1 | 14.8.1 | GHSA-mxvv-97wh-cfmm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 3, 2025. Summary: ImageMagick (WriteBMPImage): 32-bit integer overflow when writing BMP scanline stride → heap buffer overflow.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| imagemagick | imagemagick | before 6.9.13-28 | application |
| imagemagick | imagemagick | from 7.0.0-0 before 7.1.2-2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 09:43 UTC.
How severe is CVE-2025-57803?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-57803 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 24, 2025)
- EPSS
- 1.00% probability of exploitation activity in the next 30 days, percentile 64.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-mxvv-97wh-cfmm x_refsource_CONFIRM
- https://github.com/ImageMagick/ImageMagick/commit/2c55221f4d38193adcb51056c14cf238fbcc35d7 x_refsource_MISC
- https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html
When was it published, and where is the official record?
- Reserved
- August 20, 2025
- Published
- August 26, 2025, 17:25 UTC
- CVE record updated
- February 26, 2026, 17:48 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 09:43 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect ImageMagick?
- May 5, 2016CVE-2016-3714 Imagemagick: improper input validation exploited
- Dec 1, 2026CVE-2026-140351 ImageMagick: out-of-bounds write (memory corruption)
- Dec 1, 2026CVE-2026-140352 ImageMagick: use after free
- Dec 1, 2026CVE-2026-140353 ImageMagick: out-of-bounds read
- Dec 1, 2026CVE-2026-140354 ImageMagick: use after free
- Dec 1, 2026CVE-2026-140355 ImageMagick: race condition
- Dec 1, 2026CVE-2026-140356 ImageMagick: out-of-bounds read
- Dec 1, 2026CVE-2026-140357 ImageMagick: out-of-bounds read
Questions about CVE-2025-57803
Is CVE-2025-57803 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 1.00% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of ImageMagick are affected by CVE-2025-57803?
Magick.NET-Q16-AnyCPU before 14.8.1, Magick.NET-Q16-HDRI-AnyCPU before 14.8.1, Magick.NET-Q16-HDRI-x86 before 14.8.1, Magick.NET-Q16-x86 before 14.8.1, Magick.NET-Q8-AnyCPU before 14.8.1 and Magick.NET-Q8-x86 before 14.8.1, per the GitHub advisory GHSA-mxvv-97wh-cfmm. The tables above give every range the sources list.
Which version fixes CVE-2025-57803?
14.8.1, per the GitHub advisory GHSA-mxvv-97wh-cfmm. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-57803?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-57803?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.