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.
Advisories
Source ID Title
Debian DSA Debian DSA DSA-4321-1 graphicsmagick security update
EUVD EUVD EUVD-2017-3332 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T18:19:39.011Z

Reserved: 2017-07-28T00:00:00

Link: CVE-2017-11722

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2017-07-28T13:29:00.260

Modified: 2025-04-20T01:37:25.860

Link: CVE-2017-11722

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.