CVE-2017-13140
published 2017-08-23CVE-2017-13140: 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…
PriorityP423medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
1.51%
71.6th percentile
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.
Affected
63 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | imagemagick | < imagemagick 8:6.9.7.4+dfsg-15 (bookworm) | imagemagick 8:6.9.7.4+dfsg-15 (bookworm) |
| imagemagick | imagemagick | <= 6.9.9-0 | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
ImageMagick: Denial of service in ReadOnePNGImage function in coders/png.c
vendor_redhat·2017-08-23·CVSS 6.5
CVE-2017-13140 [MEDIUM] CWE-770 ImageMagick: Denial of service in ReadOnePNGImage function in coders/png.c
ImageMagick: Denial of service in ReadOnePNGImage function in coders/png.c
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.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 6) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 7) - Will not fix
Package: ImageMagick (Red Hat OpenShift Enterprise 2) - Will not fix
Debian
CVE-2017-13140: imagemagick - In ImageMagick before 6.9.9-1 and 7.x before 7.0.6-2, the ReadOnePNGImage functi...
vendor_debian·2017·CVSS 6.5
CVE-2017-13140 [MEDIUM] CVE-2017-13140: imagemagick - In ImageMagick before 6.9.9-1 and 7.x before 7.0.6-2, the ReadOnePNGImage functi...
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.
Scope: local
bookworm: resolved (fixed in 8:6.9.7.4+dfsg-15)
bullseye: resolved (fixed in 8:6.9.7.4+dfsg-15)
forky: resolved (fixed in 8:6.9.7.4+dfsg-15)
sid: resolved (fixed in 8:6.9.7.4+dfsg-15)
trixie: resolved (fixed in 8:6.9.7.4+dfsg-15)
GHSA
GHSA-9gg7-975h-6rcg: In ImageMagick before 6
ghsa_unreviewed·2022-05-17
CVE-2017-13140 [MEDIUM] CWE-119 GHSA-9gg7-975h-6rcg: In ImageMagick before 6
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.
OSV
CVE-2017-13140: In ImageMagick before 6
osv·2017-08-23·CVSS 6.5
CVE-2017-13140 [MEDIUM] CVE-2017-13140: In ImageMagick before 6
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-13140 ImageMagick: Denial of service in ReadOnePNGImage function in coders/png.c
bugzilla·2017-08-30·CVSS 6.5
CVE-2017-13140 [MEDIUM] CVE-2017-13140 ImageMagick: Denial of service in ReadOnePNGImage function in coders/png.c
CVE-2017-13140 ImageMagick: Denial of service in ReadOnePNGImage function in coders/png.c
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.
Upstream bug:
https://github.com/ImageMagick/ImageMagick/issues/596
Upstream patch:
https://github.com/ImageMagick/ImageMagick/commit/75f7e994e4e990627a5a37385bcc9a0205013645
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1486807]
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]
bugzilla·2017-08-30·CVSS 9.8
CVE-2017-13139 [CRITICAL] 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]
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]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog an
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870111https://github.com/ImageMagick/ImageMagick/issues/596https://security.gentoo.org/glsa/201711-07https://www.debian.org/security/2017/dsa-4019https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870111https://github.com/ImageMagick/ImageMagick/issues/596https://security.gentoo.org/glsa/201711-07https://www.debian.org/security/2017/dsa-4019
2017-08-23
Published