CVE-2017-14624
Critical · 9.8CVSS
9.8
EPSS
3.2%
Published
Sep 21, 2017
CISA due date
—
Cloudanix analysis
A flaw in image handling software lets attackers crash or potentially seize control of systems by sending specially crafted image files.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
NULL pointer dereference in PostscriptDelegateMessage within ImageMagick coders/ps.c during Postscript processing, leading to memory corruption that can cause crashes or potential remote code execution.
Why it matters to the business
Services relying on affected ImageMagick deployments face risk of denial of service or full system compromise; high ecosystem prevalence in containerized DNS and service mesh components amplifies operational exposure despite no known ransomware usage.
How an attack unfolds
An attacker supplies a malformed Postscript input that reaches the vulnerable delegate message handler, triggering the NULL dereference; no named threat actors or campaigns are associated with exploitation.
How to fix it
Upgrade affected packages to the listed fixed versions (coredns (Chainguard): fixed in 0, coredns (Wolfi): fixed in 0, kuma-coredns (Chainguard): fixed in 0, kuma-coredns (Wolfi): fixed in 0); isolate or disable Postscript delegate processing where upgrades are unavailable.
How to confirm the fix worked
Confirm package versions match fixed releases; test processing of known-bad Postscript samples in isolated environments and monitor for absence of dereference crashes.
Typical attack path
- Identify service accepting image or Postscript input processed by ImageMagick
- Craft and deliver malicious Postscript payload over network
- Trigger PostscriptDelegateMessage execution path
- Induce NULL pointer dereference for crash or code execution
How to detect it
Inspect application logs for ImageMagick crashes during Postscript handling; correlate with inbound network traffic containing Postscript content; no specific threat actor IOCs available.
What your security team should do
- Prioritize upgrade of all listed coredns and kuma-coredns packages to fixed versions immediately
- Review and restrict Postscript delegate usage in ImageMagick configurations
- Monitor EPSS and KEV updates given the 9.8 CVSS and stable exploit maturity
The record
ImageMagick 7.0.7-0 Q16 has a NULL Pointer Dereference vulnerability in the function PostscriptDelegateMessage in coders/ps.c.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | imagemagick | 0 | 8:6.9.9.34+dfsg-3 |
| Debian:11 | imagemagick | 0 | 8:6.9.9.34+dfsg-3 |
| Debian:12 | imagemagick | 0 | 8:6.9.9.34+dfsg-3 |
| Debian:13 | imagemagick | 0 | 8:6.9.9.34+dfsg-3 |
| Debian:8 | imagemagick | 0 | 8:6.8.9.9-5+deb8u16 |
| Debian:9 | imagemagick | 0 | 8:6.9.7.4+dfsg-11+deb9u10 |
| Ubuntu:14.04:LTS | imagemagick | 0 | 8:6.7.7.10-6ubuntu3.11 |
| Ubuntu:16.04:LTS | imagemagick | 0 | 8:6.8.9.9-7ubuntu5.11 |
| Ubuntu:18.04:LTS | imagemagick | 0 | 8:6.9.7.4+dfsg-16ubuntu6.2 |
Related vulnerabilities
- CVE-2017-17682 In ImageMagick 7.0.7-12 Q16, a large loop vulnerability was found in the function… Also affects imagemagick
- CVE-2017-17681 In ImageMagick 7.0.7-12 Q16, an infinite loop vulnerability was found in the function… Also affects imagemagick
- CVE-2017-15281 ReadPSDImage in coders/psd.c in ImageMagick 7.0.7-6 allows remote attackers to cause a… Also affects imagemagick
- CVE-2017-15017 ImageMagick 7.0.7-0 Q16 has a NULL pointer dereference vulnerability in ReadOneMNGImage… Also affects imagemagick
- CVE-2017-15015 ImageMagick 7.0.7-0 Q16 has a NULL pointer dereference vulnerability in… Also affects imagemagick
- CVE-2017-14739 The AcquireResampleFilterThreadSet function in magick/resample-private.h in ImageMagick… Also affects imagemagick
- CVE-2017-14741 The ReadCAPTIONImage function in coders/caption.c in ImageMagick 7.0.7-3 allows remote… Also affects imagemagick
- CVE-2017-14626 ImageMagick 7.0.7-0 Q16 has a NULL Pointer Dereference vulnerability in the function… Also affects imagemagick