CVE-2018-5358: Medium severity ImageMagick vulnerability

Published Jan 12, 2018
·
Updated

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 Software

6 affected componentsFixes available
ImageMagick=7.0.7-22-q16
Ubuntu Linux=14.04
Ubuntu Linux=16.04
Ubuntu Linux=17.10
Ubuntu Linux=18.04
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u48:6.9.11.60+dfsg-1.3+deb11u58:6.9.11.60+dfsg-1.6+deb12u28:6.9.11.60+dfsg-1.6+deb12u18:7.1.1.43+dfsg1-18:7.1.1.47+dfsg1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.11.60+dfsg-1.3+deb11u4Fixed in 8:6.9.11.60+dfsg-1.3+deb11u5Fixed in 8:6.9.11.60+dfsg-1.6+deb12u2Fixed in 8:6.9.11.60+dfsg-1.6+deb12u1Fixed in 8:7.1.1.43+dfsg1-1Fixed in 8:7.1.1.47+dfsg1-1

Event History

Jan 12, 2018
CVE Published
via MITRE·09:00 AM
Data Sourced
via MITRE·09:00 AM
Description
Data Sourced
via NVD·09:29 AM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:08 PM
Description
Sep 15, 2024
Data Sourced
via Ubuntu·10:51 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-5358?

The severity of CVE-2018-5358 is medium with a CVSS score of 6.5.

2

How does CVE-2018-5358 affect ImageMagick?

CVE-2018-5358 affects ImageMagick version 7.0.7-22 Q16 and earlier versions.

3

What is the remedy for CVE-2018-5358 in Ubuntu?

The recommended remedy for CVE-2018-5358 in Ubuntu is to update ImageMagick to version 8:6.9.7.4+dfsg-16ubuntu2.2 or later.

4

What is the remedy for CVE-2018-5358 in Canonical Ubuntu Linux 14.04 LTS?

The recommended remedy for CVE-2018-5358 in Canonical Ubuntu Linux 14.04 LTS is to update ImageMagick.

5

Where can I find more information about CVE-2018-5358?

You can find more information about CVE-2018-5358 on the GitHub page and the Ubuntu Security Notice page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203