CVE-2025-57803
Last modified
CVE-2025-57803 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.79% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | < 6.9.13-28 |
| Imagemagick | Imagemagick | >= 7.0.0-0, < 7.1.2-2 |
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-mxvv-97wh-cfmmExploit, Vendor Advisory
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-mxvv-97wh-cfmmExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-57803?
How severe is CVE-2025-57803?
How do I fix CVE-2025-57803?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-57798Joplin is an open source note-taking and to-do application t…5.5
- CVE-2025-57799StreamVault is a multi-platform video parsing and downloadin…8.7
- CVE-2025-5780A vulnerability was found in code-projects Patient Record Ma…7.5
- CVE-2025-57800Audiobookshelf is an open-source self-hosted audiobook serve…8.8
- CVE-2025-57801gnark is a zero-knowledge proof system framework. In version…9.1
- CVE-2025-57802Airlink's Daemon interfaces with Docker and the Panel to pro…8.7
- CVE-2025-57804h2 is a pure-Python implementation of a HTTP/2 protocol stac…6.9
- CVE-2025-57805The Scratch Channel is a news website. In versions 1 and 1.1…8.7
- CVE-2025-57806Local Deep Research is an AI-powered research assistant for …6.9
- CVE-2025-57807ImageMagick is free and open-source software used for editin…9.8
- CVE-2025-57808ESPHome is a system to control microcontrollers remotely thr…8.1
- CVE-2025-57809XGrammar is an open-source library for efficient, flexible, …7.5
Are you affected by CVE-2025-57803?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
