CVE-2025-57803: ImageMagick (WriteBMPImage): 32-bit integer overflow when writing BMP scanline stride → heap buffer overflow
CVE-2025-57803 is a vulnerability in ImageMagick (WriteBMPImage): 32-bit integer overflow when writing BMP scanline stride → heap buffer overflow, rated Important by Microsoft, with a CVSS 3.1 base score of 8.8 (High). An attacker can exploit it remotely over the network, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 1.00% probability of exploitation activity in the next 30 days, higher than 64% of all scored vulnerabilities. Microsoft released the fix on 16 November 2026, outside Patch Tuesday. It affects 1 product in 1 product family (Open Source Software).
Key facts
- CVE ID
- CVE-2025-57803
- Severity
- High CVSS 8.8
- Microsoft severity
- Important
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-122; CWE-190
- EPSS
- 1.00% (percentile 64%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- August 2025 Patch Tuesday
- Product families
- Open Source Software
CVSS score and vector
Microsoft scores CVE-2025-57803 at 8.8 (temporal 8.8) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Metric | Value |
|---|---|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | High |
| Integrity impact | High |
| Availability impact | High |
Affected products (1)
Open Source Software
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl4 ImageMagick 1:7.1.1.47-10.azl4 on Azure Linux 4.0 | Release Notes | Security Update | 1:7.1.2.32-6.azl4 |
NIST NVD data
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| imagemagick | before 6.9.13-28 |
| imagemagick | from 7.0.0-0, before 7.1.2-2 |
References
- https://github.com/ImageMagick/ImageMagick/commit/2c55221f4d38193adcb51056c14cf238fbcc35d7 (Patch)
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-mxvv-97wh-cfmm (Exploit, Vendor Advisory)
- https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1 (Release Notes)
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-mxvv-97wh-cfmm (Exploit, Vendor Advisory)
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |