Every CVE Search/ Get API key

CVE-2022-1270

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

7.8 HighFix available

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.46%Down 0.4 points since Sep 29, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

Record
CVE-2022-1270
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-119, CWE-787
Updated
2026-11-02
CVE List 7.8

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

Record
CVE-2022-1270
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-02
EUVDEUVD-2022-24603 7.8

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

Record
EUVD-2022-24603
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-95x6-vp26-h77r 7.8

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

Record
GHSA-95x6-vp26-h77r
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-119, CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2022-1270 7.8

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

Record
ALPINE-CVE-2022-1270
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSV 7.8

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

Record
CVE-2022-1270
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2022-1270 7.8

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

Record
DEBIAN-CVE-2022-1270
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVOESA-2022-1760 7.3

GraphicsMagick security update

GraphicsMagick is the swiss army knife of image processing. Comprised of 267K physical lines (according to David A. Wheeler's SLOCCount) of source code in the base package (or 1,225K including 3rd party libraries) it provides a robust and efficient collection of tools and libraries which support reading, writing, and manipulating an image in over 89 major formats including important formats like DPX, GIF, JPEG, JPEG-2000, PNG, PDF, PNM, TIFF, and WebP.

Security Fix(es):

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF. (CVE-2022-1270)

Record
OESA-2022-1760
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2022-1270 7.8

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

Record
UBUNTU-CVE-2022-1270
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2022-0446 No score

Updated imagemagick packages fix security vulnerability

A vulnerability was found in ImageMagick-7.0.11-5, where executing a crafted file with the convert command, ASAN detects memory leaks. (CVE-2021-3574)

A flaw was found in ImageMagick. The vulnerability occurs due to improper use of open functions and leads to a denial of service. This flaw allows an attacker to crash the system. (CVE-2021-4219)

An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c. Function calls to GetPixelIndex() could result in values outside the range of representable for the 'unsigned char'. When ImageMagick processes a crafted pdf file, this could lead to an undefined behaviour or a crash. (CVE-2021-20224)

A flaw was found in ImageMagick in versions before 7.0.11 and before 6.9.12, where a division by zero in WaveImage() of MagickCore/visual-effects.c may trigger undefined behavior via a crafted image file submitted to an application using ImageMagick. The highest threat from this vulnerability is to system availability. (CVE-2021-20309)

A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero in sRGBTransformImage() in the MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability. (CVE-2021-20311)

A flaw was found in ImageMagick in versions 7.0.11, where an integer overflow in WriteTHUMBNAILImage of coders/thumbnail.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability. (CVE-2021-20312)

A flaw was found in ImageMagick in versions before 7.0.11. A potential cipher leak when the calculate signatures in TransformSignature is possible. The highest threat from this vulnerability is to data confidentiality. (CVE-2021-20313)

A heap-based-buffer-over-read flaw was found in ImageMagick's GetPixelAlpha() function of 'pixel-accessor.h'. This vulnerability is triggered when an attacker passes a specially crafted Tagged Image File Format (TIFF) image to convert it into a PICON file format. This issue can potentially lead to a denial of service and information disclosure. (CVE-2022-0284)

A heap-use-after-free flaw was found in ImageMagick's RelinquishDCMInfo() function of dcm.c file. This vulnerability is triggered when an attacker passes a specially crafted DICOM image file to ImageMagick for conversion, potentially leading to information disclosure and a denial of service. (CVE-2022-1114)

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF. (CVE-2022-1270)

In ImageMagick, a crafted file could trigger an assertion failure when a call to WriteImages was made in MagickWand/operation.c, due to a NULL image list. This could potentially cause a denial of service. This was fixed in upstream ImageMagick version 7.1.0-30. (CVE-2022-2719)

A heap buffer overflow issue was found in ImageMagick. When an application processes a malformed TIFF file, it could lead to undefined behavior or a crash causing a denial of service. (CVE-2022-3213)

ImageMagick 7.1.0-27 is vulnerable to Buffer Overflow. (CVE-2022-28463)

A vulnerability was found in ImageMagick, causing an outside the range of representable values of type 'unsigned char' at coders/psd.c, when crafted or untrusted input is processed. This leads to a negative impact to application availability or other problems related to undefined behavior. (CVE-2022-32545)

A vulnerability was found in ImageMagick, causing an outside the range of representable values of type 'unsigned long' at coders/pcl.c, when crafted or untrusted input is processed. This leads to a negative impact to application availability or other problems related to undefined behavior. (CVE-2022-32546)

In ImageMagick, there is load of misaligned address for type 'double',…

Record
MGASA-2022-0446
Updated
2026-11-02
OSVopenSUSE-SU-2024:11996-1 No score

GraphicsMagick-1.3.38-1.1 on GA media

These are all security issues fixed in the GraphicsMagick-1.3.38-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11996-1
Updated
2026-11-02
OSVSUSE-SU-2022:1274-1 No score

Security update for GraphicsMagick

This update for GraphicsMagick fixes the following issues:

  • CVE-2022-1270: Fixed a heap buffer overflow when parsing MIFF (bsc#1198351).
Record
SUSE-SU-2022:1274-1
Updated
2026-11-02
OSVSUSE-SU-2022:1885-1 No score

Security update for ImageMagick

This update for ImageMagick fixes the following issues:

  • CVE-2022-1270: Fixed a memory corruption issue when parsing MIFF files (bsc#1198351).
  • CVE-2022-28463: Fixed buffer overflow in coders/cin.c (bsc#1199350).
Record
SUSE-SU-2022:1885-1
Updated
2026-11-02
OSVUSN-5974-1 No score

graphicsmagick vulnerabilities

It was discovered that GraphicsMagick was not properly performing bounds checks when processing TGA image files, which could lead to a heap buffer overflow. If a user or automated system were tricked into processing a specially crafted TGA image file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-20184)

It was discovered that GraphicsMagick was not properly validating bits per pixel data when processing DIB image files. If a user or automated system were tricked into processing a specially crafted DIB image file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-20189)

It was discovered that GraphicsMagick was not properly processing bit-field mask values in BMP image files, which could result in the execution of an infinite loop. If a user or automated system were tricked into processing a specially crafted BMP image file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-5685)

It was discovered that GraphicsMagick was not properly validating data used in arithmetic operations when processing MNG image files, which could result in a divide-by-zero error. If a user or automated system were tricked into processing a specially crafted MNG image file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-9018)

