CVE-2023-39978
ImageMagick vulnerability analysis and mitigation

Overview

ImageMagick before version 6.9.12-91 contains a memory leak vulnerability (CVE-2023-39978) in the Magick::Draw component. The vulnerability was discovered in July 2023 and affects ImageMagick versions from 6.9.12-78 up to versions before 6.9.12-91 (Debian Tracker).

Technical details

The vulnerability is classified with a CVSS v3.1 Base Score of 3.3 (Low) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L. The issue is categorized as CWE-401 (Missing Release of Memory after Effective Lifetime). The memory leak was introduced in version 6.9.12-78 through commit e8c0090c6, which implemented a recursion detection framework (NVD, Ubuntu Security).

Impact

The vulnerability allows attackers to cause a denial of service condition through memory consumption in the Magick::Draw component. The impact is limited to availability, with no effects on confidentiality or integrity of the system (NVD).

Mitigation and workarounds

The vulnerability was fixed in ImageMagick version 6.9.12-91. The fix involved removing unnecessary GetDrawInfo() calling in the Magick::Draw component. Users are advised to upgrade to version 6.9.12-91 or later to address this vulnerability (ImageMagick Commit).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management