Out-of-bounds Read in Graphicsmagick
CVE-2017-11722
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.018, 78.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Graphicsmagick — versions 1.3.26
Weakness classification (CWE)
References
- DSA-4321 (vendor-advisory)
- hg.code.sf.net/p/graphicsmagick/code/rev/f423ba88ca4e (Patch, Third Party Advisory, Issue Tracking)
- FEDORA-2019-da4c20882c (vendor-advisory)
- FEDORA-2019-425a1aa7c9 (vendor-advisory)