Advisory

UBUNTU-CVE-2026-25794

Also known as: CVE-2026-25794

Summary

The record has no summary.

Details

ImageMagick is free and open-source software used for editing and manipulating digital images. WriteUHDRImage in coders/uhdr.c uses int arithmetic to compute the pixel buffer size. Prior to version 7.1.2-15, when image dimensions are large, the multiplication overflows 32-bit int, causing an undersized heap allocation followed by an out-of-bounds write. This can crash the process or potentially lead to an out of bounds heap write. Version 7.1.2-15 contains a patch.

Severity

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

Dates

Published
2026-02-24 01:16 UTC
Modified
2026-06-30 18:17 UTC

Affected packages and fixes

imagemagick

Debian packages (deb) · Ubuntu 25.10

Affected

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

Fixed versions

8:7.1.2.3+dfsg1-1ubuntu0.1

Fix

  • Fixed version 8:7.1.2.3+dfsg1-1ubuntu0.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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences