CVE-2018-20189: Input Validation

Published Dec 17, 2018
·
Updated

In GraphicsMagick 1.3.31, the ReadDIBImage function of coders/dib.c has a vulnerability allowing a crash and denial of service via a dib file that is crafted to appear with direct pixel values and also colormapping (which is not available beyond 8-bits/sample), and therefore lacks indexes initialization.

Affected Software

18 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.31
Debian Debian Linux=8.0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0

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 alpine/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.3.32-r0

Event History

Dec 17, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
via NVD·08:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:29 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2018-20189?

CVE-2018-20189 is a vulnerability found in GraphicsMagick 1.3.31 that allows a crash and denial of service via a crafted dib file.

2

What is the severity of CVE-2018-20189?

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

3

How does CVE-2018-20189 affect GraphicsMagick?

CVE-2018-20189 affects GraphicsMagick 1.3.31, causing a crash and denial of service when processing a crafted dib file.

4

How can I fix CVE-2018-20189?

To fix CVE-2018-20189, you should update your GraphicsMagick installation to version 1.4+really1.3.35-1~deb10u2 or later.

5

Are there any additional references for CVE-2018-20189?

Yes, you can find more information about CVE-2018-20189 at the following links: http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e2b406589, http://www.securityfocus.com/bid/106227, https://lists.debian.org/debian-lts-announce/2018/12/msg00018.html.

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