Advisory

UBUNTU-CVE-2020-25676

Also known as: CVE-2020-25676

Summary

The record has no summary.

Details

In CatromWeights(), MeshInterpolate(), InterpolatePixelChannel(), InterpolatePixelChannels(), and InterpolatePixelInfo(), which are all functions in /MagickCore/pixel.c, there were multiple unconstrained pixel offset calculations which were being used with the floor() function. These calculations produced undefined behavior in the form of out-of-range and integer overflows, as identified by UndefinedBehaviorSanitizer. These instances of undefined behavior could be triggered by an attacker who is able to supply a crafted input file to be processed by ImageMagick. These issues could impact application availability or potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.9-0.

Severity

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

Dates

Published
2020-12-08 22:15 UTC
Modified
2026-04-22 12:35 UTC

Affected packages and fixes

imagemagick

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 8:6.9.7.4+dfsg-16ubuntu6.11 (ecosystem)

Fixed versions

8:6.9.7.4+dfsg-16ubuntu6.11

Fix

  • Fixed version 8:6.9.7.4+dfsg-16ubuntu6.11
    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) · Ubuntu 20.04

Affected

  • introduced 0, fixed 8:6.9.10.23+dfsg-2.1ubuntu11.4 (ecosystem)

Fixed versions

8:6.9.10.23+dfsg-2.1ubuntu11.4

Fix

  • Fixed version 8:6.9.10.23+dfsg-2.1ubuntu11.4
    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