ImageMagick Vulnerabilities Expose Ubuntu Systems to DoS and Code Execution
Multiple memory handling flaws in ImageMagick affect all recent Ubuntu LTS versions, potentially enabling denial of service or remote code execution.
TL;DR
- Four vulnerabilities found in ImageMagick impact Ubuntu 14.04 through 26.04 LTS releases.
- Issues stem from improper memory operations and integer arithmetic handling.
- Attackers may trigger denial of service or execute arbitrary code remotely.
- All active Ubuntu Long Term Support versions are affected.
- System administrators should apply updates immediately.
Ubuntu has released security updates addressing multiple vulnerabilities in ImageMagick, a widely used image processing library. These flaws affect nearly every Long Term Support release of Ubuntu and could allow attackers to crash services or run malicious code.
The issues stem from how ImageMagick handles memory operations and integer calculations when processing untrusted images. Because many web applications rely on ImageMagick for dynamic image manipulation, these bugs represent a significant risk to server environments where user input is processed.
Vulnerability Breakdown
- CVE-2026-33535 allows denial of service via malformed memory operations
- CVE-2026-33536 can lead to both DoS and arbitrary code execution
- CVE-2026-34238 involves unsafe integer arithmetic that may enable crashes or code execution
- CVE-2026-40310 affects newer Ubuntu versions including 26.04 LTS with similar risks
Impact and Mitigation
- All Ubuntu LTS versions from 14.04 through 26.04 are impacted
- Web applications using ImageMagick to process external images are most at risk
- Administrators should update ImageMagick packages immediately using apt
- Consider disabling unnecessary image formats until patches are applied
- Review logs for unusual crashes or resource consumption related to image processing
Sources
Sources
Security email updates
One digest email when we publish new security articles (TL;DR plus links to read more). Unsubscribe anytime from the message footer. See our Privacy Policy.