CVE-2023-3195
A stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an...
A stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in 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 stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in a denial of service.
- Record
CVE-2023-3195- 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-121, CWE-787
- Updated
- 2026-11-02
CVE List No score
A stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in a denial of service.
- Record
CVE-2023-3195- Weakness
- CWE-121
- Updated
- 2026-11-02
EUVDEUVD-2023-43873 No score
A stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in a denial of service.
- Record
EUVD-2023-43873- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4f76-c3p6-5cgx
5.5
A stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an...
A stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in a denial of service.
- Record
GHSA-4f76-c3p6-5cgx- 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-121, CWE-787
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-3195
5.5
A stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in a denial of service.
- Record
DEBIAN-CVE-2023-3195- 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
OSVJLSEC-2026-904
5.5
A stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in a denial of service.
- Record
JLSEC-2026-904- 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
OSVOESA-2023-1405
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 stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in a denial of service.(CVE-2023-3195)
- Record
OESA-2023-1405- 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-2023-1406
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 stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in a denial of service.(CVE-2023-3195)
- Record
OESA-2023-1406- 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
OSVUBUNTU-CVE-2023-3195
5.5
A stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in a denial of service.
- Record
UBUNTU-CVE-2023-3195- 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 stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in a denial of service.
- Record
CVE-2023-3195- Weakness
- CWE-121
- Updated
- 2026-11-02
OSVMGASA-2024-0064 No score
Updated imagemagick packages fix security vulnerabilities
The updated packages fix security vulnerabilities: A heap-based buffer overflow vulnerability was found in ImageMagick in versions prior to 7.0.11-14 in ReadTIFFImage() in coders/tiff.c. This issue is due to an incorrect setting of the pixel array size, which can lead to a crash and segmentation fault. (CVE-2021-3610) A stack-based buffer overflow issue was found in ImageMagick's coders/tiff.c. This flaw allows an attacker to trick the user into opening a specially crafted malicious tiff file, causing an application to crash, resulting in a denial of service. (CVE-2023-3195) A heap-based buffer overflow vulnerability was found in coders/tiff.c in ImageMagick. This issue may allow a local attacker to trick the user into opening a specially crafted file, resulting in an application crash and denial of service. (CVE-2023-3428) This security flaw ouccers as an undefined behaviors of casting double to size_t in svg, mvg and other coders (recurring bugs of CVE-2022-32546). (CVE-2023-34151)
- Record
MGASA-2024-0064- Updated
- 2026-11-02
OSVSUSE-SU-2023:2870-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2023-3195: Fixed stack overflow in coders/tiff.c while parsing malicious tiff file (bsc#1212235).
- Record
SUSE-SU-2023:2870-1- Updated
- 2026-11-02
OSVUSN-6200-1 No score
imagemagick vulnerabilities
It was discovered that ImageMagick incorrectly handled the "-authenticate" option for password-protected PDF files. An attacker could possibly use this issue to inject additional shell commands and perform arbitrary code execution. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-29599)
It was discovered that ImageMagick incorrectly handled certain values when processing PDF files. If a user or automated system using ImageMagick were tricked into opening a specially crafted PDF file, an attacker could exploit this to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20224)
Zhang Xiaohui discovered that ImageMagick incorrectly handled certain values when processing image data. If a user or automated system using ImageMagick were tricked into opening a specially crafted image, an attacker could exploit this to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20241, CVE-2021-20243)
It was discovered that ImageMagick incorrectly handled certain values when processing visual effects based image files. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20244, CVE-2021-20309)
It was discovered that ImageMagick incorrectly handled certain values when performing resampling operations. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20246)
It was discovered that ImageMagick incorrectly handled certain values when processing thumbnail image data. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20312)
It was discovered that ImageMagick incorrectly handled memory cleanup when performing certain cryptographic operations. Under certain conditions sensitive cryptographic information could be disclosed. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20313)
It was discovered that ImageMagick did not use the correct rights when specifically excluded by a module policy. An attacker could use this issue to read and write certain restricted files. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-39212)
It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into opening a specially crafted image file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 20.04 LTS. (CVE-2022-28463, CVE-2022-32545, CVE-2022-32546, CVE-2022-32547)
It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into opening a specially crafted image file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2021-3610, CVE-2023-1906, CVE-2023-3428)
It was discovered that ImageMagick incorrectly handled certain values when processing specially crafted SVG files. By tricking a user into opening a specially crafted SVG file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2023-1289)
It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into opening a specially crafted tiff file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2023-3195)
It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into…
- Record
USN-6200-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
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+1 | 6.9.12+1 |
imagemagickMageia:9 From an advisory covering 4 CVEs |
before 7.1.1.29-1.mga9 | 7.1.1.29-1.mga9 |
imagemagickMageia:9 From an advisory covering 4 CVEs |
before 7.1.1.29-1.mga9.tainted | 7.1.1.29-1.mga9.tainted |
ImageMagickopenEuler:20.03-LTS-SP1 |
before 6.9.12.86-2.oe1 | 6.9.12.86-2.oe1 |
ImageMagickopenEuler:20.03-LTS-SP3 |
before 6.9.12.86-2.oe1 | 6.9.12.86-2.oe1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 6.8.8.1-71.192.1 | 6.8.8.1-71.192.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP5 |
before 6.8.8.1-71.192.1 | 6.8.8.1-71.192.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 6.8.8.1-71.192.1 | 6.8.8.1-71.192.1 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP5 |
before 6.8.8.1-71.192.1 | 6.8.8.1-71.192.1 |
imagemagickUbuntu:Pro:22.04:LTS |
before 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2, plus listed versions 8:6.9.11.60+dfsg-1ubuntu18:6.9.11.60+dfsg-1.38:6.9.11.60+dfsg-1.3build18:6.9.11.60+dfsg-1.3build28:6.9.11.60+dfsg-1.3ubuntu0.22.04.1 Show 5 moreShow less8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm18:6.9.11.60+dfsg-1.3ubuntu0.22.04.28:6.9.11.60+dfsg-1.3ubuntu0.22.04.2+esm18:6.9.11.60+dfsg-1.3ubuntu0.22.04.38:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1 |
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2 |
imagemagickUbuntu:24.04:LTS |
before 8:6.9.11.60+dfsg-1.6ubuntu1 | 8:6.9.11.60+dfsg-1.6ubuntu1 |
imagemagickUbuntu:Pro:16.04:LTS From an advisory covering 20 CVEs |
before 8:6.8.9.9-7ubuntu5.16+esm8, plus listed versions 8:6.8.9.9-5ubuntu28:6.8.9.9-68:6.8.9.9-6build18:6.8.9.9-78:6.8.9.9-7ubuntu1 Show 26 moreShow less8:6.8.9.9-7ubuntu28:6.8.9.9-7ubuntu38:6.8.9.9-7ubuntu48:6.8.9.9-7ubuntu58:6.8.9.9-7ubuntu5.18:6.8.9.9-7ubuntu5.28:6.8.9.9-7ubuntu5.38:6.8.9.9-7ubuntu5.48:6.8.9.9-7ubuntu5.58:6.8.9.9-7ubuntu5.68:6.8.9.9-7ubuntu5.78:6.8.9.9-7ubuntu5.88:6.8.9.9-7ubuntu5.98:6.8.9.9-7ubuntu5.118:6.8.9.9-7ubuntu5.128:6.8.9.9-7ubuntu5.138:6.8.9.9-7ubuntu5.148:6.8.9.9-7ubuntu5.158:6.8.9.9-7ubuntu5.168:6.8.9.9-7ubuntu5.16+esm18:6.8.9.9-7ubuntu5.16+esm28:6.8.9.9-7ubuntu5.16+esm38:6.8.9.9-7ubuntu5.16+esm48:6.8.9.9-7ubuntu5.16+esm58:6.8.9.9-7ubuntu5.16+esm68:6.8.9.9-7ubuntu5.16+esm7 |
8:6.8.9.9-7ubuntu5.16+esm8 |
imagemagickUbuntu:Pro:18.04:LTS From an advisory covering 20 CVEs |
before 8:6.9.7.4+dfsg-16ubuntu6.15+esm1, plus listed versions 8:6.9.7.4+dfsg-16ubuntu28:6.9.7.4+dfsg-16ubuntu38:6.9.7.4+dfsg-16ubuntu48:6.9.7.4+dfsg-16ubuntu58:6.9.7.4+dfsg-16ubuntu6 Show 11 moreShow less8:6.9.7.4+dfsg-16ubuntu6.28:6.9.7.4+dfsg-16ubuntu6.38:6.9.7.4+dfsg-16ubuntu6.48:6.9.7.4+dfsg-16ubuntu6.78:6.9.7.4+dfsg-16ubuntu6.88:6.9.7.4+dfsg-16ubuntu6.98:6.9.7.4+dfsg-16ubuntu6.118:6.9.7.4+dfsg-16ubuntu6.128:6.9.7.4+dfsg-16ubuntu6.138:6.9.7.4+dfsg-16ubuntu6.148:6.9.7.4+dfsg-16ubuntu6.15 |
8:6.9.7.4+dfsg-16ubuntu6.15+esm1 |
imagemagickUbuntu:20.04:LTS From an advisory covering 20 CVEs |
before 8:6.9.10.23+dfsg-2.1ubuntu11.9, plus listed versions 8:6.9.10.23+dfsg-2.1ubuntu38:6.9.10.23+dfsg-2.1ubuntu88:6.9.10.23+dfsg-2.1ubuntu98:6.9.10.23+dfsg-2.1ubuntu108:6.9.10.23+dfsg-2.1ubuntu11 Show 6 moreShow less8:6.9.10.23+dfsg-2.1ubuntu11.18:6.9.10.23+dfsg-2.1ubuntu11.28:6.9.10.23+dfsg-2.1ubuntu11.48:6.9.10.23+dfsg-2.1ubuntu11.58:6.9.10.23+dfsg-2.1ubuntu11.68:6.9.10.23+dfsg-2.1ubuntu11.7 |
8:6.9.10.23+dfsg-2.1ubuntu11.9 |
imagemagickUbuntu:Pro:22.04:LTS From an advisory covering 20 CVEs |
before 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2, plus listed versions 8:6.9.11.60+dfsg-1ubuntu18:6.9.11.60+dfsg-1.38:6.9.11.60+dfsg-1.3build18:6.9.11.60+dfsg-1.3build28:6.9.11.60+dfsg-1.3ubuntu0.22.04.1 Show 5 moreShow less8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm18:6.9.11.60+dfsg-1.3ubuntu0.22.04.28:6.9.11.60+dfsg-1.3ubuntu0.22.04.2+esm18:6.9.11.60+dfsg-1.3ubuntu0.22.04.38:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1 |
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| 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-2023-3195 is a medium vulnerability (CVSS 5.5) in Imagemagick, published June 16, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.50%, the 43rd percentile. Fixed in imagemagick 8:6.9.12.98+dfsg1-2.
References
bugzilla.redhat.com/show_bug.cgi?id=2214141
openwall.com/lists/oss-security/2023/05/29/1
github.com/ImageMagick/ImageMagick6/commit/85a370c79afeb45a97842b0959366af5236e9023
github.com/ImageMagick/ImageMagick/commit/f620340935777b28fa3f7b0ed7ed6bd86946934c
access.redhat.com/security/cve/CVE-2023-3195
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/45DUUXYMAEEAW55GSLAXN25VPKCRAIDA
Show 36 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4UFQJCYJ23HWHNDOVKBHZQ7HCXXL6MM3
nvd.nist.gov/vuln/detail/CVE-2023-3195
lists.fedoraproject.org/archives/list/[email protected]/message/45DUUXYMAEEAW55GSLAXN25VPKCRAIDA
lists.fedoraproject.org/archives/list/[email protected]/message/4UFQJCYJ23HWHNDOVKBHZQ7HCXXL6MM3
github.com/advisories/GHSA-4f76-c3p6-5cgx
github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3195.json
security-tracker.debian.org/tracker/CVE-2023-3195
advisories.mageia.org/MGASA-2024-0064.html
bugs.mageia.org/show_bug.cgi?id=32076
ubuntu.com/security/notices/USN-6200-1
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1405
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1406
suse.com/support/update/announcement/2023/suse-su-20232870-1
bugzilla.suse.com/1212235
suse.com/security/cve/CVE-2023-3195
ubuntu.com/security/CVE-2023-3195
cve.org/CVERecord?id=CVE-2023-3195
ubuntu.com/security/CVE-2020-29599
ubuntu.com/security/CVE-2021-3610
ubuntu.com/security/CVE-2021-20224
ubuntu.com/security/CVE-2021-20241
ubuntu.com/security/CVE-2021-20243
ubuntu.com/security/CVE-2021-20244
ubuntu.com/security/CVE-2021-20246
ubuntu.com/security/CVE-2021-20309
ubuntu.com/security/CVE-2021-20312
ubuntu.com/security/CVE-2021-20313
ubuntu.com/security/CVE-2021-39212
ubuntu.com/security/CVE-2022-28463
ubuntu.com/security/CVE-2022-32545
ubuntu.com/security/CVE-2022-32546
ubuntu.com/security/CVE-2022-32547
ubuntu.com/security/CVE-2023-1289
ubuntu.com/security/CVE-2023-1906
ubuntu.com/security/CVE-2023-3428
ubuntu.com/security/CVE-2023-34151
Left out here: the rest of 1 source description. The JSON record has them.