CVE-2017-12937: High severity GraphicsMagick Graphicsmagick vulnerability

Published Aug 18, 2017
·
Updated

Last updated 25 August 2025

Other sources

The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has a colormap heap-based buffer over-read.

Launchpad

Affected Software

4 affected componentsFixes available
GraphicsMagick Graphicsmagick=1.3.26
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/graphicsmagick
1.4+really1.3.36+hg16481-2+deb11u11.4+really1.3.40-4+deb12u11.4+really1.3.45+hg17696-11.4+really1.3.46-2

Event History

Aug 18, 2017
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·08:20 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·08:21 PM
DescriptionAffected Software
Data Sourced
via Launchpad·08:21 PM
Description

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2017-12937.

2

What is the severity of CVE-2017-12937?

The severity of CVE-2017-12937 is high with a score of 8.8.

3

Which software is affected by CVE-2017-12937?

The affected software is GraphicsMagick versions 1.3.26, 1.4+really1.3.35-1~deb10u2, 1.4+really1.3.35-1~deb10u3, 1.4+really1.3.36+hg16481-2+deb11u1, 1.4+really1.3.40-4, and 1.4+really1.3.42-1 on Debian. It is also affected on Ubuntu versions 1.3.23-1ubuntu0.3 (xenial) and 1.3.18-1ubuntu3.1+ (trusty).

4

How do I fix CVE-2017-12937?

To fix CVE-2017-12937, you should update to the patched versions: 1.4+really1.3.35-1~deb10u2, 1.4+really1.3.35-1~deb10u3, 1.4+really1.3.36+hg16481-2+deb11u1, 1.4+really1.3.40-4, or 1.4+really1.3.42-1 if you are using GraphicsMagick on Debian. On Ubuntu, update to version 1.3.23-1ubuntu0.3 (if using xenial) or version 1.3.18-1ubuntu3.1+ (if using trusty).

5

Are there any additional references for CVE-2017-12937?

Yes, you can find more information about CVE-2017-12937 at the following references: - [Code Commit](http://hg.code.sf.net/p/graphicsmagick/code/rev/95d00d55e978) - [SecurityFocus](http://www.securityfocus.com/bid/100442) - [Gentoo Blog](https://blogs.gentoo.org/ago/2017/08/05/graphicsmagick-heap-based-buffer-overflow-in-readsunimage-sun-c/)

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