CVE-2023-3195 Memory corruption in ImageMagick

Medium 5.5 Published Updated

A stack-based buffer overflow in ImageMagick allows attackers to cause a denial of service by tricking users into opening a malicious TIFF file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-3195?

CVE-2023-3195 is a medium-severity memory corruption vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 16 Jun 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2023-3195?

It affects 3 products.

Linux distribution packages (4)
ImageMagick SUSE:Linux Enterprise Server 12 SP5All versions6.8.8.1-71.192.1
ImageMagick SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions6.8.8.1-71.192.1
ImageMagick SUSE:Linux Enterprise Software Development Kit 12 SP5All versions6.8.8.1-71.192.1
ImageMagick SUSE:Linux Enterprise Workstation Extension 12 SP5All versions6.8.8.1-71.192.1

Products include Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Imagemagick Imagemagick.

How do I fix CVE-2023-3195?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-3195 being exploited?

There is no known exploitation of CVE-2023-3195 in the wild and no public exploit code.

All Fedoraproject Extra Packages for Enterprise Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-3195, GHSA-4f76-c3p6-5cgx, JLSEC-2026-904, OESA-2023-1405, OESA-2023-1406, SUSE-SU-2023:2870-1 and 1 more.

Is CVE-2023-3195 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free