CVE-2018-5685: Medium severity GraphicsMagick Graphicsmagick vulnerability

Published Jan 14, 2018
·
Updated

In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.

Affected Software

5 affected componentsFixes available
debian/graphicsmagick
1.4+really1.3.36+hg16481-2+deb11u11.4+really1.3.40-41.4+really1.3.45+hg17689-1
GraphicsMagick Graphicsmagick=1.3.27
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 1.4+really1.3.36+hg16481-2+deb11u1Fixed in 1.4+really1.3.40-4Fixed in 1.4+really1.3.45+hg17689-1
  2. Upgrade

    Upgrade GraphicsMagick to a version that resolves this vulnerability.

    Fixed in 1.3.27
  3. Compensating control

    Mitigate denial-of-service exposure by not processing untrusted or user-supplied BMP images (especially those containing crafted bit-field mask values) until the affected GraphicsMagick version is remediated.

Event History

Jan 14, 2018
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Data Sourced
via NVD·02:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:08 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:06 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this GraphicsMagick vulnerability?

The vulnerability ID for this GraphicsMagick vulnerability is CVE-2018-5685.

2

What is the severity of CVE-2018-5685?

The severity of CVE-2018-5685 is medium, with a severity value of 6.5.

3

How does CVE-2018-5685 affect GraphicsMagick?

CVE-2018-5685 affects GraphicsMagick by causing an infinite loop and application hang in the ReadBMPImage function.

4

How can remote attackers exploit CVE-2018-5685?

Remote attackers can exploit CVE-2018-5685 by leveraging the vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.

5

How can I fix the CVE-2018-5685 vulnerability?

To fix the CVE-2018-5685 vulnerability, update GraphicsMagick to version 1.4+really1.3.35-1 (or later) for Debian-based systems, or version 1.3.18-1ubuntu3.1 (or later) for Ubuntu-based systems.

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