Skip to content
OpenAdvisories
Unscored CVE-2018-5358 EUVD-2018-17137GHSA-w3v7-4j7j-756r

ImageMagick 7.0.7-22 Q16 has memory leaks in the EncodeImageAttributes function in coders/json.c, as demonstrated by the ReadPSDLayersInter…

Published Jan 12, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 imagemagick 8:6.9.9.34+dfsg-3 —
Debian 13 imagemagick 8:6.9.9.34+dfsg-3 —
Debian 12 imagemagick 8:6.9.9.34+dfsg-3 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS imagemagick 8:6.9.7.4+dfsg-16ubuntu6.2 USN-3681-1
Ubuntu 16.04 LTS imagemagick 8:6.8.9.9-7ubuntu5.11 USN-3681-1
Ubuntu 14.04 LTS imagemagick 8:6.7.7.10-6ubuntu3.11 USN-3681-1
ReleasePackageFixed inAdvisory
Alpine v3.16 imagemagick6 6.9.10.37-r0 —
Alpine v3.15 imagemagick6 6.9.10.37-r0 —
Alpine v3.14 imagemagick6 6.9.10.37-r0 —
Alpine v3.13 imagemagick6 6.9.10.37-r0 —
Alpine v3.12 imagemagick6 6.9.10.37-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.11 imagemagick6 6.9.10.37-r0 —
Alpine v3.10 imagemagick6 6.9.10.37-r0 —
Alpine v3.9 imagemagick6 6.9.10.39-r0 —
Alpine v3.8 imagemagick6 6.9.10.39-r0 —
Alpine v3.7 imagemagick6 6.9.10.39-r0 —

Advisories 1

References