Skip to content
OpenAdvisories
Unscored CVE-2017-11722 EUVD-2017-3332GHSA-m7rp-jrcg-r626

The WriteOnePNGImage function in coders/png.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (out-of-bounds …

Published Jul 28, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

The WriteOnePNGImage function in coders/png.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted file, because the program's actual control flow was inconsistent with its indentation. This resulted in a logging statement executing outside of a loop, and consequently using an invalid array index corresponding to the loop's exit condition.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 graphicsmagick 1.3.26-4 —
Debian 13 graphicsmagick 1.3.26-4 —
Debian 12 graphicsmagick 1.3.26-4 —
Debian 9 graphicsmagick 1.3.30+hg15796-1~deb9u1 DSA-4321-1
ReleasePackageFixed inAdvisory
Alpine v3.24 graphicsmagick 1.3.26-r2 —
Alpine v3.23 graphicsmagick 1.3.26-r2 —
Alpine v3.22 graphicsmagick 1.3.26-r2 —
Alpine v3.21 graphicsmagick 1.3.26-r2 —
Alpine v3.20 graphicsmagick 1.3.26-r2 —
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 graphicsmagick 1.3.26-r2 —
Alpine v3.18 graphicsmagick 1.3.26-r2 —
Alpine v3.17 graphicsmagick 1.3.26-r2 —
Alpine v3.16 graphicsmagick 1.3.26-r2 —
Alpine v3.15 graphicsmagick 1.3.26-r2 —
Alpine v3.14 graphicsmagick 1.3.26-r2 —
Alpine v3.13 graphicsmagick 1.3.26-r2 —
Alpine v3.12 graphicsmagick 1.3.26-r2 —
Alpine v3.11 graphicsmagick 1.3.26-r2 —
Alpine v3.10 graphicsmagick 1.3.26-r2 —
Alpine v3.9 graphicsmagick 1.3.26-r2 —

Advisories 1

References