Every CVE Search/ Get API key

CVE-2017-13140

In ImageMagick before 6.9.9-1 and 7.x before 7.0.6-2, the ReadOnePNGImage function in coders/png...

6.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.51%Down 0.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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.

Record
CVE-2017-13140
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2017-13140
Updated
2026-11-02
EUVDEUVD-2017-4657 No score

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.

Record
EUVD-2017-4657
Updated
2026-11-03
GitHub AdvisoriesGHSA-9gg7-975h-6rcg 6.5

In ImageMagick before 6.9.9-1 and 7.x before 7.0.6-2, the ReadOnePNGImage function in coders/png...

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.

Record
GHSA-9gg7-975h-6rcg
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-119
Updated
2026-11-02
OSV 6.5

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.

Record
CVE-2017-13140
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-13140 6.5

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.

Record
DEBIAN-CVE-2017-13140
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2018-0229 No score

Updated imagemagick packages fix security vulnerabilities

The imagemagick package has been updated to version 6.9.9.41 which fixes several unspecified security vulnerabilities. This update fixes several vulnerabilities in imagemagick, including: Various memory handling problems and cases of missing or incomplete input sanitising may result in denial of service, memory disclosure or the execution of arbitrary code if malformed GIF, TTF, SVG, TIFF, PCX, JPG or SFW files are processed.

Several packages have been rebuilt for the updated ImageMagick.

Record
MGASA-2018-0229
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
imagemagick
Debian:12
before 8:6.9.7.4+dfsg-15
8:6.9.7.4+dfsg-15
imagemagick
Debian:13
before 8:6.9.7.4+dfsg-15
8:6.9.7.4+dfsg-15
imagemagick
Debian:14
before 8:6.9.7.4+dfsg-15
8:6.9.7.4+dfsg-15
imagemagick
Debian:9
From an advisory covering 22 CVEs
before 8:6.9.7.4+dfsg-11+deb9u2, plus listed versions
8:6.9.7.4+dfsg-118:6.9.7.4+dfsg-11+deb9u1
8:6.9.7.4+dfsg-11+deb9u2
converseen
Mageia:6
From an advisory covering 104 CVEs
before 0.9.6.2-1.3.mga6
0.9.6.2-1.3.mga6
cuneiform-linux
Mageia:6
From an advisory covering 104 CVEs
before 1.1.0-9.2.mga6
1.1.0-9.2.mga6
dvdauthor
Mageia:6
From an advisory covering 104 CVEs
before 0.7.2-2.2.mga6
0.7.2-2.2.mga6
emacs
Mageia:6
From an advisory covering 104 CVEs
before 24.5-8.3.mga6
24.5-8.3.mga6
imagemagick
Mageia:6
From an advisory covering 104 CVEs
before 6.9.9.41-1.mga6
6.9.9.41-1.mga6
inkscape
Mageia:6
From an advisory covering 104 CVEs
before 0.92.1-2.2.mga6
0.92.1-2.2.mga6
Show 14 moreShow less
Affected packages
PackageAffectedFixed
k3d
Mageia:6
From an advisory covering 104 CVEs
before 0.8.0.5-5.2.mga6
0.8.0.5-5.2.mga6
kxstitch
Mageia:6
From an advisory covering 104 CVEs
before 2.0.0-2.2.mga6
2.0.0-2.2.mga6
libopenshot
Mageia:6
From an advisory covering 104 CVEs
before 0.1.8-1.2.mga6
0.1.8-1.2.mga6
ocaml-glmlite
Mageia:6
From an advisory covering 104 CVEs
before 0.03.51-17.2.mga6
0.03.51-17.2.mga6
perl-Image-SubImageFind
Mageia:6
From an advisory covering 104 CVEs
before 0.30.0-6.2.mga6
0.30.0-6.2.mga6
pfstools
Mageia:6
From an advisory covering 104 CVEs
before 2.0.6-3.2.mga6
2.0.6-3.2.mga6
php-imagick
Mageia:6
From an advisory covering 104 CVEs
before 3.4.1-6.2.mga6
3.4.1-6.2.mga6
php-magickwand
Mageia:6
From an advisory covering 104 CVEs
before 1.0.9.2-10.2.mga6
1.0.9.2-10.2.mga6
psiconv
Mageia:6
From an advisory covering 104 CVEs
before 0.9.8-26.2.mga6
0.9.8-26.2.mga6
pythonmagick
Mageia:6
From an advisory covering 104 CVEs
before 0.9.12-7.2.mga6
0.9.12-7.2.mga6
ruby-rmagick
Mageia:6
From an advisory covering 104 CVEs
before 2.15.4-12.2.mga6
2.15.4-12.2.mga6
synfig
Mageia:6
From an advisory covering 104 CVEs
before 1.2.1-2.2.mga6
1.2.1-2.2.mga6
vdr-plugin-skinelchi
Mageia:6
From an advisory covering 104 CVEs
before 0.2.8-8.2.mga6
0.2.8-8.2.mga6
vdr-plugin-skinenigmang
Mageia:6
From an advisory covering 104 CVEs
before 0.1.2-10.2.mga6
0.1.2-10.2.mga6

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-13140 is a medium vulnerability (CVSS 6.5) in Imagemagick, published August 23, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.51%, the 74th percentile. Fixed in imagemagick 8:6.9.7.4+dfsg-15.

References

Show 4 moreShow less
MoveEnter Open