CVE-2023-3195: Buffer Overflow

Published Jun 12, 2023
·
Updated

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.

Other sources

Stack overflow with crafted tiff file in ImageMagick.

Reference: https://www.openwall.com/lists/oss-security/2023/05/29/1

Upstream fix: https://github.com/ImageMagick/ImageMagick6/commit/85a370c79afeb45a97842b0959366af5236e9023 https://github.com/ImageMagick/ImageMagick/commit/f620340935777b28fa3f7b0ed7ed6bd86946934c

Red Hat

Affected Software

8 affected componentsFixes available
redhat/ImageMagick 6.9.12<26
26
redhat/ImageMagick 7.1.0<11
11
ImageMagick<6.9.12-26
ImageMagick>=7.1.1-0<7.1.1-10
Fedora EPEL=8.0
fedoraproject fedora=37
fedoraproject fedora=38
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u48:6.9.11.60+dfsg-1.3+deb11u58:6.9.11.60+dfsg-1.6+deb12u28:6.9.11.60+dfsg-1.6+deb12u18:7.1.1.43+dfsg1-18:7.1.1.47+dfsg1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/ImageMagick 6.9.12 to a version that resolves this vulnerability.

    Fixed in 26
  2. Upgrade

    Upgrade redhat/ImageMagick 7.1.0 to a version that resolves this vulnerability.

    Fixed in 11
  3. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.11.60+dfsg-1.3+deb11u4Fixed in 8:6.9.11.60+dfsg-1.3+deb11u5Fixed in 8:6.9.11.60+dfsg-1.6+deb12u2Fixed in 8:6.9.11.60+dfsg-1.6+deb12u1Fixed in 8:7.1.1.43+dfsg1-1Fixed in 8:7.1.1.47+dfsg1-1
  4. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Patch f620340935777b28fa3f7b0ed7ed6bd86946934c
  5. Upgrade

    Upgrade ImageMagick6 to a version that resolves this vulnerability.

    Patch 85a370c79afeb45a97842b0959366af5236e9023

Event History

Jun 16, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:20 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·04:14 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2023-3195?

CVE-2023-3195 is a stack-based buffer overflow issue found in ImageMagick's coders/tiff.c.

2

How can an attacker exploit CVE-2023-3195?

An attacker can exploit CVE-2023-3195 by tricking the user into opening a specially crafted malicious tiff file.

3

What is the impact of CVE-2023-3195?

The impact of CVE-2023-3195 is a denial of service, causing the application to crash.

4

Which versions of ImageMagick are affected by CVE-2023-3195?

ImageMagick 6.9.12 up to exclusive version 26 and ImageMagick 7.1.0 up to exclusive version 11 are affected.

5

How do I mitigate the vulnerability?

To mitigate the vulnerability, update ImageMagick to version 6.9.12-27 or higher, or version 7.1.1-11 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203