CVE-2023-1906 Memory corruption in ImageMagick
A heap-based buffer overflow in ImageMagick allows attackers to crash applications via specially crafted files, causing denial of service.
- 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-1906?
CVE-2023-1906 is a medium-severity memory corruption vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 12 Apr 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 heap-based buffer overflow issue was discovered in ImageMagick's ImportMultiSpectralQuantum() function in MagickCore/quantum-import.c. An attacker could pass specially crafted file to convert, triggering an out-of-bounds read error, allowing an application to crash, resulting in a denial of service.
Which versions are affected by CVE-2023-1906?
It affects 3 products.
Linux distribution packages (4)
ImageMagick SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 | All versions | 7.1.0.9-150400.6.18.1 |
ImageMagick SUSE:Linux Enterprise Module for Development Tools 15 SP4 | All versions | 7.1.0.9-150400.6.18.1 |
ImageMagick openSUSE:Leap 15.4 | All versions | 7.1.0.9-150400.6.18.1 |
ImageMagick openSUSE:Tumbleweed | All versions | 7.1.1.6-1.1 |
Products include Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Imagemagick Imagemagick.
How do I fix CVE-2023-1906?
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-1906 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1906 exists.
Other vulnerabilities in Fedoraproject Extra Packages for Enterprise Linux
- CVE-2023-34152 Command injection in ImageMagick
- CVE-2022-4170 Code injection in rxvt-unicode
- CVE-2022-40315 Moodle Minor SQL injection risk in admin user browsing
- CVE-2022-45152 Moodle blind Server-Side Request Forgery (SSRF) vulnerability in LTI provider library
- CVE-2022-24882 Server side NTLM does not properly check parameters in FreeRDP
All Fedoraproject Extra Packages for Enterprise Linux vulnerabilities
Sources
Also known as DEBIAN-CVE-2023-1906, GHSA-35q2-86c7-9247, GHSA-vpgp-gjqv-364p, JLSEC-2026-902, MGASA-2023-0161, SUSE-SU-2023:1927-1 and 2 more.