CVE-2023-34151 Integer overflow in ImageMagick

Medium 5.5 Published Updated

An integer overflow in ImageMagick's SVG and MVG coders can lead to undefined behavior, potentially causing crashes or arbitrary code execution.

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-34151?

CVE-2023-34151 is a medium-severity vulnerability in Debian Debian Linux, published on 30 May 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 vulnerability was found in ImageMagick. 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).

Weakness: CWE-190

Which versions are affected by CVE-2023-34151?

It affects 5 products.

Linux distribution packages (6)
ImageMagick SUSE:Linux Enterprise Real Time 15 SP3All versions7.0.7.34-150200.10.48.1
ImageMagick SUSE:Linux Enterprise Server 12 SP5All versions6.8.8.1-71.189.1
ImageMagick SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions6.8.8.1-71.189.1
ImageMagick SUSE:Linux Enterprise Software Development Kit 12 SP5All versions6.8.8.1-71.189.1
ImageMagick SUSE:Linux Enterprise Workstation Extension 12 SP5All versions6.8.8.1-71.189.1
ImageMagick openSUSE:Leap 15.4All versions7.0.7.34-150200.10.48.1

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

How do I fix CVE-2023-34151?

Apply the vendor's patch.

Is CVE-2023-34151 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-34151, GHSA-cm6m-2vvh-cxc6, JLSEC-2026-905, OESA-2023-1347, OESA-2023-1348, SUSE-SU-2023:2345-1 and 3 more.

Is CVE-2023-34151 in your software?

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

Check your SBOMs for free