CVE-2022-3213
A heap buffer overflow issue was found in ImageMagick. When an application processes a malformed...
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.
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
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2022-3213- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119, CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-3213- Weakness
- CWE-119
- Updated
- 2026-11-02
EUVDEUVD-2022-42628 No score
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.
- Record
EUVD-2022-42628- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rvv6-3f7f-jg4m
5.5
A heap buffer overflow issue was found in ImageMagick. When an application processes a malformed...
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.
- Record
GHSA-rvv6-3f7f-jg4m- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-3213
5.5
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.
- Record
ALPINE-CVE-2022-3213- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2022-3213
5.5
CVE-2022-3213 does not affect BellSoft software
- Record
BELL-CVE-2022-3213- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2022-3213
5.5
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.
- Record
DEBIAN-CVE-2022-3213- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVJLSEC-2026-897
5.5
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.
- Record
JLSEC-2026-897- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2022-1998
5.5
ImageMagick security update
Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort,shear and transform images, adjust image colors, apply various special effects,or draw text, lines, polygons, ellipses and Bézier curves.
Security Fix(es):
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)
- Record
OESA-2022-1998- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2022-3213- Weakness
- CWE-119
- 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:13263-1 No score
ImageMagick-7.1.1.17-1.1 on GA media
These are all security issues fixed in the ImageMagick-7.1.1.17-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13263-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:3487-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2022-3213: Fixed heap buffer overflow when processing a malformed TIFF file (bsc#1203450).
- Record
SUSE-SU-2022:3487-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
imagemagickAlpine:v3.16 |
7.1.0-0 up to 7.1.0.47-r0 | 7.1.0.47-r0 |
imagemagickAlpine:v3.17 |
7.1.0-0 up to 7.1.0.47-r0 | 7.1.0.47-r0 |
imagemagickAlpine:v3.18 |
7.1.0-0 up to 7.1.0.47-r0 | 7.1.0.47-r0 |
imagemagickAlpine:v3.19 |
7.1.0-0 up to 7.1.0.47-r0 | 7.1.0.47-r0 |
imagemagickAlpine:v3.20 |
7.1.0-0 up to 7.1.0.47-r0 | 7.1.0.47-r0 |
imagemagickAlpine:v3.21 |
7.1.0-0 up to 7.1.0.47-r0 | 7.1.0.47-r0 |
imagemagickAlpine:v3.22 |
7.1.0-0 up to 7.1.0.47-r0 | 7.1.0.47-r0 |
imagemagickAlpine:v3.23 |
7.1.0-0 up to 7.1.0.47-r0 | 7.1.0.47-r0 |
imagemagickAlpine:v3.24 |
7.1.0-0 up to 7.1.0.47-r0 | 7.1.0.47-r0 |
imagemagick6Alpine:v3.15 |
before 6.9.12.65-r0 | 6.9.12.65-r0 |
Show 33 moreShow less
| Package | Affected | Fixed |
|---|---|---|
imagemagick6Alpine:v3.16 |
before 6.9.12.65-r0 | 6.9.12.65-r0 |
tiffAlpine:v3.18 |
before 4.5.0-r0 | 4.5.0-r0 |
tiffAlpine:v3.19 |
before 4.5.0-r0 | 4.5.0-r0 |
tiffAlpine:v3.20 |
before 4.5.0-r0 | 4.5.0-r0 |
tiffAlpine:v3.21 |
before 4.5.0-r0 | 4.5.0-r0 |
tiffAlpine:v3.22 |
before 4.5.0-r0 | 4.5.0-r0 |
tiffAlpine:v3.23 |
before 4.5.0-r0 | 4.5.0-r0 |
tiffAlpine:v3.24 |
before 4.5.0-r0 | 4.5.0-r0 |
imagemagickDebian:12 |
before 8:6.9.11.60+dfsg-1.6+deb12u1, plus listed versions 8:6.9.11.60+dfsg-1.6 |
8:6.9.11.60+dfsg-1.6+deb12u1 |
imagemagickDebian:13 |
before 8:6.9.12.98+dfsg1-2 | 8:6.9.12.98+dfsg1-2 |
imagemagickDebian:14 |
before 8:6.9.12.98+dfsg1-2 | 8:6.9.12.98+dfsg1-2 |
ImageMagick_jllJulia |
before 6.9.12+3 | 6.9.12+3 |
imagemagickMageia:8 From an advisory covering 16 CVEs |
before 7.1.0.52-1.1.mga8 | 7.1.0.52-1.1.mga8 |
abydosMageia:8 From an advisory covering 16 CVEs |
before 0.2.3-4.2.mga8 | 0.2.3-4.2.mga8 |
converseenMageia:8 From an advisory covering 16 CVEs |
before 0.9.8.1-4.2.mga8 | 0.9.8.1-4.2.mga8 |
digikamMageia:8 From an advisory covering 16 CVEs |
before 7.1.0-4.2.mga8 | 7.1.0-4.2.mga8 |
libopenshotMageia:8 From an advisory covering 16 CVEs |
before 0.2.5-5.2.mga8 | 0.2.5-5.2.mga8 |
php-imagickMageia:8 From an advisory covering 16 CVEs |
before 3.4.5-0.git20201230.2.2.mga8 | 3.4.5-0.git20201230.2.2.mga8 |
synfigMageia:8 From an advisory covering 16 CVEs |
before 1.2.2-11.2.mga8 | 1.2.2-11.2.mga8 |
windowmakerMageia:8 From an advisory covering 16 CVEs |
before 0.95.9-3.2.mga8 | 0.95.9-3.2.mga8 |
xine-lib1.2Mageia:8 From an advisory covering 16 CVEs |
before 1.2.11-1.2.mga8 | 1.2.11-1.2.mga8 |
zbarMageia:8 From an advisory covering 16 CVEs |
before 0.23.1-5.2.mga8 | 0.23.1-5.2.mga8 |
imagemagickMageia:8 From an advisory covering 16 CVEs |
before 7.1.0.52-1.1.mga8.tainted | 7.1.0.52-1.1.mga8.tainted |
abydosMageia:8 From an advisory covering 16 CVEs |
before 0.2.3-4.2.mga8.tainted | 0.2.3-4.2.mga8.tainted |
transcodeMageia:8 From an advisory covering 16 CVEs |
before 1.1.7-29.2.mga8.tainted | 1.1.7-29.2.mga8.tainted |
xine-lib1.2Mageia:8 From an advisory covering 16 CVEs |
before 1.2.11-1.2.mga8.tainted | 1.2.11-1.2.mga8.tainted |
ImageMagickopenEuler:20.03-LTS-SP1 |
before 6.9.12.43-3.oe1 | 6.9.12.43-3.oe1 |
ImageMagickopenEuler:20.03-LTS-SP3 |
before 6.9.12.43-3.oe1 | 6.9.12.43-3.oe1 |
ImageMagickopenEuler:22.03-LTS |
before 7.1.0.28-4.oe2203 | 7.1.0.28-4.oe2203 |
ImageMagickSUSE:Linux Enterprise Module for Desktop Applications 15 SP4 |
before 7.1.0.9-150400.6.9.1 | 7.1.0.9-150400.6.9.1 |
ImageMagickSUSE:Linux Enterprise Module for Development Tools 15 SP4 |
before 7.1.0.9-150400.6.9.1 | 7.1.0.9-150400.6.9.1 |
ImageMagickopenSUSE:Leap 15.4 |
before 7.1.0.9-150400.6.9.1 | 7.1.0.9-150400.6.9.1 |
ImageMagickopenSUSE:Tumbleweed From an advisory covering 15 CVEs |
before 7.1.1.17-1.1 | 7.1.1.17-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| affected | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-3213 is a medium vulnerability (CVSS 5.5) in Imagemagick, published September 19, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in imagemagick 7.1.0.47-r0.
References
bugzilla.redhat.com/show_bug.cgi?id=2126824
access.redhat.com/security/cve/CVE-2022-3213
github.com/ImageMagick/ImageMagick6/commit/1aea203eb36409ce6903b9e41fe7cb70030e8750
github.com/ImageMagick/ImageMagick/commit/30ccf9a0da1f47161b5935a95be854fe84e6c2a2
nvd.nist.gov/vuln/detail/CVE-2022-3213
github.com/advisories/GHSA-rvv6-3f7f-jg4m
Show 39 moreShow less
security.alpinelinux.org/vuln/CVE-2022-3213
docs.bell-sw.com/security/cves/CVE-2022-3213
github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3213.json
security-tracker.debian.org/tracker/CVE-2022-3213
advisories.mageia.org/MGASA-2022-0446.html
bugs.mageia.org/show_bug.cgi?id=29054
lists.opensuse.org/archives/list/[email protected]/thread/QPPJFFJWUIW3K6NB472QVFG522DWQZET
ubuntu.com/security/notices/USN-5158-1
lists.opensuse.org/archives/list/[email protected]/thread/ZUE6OO6UE5NEQ2LYEJSEB2AXREVWZVMB
debian.org/lts/security/2022/dla-3007
lists.opensuse.org/archives/list/[email protected]/thread/U4SLHXE2O3IXMI4KAK7QSBITGXIK6OW2
lists.suse.com/pipermail/sle-security-updates/2022-May/011200.html
ubuntu.com/security/notices/USN-5456-1
lists.opensuse.org/archives/list/[email protected]/thread/FYRR2QY5S3HG4B4EAPF6BVV54BZQPUX5
ubuntu.com/security/notices/USN-5534-1
lists.suse.com/pipermail/sle-security-updates/2022-September/012065.html
lists.opensuse.org/archives/list/[email protected]/thread/DQYFWVB5WL5D7BG6DWWI7RKZDHYKRQR6
lists.fedoraproject.org/archives/list/[email protected]/thread/LNVDNM4ZEIYPT3SLZHPYN7OG4CZLEXZJ
lists.fedoraproject.org/archives/list/[email protected]/thread/T6VPXZJUL64MXAMQ4JA6V6TYNOXDC6SQ
lists.opensuse.org/archives/list/[email protected]/thread/65CCSW6TK2CGQU6OYUEHQBBH6OSPKUJP
ubuntu.com/security/notices/USN-5736-1
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1998
suse.com/support/update/announcement/2022/suse-su-20223487-1
bugzilla.suse.com/1203450
suse.com/security/cve/CVE-2022-3213
suse.com/security/cve/CVE-2021-4219
suse.com/security/cve/CVE-2022-0284
suse.com/security/cve/CVE-2022-1114
suse.com/security/cve/CVE-2022-1115
suse.com/security/cve/CVE-2022-2719
suse.com/security/cve/CVE-2022-28463
suse.com/security/cve/CVE-2022-32545
suse.com/security/cve/CVE-2022-32546
suse.com/security/cve/CVE-2022-32547
suse.com/security/cve/CVE-2022-44267
suse.com/security/cve/CVE-2022-44268
suse.com/security/cve/CVE-2023-1289
suse.com/security/cve/CVE-2023-34151
suse.com/security/cve/CVE-2023-34153
Left out here: the rest of 1 source description. The JSON record has them.