SecurityContext

CVE-2018-5358: ImageMagick - Resource Exhaustion

  • Cve: CVE-2018-5358
  • Name: ImageMagick - Resource Exhaustion
  • Description: ImageMagick 7.0.7-22 Q16 has memory leaks in the EncodeImageAttributes function in coders/json.c, as demonstrated by the ReadPSDLayersInternal function in coders/psd.c.
  • Impact: Memory leaks can lead to resource exhaustion, potentially causing denial of service or system instability.
  • Remediation: Update to the latest version of ImageMagick where the memory leaks are fixed.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.01691
  • Epss percentile: 0.77674
  • Assignee: [email protected]
  • Published at: 2018-01-12T09:29:00Z
  • Age in days: 3238
  • Modified at: 2026-06-17T02:00:10Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-5358
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-772Missing Release of Resource after Effective Lifetime

Public exploits

UrlSourceAdded date
https://github.com/ImageMagick/ImageMagick/issues/939nvd2018-01-12

References

UrlSourceTags
https://github.com/ImageMagick/ImageMagick/issues/939nvdExploit, Third Party Advisory
https://usn.ubuntu.com/3681-1/nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
imagemagick:imagemagick= 7.0.7-22 q16nonvd/v1/products/imagemagick/imagemagick
canonical:ubuntu_linux= 18.04, = 17.10, = 16.04, = 14.04nonvd/v1/products/canonical/ubuntu_linux

Projects

RepositoryLink kindsIndexedUrl
ImageMagick/ImageMagickissuesyes/v1/repositories/ImageMagick/ImageMagick

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-01-12
  • Remote: yes
  • Exposed hosts: 21109361
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports