CVE-2017-13140Improper Restriction of Operations within the Bounds of a Memory Buffer in Imagemagick

Severity
6.5MEDIUMNVD
EPSS
0.4%
top 38.42%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 23
Latest updateMay 17

Description

In ImageMagick before 6.9.9-1 and 7.x before 7.0.6-2, the ReadOnePNGImage function in coders/png.c allows remote attackers to cause a denial of service (application hang in LockSemaphoreInfo) via a PNG file with a width equal to MAGICK_WIDTH_LIMIT.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 2.8 | Impact: 3.6

Affected Packages3 packages

debiandebian/imagemagick< imagemagick 8:6.9.7.4+dfsg-15 (bookworm)
Debianimagemagick/imagemagick< 8:6.9.7.4+dfsg-15+3
NVDimagemagick/imagemagick6.9.9-0+57

Patches

🔴Vulnerability Details

2
GHSA
GHSA-9gg7-975h-6rcg: In ImageMagick before 62022-05-17
OSV
CVE-2017-13140: In ImageMagick before 62017-08-23

📋Vendor Advisories

2
Red Hat
ImageMagick: Denial of service in ReadOnePNGImage function in coders/png.c2017-08-23
Debian
CVE-2017-13140: imagemagick - In ImageMagick before 6.9.9-1 and 7.x before 7.0.6-2, the ReadOnePNGImage functi...2017

💬Community

2
Bugzilla
CVE-2017-13140 ImageMagick: Denial of service in ReadOnePNGImage function in coders/png.c2017-08-30
Bugzilla
CVE-2017-13139 CVE-2017-13140 CVE-2017-13141 CVE-2017-13142 CVE-2017-13143 CVE-2017-13144 CVE-2017-13145 CVE-2017-13146 ImageMagick: various flaws [fedora-all]2017-08-30