It was discovered that GraphicsMagick was not properly performing bounds checks when processing MIFF image files, which could lead to a heap buffer overflow. If a user or automated system were tricked into processing a specially crafted MIFF image file, an attacker could possibly use this issue to cause a denial of service or expose sensitive information. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2019-11006)

It was discovered that GraphicsMagick did not properly magnify certain MNG image files, which could lead to a heap buffer overflow. If a user or automated system were tricked into processing a specially crafted MNG image file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-12672)

It was discovered that GraphicsMagick was not properly performing bounds checks when parsing certain MIFF image files, which could lead to a heap buffer overflow. If a user or automated system were tricked into processing a specially crafted MIFF image file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-1270)

Record
USN-5974-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
graphicsmagick
Alpine:v3.18
before 1.3.38-r0
1.3.38-r0
graphicsmagick
Alpine:v3.19
before 1.3.38-r0
1.3.38-r0
graphicsmagick
Alpine:v3.20
before 1.3.38-r0
1.3.38-r0
graphicsmagick
Alpine:v3.21
before 1.3.38-r0
1.3.38-r0
graphicsmagick
Alpine:v3.22
before 1.3.38-r0
1.3.38-r0
graphicsmagick
Alpine:v3.23
before 1.3.38-r0
1.3.38-r0
graphicsmagick
Alpine:v3.24
before 1.3.38-r0
1.3.38-r0
graphicsmagick
Debian:12
before 1.4+really1.3.38-1
1.4+really1.3.38-1
graphicsmagick
Debian:13
before 1.4+really1.3.38-1
1.4+really1.3.38-1
graphicsmagick
Debian:14
before 1.4+really1.3.38-1
1.4+really1.3.38-1
Show 44 moreShow less
Affected packages
PackageAffectedFixed
graphicsmagick
Debian:10
before 1.4+really1.3.35-1~deb10u3, plus listed versions
1.4+really1.3.32-11.4+really1.3.33+hg16115-11.4+really1.3.33+hg16117-11.4+really1.3.33-11.4+really1.3.34+hg16181-1
Show 8 moreShow less
1.4+really1.3.34+hg16230-11.4+really1.3.34-11.4+really1.3.34-21.4+really1.3.35-1~deb10u11.4+really1.3.35-1~deb10u21.4~hg15978-11.4~hg15978-1+deb10u11.4~hg16039-1
1.4+really1.3.35-1~deb10u3
graphicsmagick
Debian:11
before 1.4+really1.3.36+hg16481-2+deb11u1, plus listed versions
1.4+really1.3.36+hg16481-2
1.4+really1.3.36+hg16481-2+deb11u1
imagemagick
Mageia:8
From an advisory covering 16 CVEs
before 7.1.0.52-1.1.mga8
7.1.0.52-1.1.mga8
abydos
Mageia:8
From an advisory covering 16 CVEs
before 0.2.3-4.2.mga8
0.2.3-4.2.mga8
converseen
Mageia:8
From an advisory covering 16 CVEs
before 0.9.8.1-4.2.mga8
0.9.8.1-4.2.mga8
digikam
Mageia:8
From an advisory covering 16 CVEs
before 7.1.0-4.2.mga8
7.1.0-4.2.mga8
libopenshot
Mageia:8
From an advisory covering 16 CVEs
before 0.2.5-5.2.mga8
0.2.5-5.2.mga8
php-imagick
Mageia:8
From an advisory covering 16 CVEs
before 3.4.5-0.git20201230.2.2.mga8
3.4.5-0.git20201230.2.2.mga8
synfig
Mageia:8
From an advisory covering 16 CVEs
before 1.2.2-11.2.mga8
1.2.2-11.2.mga8
windowmaker
Mageia:8
From an advisory covering 16 CVEs
before 0.95.9-3.2.mga8
0.95.9-3.2.mga8
xine-lib1.2
Mageia:8
From an advisory covering 16 CVEs
before 1.2.11-1.2.mga8
1.2.11-1.2.mga8
zbar
Mageia:8
From an advisory covering 16 CVEs
before 0.23.1-5.2.mga8
0.23.1-5.2.mga8
imagemagick
Mageia:8
From an advisory covering 16 CVEs
before 7.1.0.52-1.1.mga8.tainted
7.1.0.52-1.1.mga8.tainted
abydos
Mageia:8
From an advisory covering 16 CVEs
before 0.2.3-4.2.mga8.tainted
0.2.3-4.2.mga8.tainted
transcode
Mageia:8
From an advisory covering 16 CVEs
before 1.1.7-29.2.mga8.tainted
1.1.7-29.2.mga8.tainted
xine-lib1.2
Mageia:8
From an advisory covering 16 CVEs
before 1.2.11-1.2.mga8.tainted
1.2.11-1.2.mga8.tainted
GraphicsMagick
openEuler:20.03-LTS-SP1
before 1.3.30-10.oe1
1.3.30-10.oe1
GraphicsMagick
openEuler:20.03-LTS-SP3
before 1.3.30-10.oe1
1.3.30-10.oe1
GraphicsMagick
openEuler:22.03-LTS
before 1.3.30-9.oe2203
1.3.30-9.oe2203
GraphicsMagick
openSUSE:Leap 15.3
before 1.3.35-150300.3.3.1
1.3.35-150300.3.3.1
ImageMagick
SUSE:HPE Helion OpenStack 8
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:OpenStack Cloud 8
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:OpenStack Cloud 9
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:OpenStack Cloud Crowbar 8
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:OpenStack Cloud Crowbar 9
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP2-BCL
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP3-LTSS
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP3-BCL
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP4-LTSS
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
ImageMagick
SUSE:Linux Enterprise Workstation Extension 12 SP5
From an advisory covering 2 CVEs
before 6.8.8.1-71.172.1
6.8.8.1-71.172.1
graphicsmagick
Ubuntu:Pro:14.04:LTS
before 1.3.18-1ubuntu3.1+esm8, plus listed versions
1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu31.3.18-1ubuntu3.11.3.18-1ubuntu3.1+esm1
Show 6 moreShow less
1.3.18-1ubuntu3.1+esm21.3.18-1ubuntu3.1+esm31.3.18-1ubuntu3.1+esm41.3.18-1ubuntu3.1+esm51.3.18-1ubuntu3.1+esm61.3.18-1ubuntu3.1+esm7
1.3.18-1ubuntu3.1+esm8
graphicsmagick
Ubuntu:Pro:16.04:LTS
before 1.3.23-1ubuntu0.6+esm2, plus listed versions
1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.1+esm1
Show 6 moreShow less
1.3.23-1ubuntu0.21.3.23-1ubuntu0.31.3.23-1ubuntu0.41.3.23-1ubuntu0.51.3.23-1ubuntu0.61.3.23-1ubuntu0.6+esm1
1.3.23-1ubuntu0.6+esm2
graphicsmagick
Ubuntu:Pro:18.04:LTS
before 1.3.28-2ubuntu0.2+esm1, plus listed versions
1.3.26-151.3.26-161.3.26-191.3.27-11.3.27-2
Show 6 moreShow less
1.3.27-31.3.28-11.3.28-21.3.28-2ubuntu0.11.3.28-2ubuntu0.1+esm11.3.28-2ubuntu0.2
1.3.28-2ubuntu0.2+esm1
graphicsmagick
Ubuntu:20.04:LTS
before 1.4+really1.3.35-1ubuntu0.1, plus listed versions
1.4+really1.3.33+hg16115-11.4+really1.3.33+hg16115-1build11.4+really1.3.33+hg16117-11.4+really1.3.34-11.4+really1.3.34-21.4+really1.3.34+hg16181-11.4+really1.3.35-1
1.4+really1.3.35-1ubuntu0.1
graphicsmagick
Ubuntu:Pro:14.04:LTS
From an advisory covering 7 CVEs
before 1.3.18-1ubuntu3.1+esm8, plus listed versions
1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu31.3.18-1ubuntu3.11.3.18-1ubuntu3.1+esm1
Show 6 moreShow less
1.3.18-1ubuntu3.1+esm21.3.18-1ubuntu3.1+esm31.3.18-1ubuntu3.1+esm41.3.18-1ubuntu3.1+esm51.3.18-1ubuntu3.1+esm61.3.18-1ubuntu3.1+esm7
1.3.18-1ubuntu3.1+esm8
graphicsmagick
Ubuntu:Pro:16.04:LTS
From an advisory covering 7 CVEs
before 1.3.23-1ubuntu0.6+esm2, plus listed versions
1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.1+esm1
Show 6 moreShow less
1.3.23-1ubuntu0.21.3.23-1ubuntu0.31.3.23-1ubuntu0.41.3.23-1ubuntu0.51.3.23-1ubuntu0.61.3.23-1ubuntu0.6+esm1
1.3.23-1ubuntu0.6+esm2
graphicsmagick
Ubuntu:Pro:18.04:LTS
From an advisory covering 7 CVEs
before 1.3.28-2ubuntu0.2+esm1, plus listed versions
1.3.26-151.3.26-161.3.26-191.3.27-11.3.27-2
Show 6 moreShow less
1.3.27-31.3.28-11.3.28-21.3.28-2ubuntu0.11.3.28-2ubuntu0.1+esm11.3.28-2ubuntu0.2
1.3.28-2ubuntu0.2+esm1
graphicsmagick
Ubuntu:20.04:LTS
From an advisory covering 7 CVEs
before 1.4+really1.3.35-1ubuntu0.1, plus listed versions
1.4+really1.3.33+hg16115-11.4+really1.3.33+hg16115-1build11.4+really1.3.33+hg16117-11.4+really1.3.34-11.4+really1.3.34-21.4+really1.3.34+hg16181-11.4+really1.3.35-1
1.4+really1.3.35-1ubuntu0.1
GraphicsMagick
openSUSE:Tumbleweed
before 1.3.38-1.1
1.3.38-1.1

History

History
RecordedChangedSources
affected, factsOSV
affected, aliases, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-1270 is a high vulnerability (CVSS 7.8) in Graphicsmagick, published April 20, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.46%, the 40th percentile. Fixed in graphicsmagick 1.3.38-r0.

References

Show 35 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open