CVE-2017-17782: High severity GraphicsMagick Graphicsmagick vulnerability

Published Dec 20, 2017
·
Updated

In GraphicsMagick 1.3.27a, there is a heap-based buffer over-read in ReadOneJNGImage in coders/png.c, related to oFFs chunk allocation.

Affected Software

24 affected componentsFixes available
GraphicsMagick Graphicsmagick=1.3.27a
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/graphicsmagick
1.3.16-1.1+deb7u161.3.20-3+deb8u31.3.30+hg15796-1~deb9u11.3.27-2
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
debian/graphicsmagick<1.3.27-2
1.3.27-2
debian/graphicsmagick<1.3.27-2
1.3.27-2
debian/graphicsmagick<1.3.27-2
1.3.27-2

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.3.16-1.1+deb7u16Fixed in 1.3.20-3+deb8u3Fixed in 1.3.30+hg15796-1~deb9u1Fixed in 1.3.27-2
  2. Upgrade

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

    Fixed in 1.3.27-r0
  3. Upgrade

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

    Fixed in 1.3.27-2

Event History

Dec 20, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·09:00 AM
Data Sourced
via MITRE·09:00 AM
Description
Data Sourced
via OSV·09:29 AM
DescriptionSeverityAffected Software
Jan 27, 2020
Data Sourced
09:15 PM
Weakness
Nov 7, 2023
Data Sourced
via NVD·02:41 AM
DescriptionSeverityWeaknessAffected Software
Updated
02:41 AM
Affected Software
Apr 20, 2025
Updated
via NVD·01:37 AM
Affected Software
Dec 3, 2026
Updated
via OSV·11:31 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID of this vulnerability?

The vulnerability ID is CVE-2017-17782.

2

What is the severity of CVE-2017-17782?

The severity of CVE-2017-17782 is high (8.8).

3

Which software versions are affected by CVE-2017-17782?

GraphicsMagick versions 1.3.18-1ubuntu3.1+ and 1.3.23-1ubuntu0.5 are affected by CVE-2017-17782.

4

How do I fix CVE-2017-17782 in GraphicsMagick?

To fix CVE-2017-17782 in GraphicsMagick, update to version 1.3.18-1ubuntu3.1+ for Ubuntu or version 1.3.23-1ubuntu0.5 for Xenial.

5

Where can I find more information about CVE-2017-17782?

You can find more information about CVE-2017-17782 at the following references: [Link1](http://hg.graphicsmagick.org/hg/GraphicsMagick?cmd=changeset;node=8e3d2264109c), [Link2](https://sourceforge.net/p/graphicsmagick/bugs/530/), [Link3](https://lists.debian.org/debian-lts-announce/2018/01/msg00005.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