USN-5190-1: GraphicsMagick vulnerabilities

Publication date

30 August 2022

Overview

Several security issues were fixed in GraphicsMagick.


Packages

Details

It was discovered that GraphicsMagick allowed reading arbitrary files via
specially crafted images. An attacker could use this issue to expose sensitive
information. This issue only affects Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and
Ubuntu 18.04 ESM. (CVE-2019-12921)

It was discovered that GraphicsMagick did not correctly handle memory
allocations for error messages. An attacker could use this issue to corrupt
memory or possibly execute arbitrary code. This issue only affects Ubuntu 14.04
ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 ESM. (CVE-2019-19950)

It was discovered that GraphicsMagick did not correctly handle type limits.
An attacker could use these issues to cause heap-based buffer overflows,
leading to a denial of service (application crash) or possibly execute
arbitrary code. These issues only affect Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and
Ubuntu...

It was discovered that GraphicsMagick allowed reading arbitrary files via
specially crafted images. An attacker could use this issue to expose sensitive
information. This issue only affects Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and
Ubuntu 18.04 ESM. (CVE-2019-12921)

It was discovered that GraphicsMagick did not correctly handle memory
allocations for error messages. An attacker could use this issue to corrupt
memory or possibly execute arbitrary code. This issue only affects Ubuntu 14.04
ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 ESM. (CVE-2019-19950)

It was discovered that GraphicsMagick did not correctly handle type limits.
An attacker could use these issues to cause heap-based buffer overflows,
leading to a denial of service (application crash) or possibly execute
arbitrary code. These issues only affect Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and
Ubuntu 18.04 ESM. (CVE-2019-19951, CVE-2019-19953)

It was discovered that GraphicsMagick did not correctly handle the signed
integer limit in 32-bit applications. An attacker could use this issue to cause
a heap-based buffer overflow, leading to a denial of service (application crash)
or possibly execute arbitrary code. This issue only affects Ubuntu 14.04 ESM,
Ubuntu 16.04 ESM, and Ubuntu 18.04 ESM. (CVE-2020-10938)

It was discovered that GraphicsMagick did not properly magnify certain
images. An attacker could use this issue to cause a heap-based buffer
overflow, leading to a denial of service (application crash) or possibly
execute arbitrary code. (CVE-2020-12672)


Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.04 focal libgraphicsmagick-q16-3 –  1.4+really1.3.35-1ubuntu0.1~esm1  
graphicsmagick –  1.4+really1.3.35-1ubuntu0.1~esm1  
libgraphicsmagick++-q16-12 –  1.4+really1.3.35-1ubuntu0.1~esm1  
18.04 bionic libgraphicsmagick-q16-3 –  1.3.28-2ubuntu0.1+esm1  
graphicsmagick –  1.3.28-2ubuntu0.1+esm1  
libgraphicsmagick++-q16-12 –  1.3.28-2ubuntu0.1+esm1  
16.04 xenial libgraphicsmagick-q16-3 –  1.3.23-1ubuntu0.6+esm1  
graphicsmagick –  1.3.23-1ubuntu0.6+esm1  
libgraphicsmagick++-q16-12 –  1.3.23-1ubuntu0.6+esm1  
14.04 trusty libgraphicsmagick++3 –  1.3.18-1ubuntu3.1+esm7  
libgraphicsmagick3 –  1.3.18-1ubuntu3.1+esm7  
graphicsmagick –  1.3.18-1ubuntu3.1+esm7  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›