Advisory

DEBIAN-CVE-2025-57807

Also known as: CVE-2025-57807

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2025-09-05 22:15 UTC
Modified
2026-10-23 17:47 UTC

Affected packages and fixes

imagemagick

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 8:6.9.11.60+dfsg-1.6+deb12u4 (ecosystem)

Fixed versions

8:6.9.11.60+dfsg-1.6+deb12u4

Fix

  • Fixed version 8:6.9.11.60+dfsg-1.6+deb12u4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

imagemagick

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 8:7.1.1.43+dfsg1-1+deb13u2 (ecosystem)

Fixed versions

8:7.1.1.43+dfsg1-1+deb13u2

Fix

  • Fixed version 8:7.1.1.43+dfsg1-1+deb13u2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

imagemagick

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 8:7.1.2.3+dfsg1-1 (ecosystem)

Fixed versions

8:7.1.2.3+dfsg1-1

Fix

  • Fixed version 8:7.1.2.3+dfsg1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences