CVE-2017-12140: imagemagick Uncontrolled Resource Consumption
CVSS: 7.1v2.0HighModified
AliasesUBUNTU-CVE-2017-12140DEBIAN-CVE-2017-12140
Published 02-08-2017Last modified 05-08-2024
Vulnerability summary
CVE-2017-12140 is a high (CVSS 7.1) Uncontrolled Resource Consumption vulnerability in imagemagick. EPSS estimates a 2.23% chance of exploitation in the next 30 days, higher than 82.4% of scored vulnerabilities.
CVSS score
7.1/10
010
High · v2.0 (NVD)EPSS score
2.23%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 7 · Related 4Timeline
- 02-08-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
The ReadDCMImage function in coders\dcm.c in ImageMagick 7.0.6-1 has an integer signedness error leading to excessive memory consumption via a crafted DCM file.
CVSS metrics
4 scores · 3 sources · 2 versionsMedium 6.5Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
High 7.1Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:N/I:N/A:CSourcesSingle source
EPSS trend
Probability
2.23%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
0.00 pp
From 2.23% on 18-09-2026
18-09-202618-10-2026
EPSS score2.23%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-681Incorrect Conversion between Numeric TypesWhen converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.
Affected systems
Debian1 product
- imagemagick< 8:6.9.9.34+dfsg-3
Imagemagick1 product
- imagemagick7.0.6-1
Ubuntu1 product
- imagemagick< 8:6.7.7.10-6ubuntu3.11 | < 8:6.8.9.9-7ubuntu5.11 | < 8:6.9.7.4+dfsg-16ubuntu6.2
3 vendors · 3 products
References
10 links- github.com/ImageMagick/ImageMagick/issues/533X Refsource CONFIRMIssue TrackingPatchThird Party Advisory