[Pkg-gmagick-im-team] Bug#1114520: imagemagick: CVE-2025-57807

Salvatore Bonaccorso carnil at debian.org
Sat Sep 6 15:10:52 BST 2025


Source: imagemagick
Version: 8:7.1.2.1+dfsg1-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil at debian.org, Debian Security Team <team at security.debian.org>

Hi,

The following vulnerability was published for imagemagick.

CVE-2025-57807[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2025-57807
    https://www.cve.org/CVERecord?id=CVE-2025-57807
[1] https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg
[2] https://github.com/ImageMagick/ImageMagick/commit/077a417a19a5ea8c85559b602754a5b928eef23e
[3] https://github.com/ImageMagick/ImageMagick6/commit/ab1bb3d8ed06d0ed6aa5038b6a74aebf53af9ccf

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore


More information about the Pkg-gmagick-im-team mailing list