CVE-2018-5358
published 2018-01-12CVE-2018-5358: ImageMagick 7.0.7-22 Q16 has memory leaks in the EncodeImageAttributes function in coders/json.c, as demonstrated by the ReadPSDLayersInternal function in…
PriorityP425medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
1.69%
74.4th percentile
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.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | imagemagick | < imagemagick 8:6.9.9.34+dfsg-3 (bookworm) | imagemagick 8:6.9.9.34+dfsg-3 (bookworm) |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5LOW
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-w3v7-4j7j-756r: ImageMagick 7
ghsa_unreviewed·2022-05-13
CVE-2018-5358 [MEDIUM] CWE-772 GHSA-w3v7-4j7j-756r: ImageMagick 7
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.
OSV
CVE-2018-5358: ImageMagick 7
osv·2018-01-12·CVSS 6.5
CVE-2018-5358 [MEDIUM] CVE-2018-5358: ImageMagick 7
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.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2018-06-12
CVE-2017-1000445 ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
It was discovered that ImageMagick incorrectly handled certain malformed
image files. If a user or automated system using ImageMagick were tricked
into opening a specially crafted image, an attacker could exploit this to
cause a denial of service or possibly execute code with the privileges of
the user invoking the program.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ImageMagick: memory leak in coders/json.c:EncodeImageAttributes could cause crash
vendor_redhat·2018-01-12·CVSS 6.5
CVE-2018-5358 [MEDIUM] CWE-400 ImageMagick: memory leak in coders/json.c:EncodeImageAttributes could cause crash
ImageMagick: memory leak in coders/json.c:EncodeImageAttributes could cause crash
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.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Not affected
Package: ImageMagick (Red Hat Enterprise Linux 6) - Not affected
Package: ImageMagick (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2018-5358: imagemagick - ImageMagick 7.0.7-22 Q16 has memory leaks in the EncodeImageAttributes function ...
vendor_debian·2018·CVSS 6.5
CVE-2018-5358 [MEDIUM] CVE-2018-5358: imagemagick - ImageMagick 7.0.7-22 Q16 has memory leaks in the EncodeImageAttributes function ...
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.
Scope: local
bookworm: resolved (fixed in 8:6.9.9.34+dfsg-3)
bullseye: resolved (fixed in 8:6.9.9.34+dfsg-3)
forky: resolved (fixed in 8:6.9.9.34+dfsg-3)
sid: resolved (fixed in 8:6.9.9.34+dfsg-3)
trixie: resolved (fixed in 8:6.9.9.34+dfsg-3)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-5358 ImageMagick: memory leak in coders/json.c:EncodeImageAttributes could cause crash
bugzilla·2018-01-15·CVSS 6.5
CVE-2018-5358 [MEDIUM] CVE-2018-5358 ImageMagick: memory leak in coders/json.c:EncodeImageAttributes could cause crash
CVE-2018-5358 ImageMagick: memory leak in coders/json.c:EncodeImageAttributes could cause crash
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.
References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-5358
https://github.com/ImageMagick/ImageMagick/issues/939
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1534381]
---
According to upstream changelog, the support for json coder was added in version 6.8.8-3.
Bugzilla
CVE-2018-5358 ImageMagick: memory leak in coders/json.c:EncodeImageAttributes could cause crash [fedora-all]
bugzilla·2018-01-15·CVSS 6.5
CVE-2018-5358 [MEDIUM] CVE-2018-5358 ImageMagick: memory leak in coders/json.c:EncodeImageAttributes could cause crash [fedora-all]
CVE-2018-5358 ImageMagick: memory leak in coders/json.c:EncodeImageAttributes could cause crash [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affe
2018-01-12
Published