CVE-2025-57803

unknown
Published 2025-08-26 Β· Modified 2025-11-03
CVSS v3
β€”
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
β€”
not yet in upstream
VIR risk
β€”

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.

Predictions

Exploit likelihood
30%
Patch ETA
β€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or β€” if you've already worked around this in production β€” publish your fix to the community-verified tier.

✚ Propose a mitigation on Community β†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
β€” Affected β€”
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 8:7.1.1.43+dfsg1-1+deb13u2
sid Fixed 8:7.1.2.3+dfsg1-1
forky Fixed 8:7.1.2.3+dfsg1-1
bullseye Fixed 8:6.9.11.60+dfsg-1.3+deb11u6
bookworm Fixed 8:6.9.11.60+dfsg-1.6+deb12u4

Package impact

EcosystemPackageVulnerableFixed
nuget NuGetMagick.NET-Q16-AnyCPU<14.8.114.8.1
nuget NuGetMagick.NET-Q16-HDRI-AnyCPU<14.8.114.8.1
nuget NuGetMagick.NET-Q16-HDRI-x86<14.8.114.8.1
nuget NuGetMagick.NET-Q16-x86<14.8.114.8.1
nuget NuGetMagick.NET-Q8-AnyCPU<14.8.114.8.1
nuget NuGetMagick.NET-Q8-x86<14.8.114.8.1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.