CVE-2017-12670: imagemagick Improper Input Validation
CVSS: 6.5v3.0MediumModified
AliasesUBUNTU-CVE-2017-12670DEBIAN-CVE-2017-12670
Published 07-08-2017Last modified 05-08-2024
Vulnerability summary
CVE-2017-12670 is a medium (CVSS 6.5) Improper Input Validation vulnerability in imagemagick. EPSS estimates a 1.48% chance of exploitation in the next 30 days, higher than 73.4% of scored vulnerabilities.
CVSS score
6.5/10
010
Medium · v3.0 (NVD)EPSS score
1.48%
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 5 · Related 3Timeline
- 07-08-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
In ImageMagick 7.0.6-3, missing validation was found in coders/mat.c, leading to an assertion failure in the function DestroyImage in MagickCore/image.c, which allows attackers to cause a denial of service.
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
Medium 4.3Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
1.48%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
0.00 pp
From 1.48% on 18-09-2026
18-09-202618-10-2026
EPSS score1.48%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-617Reachable AssertionThe product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.
Affected systems
Debian1 product
- imagemagick< 8:6.9.7.4+dfsg-14
Imagemagick1 product
- imagemagick7.0.6-3
Ubuntu1 product
- imagemagick< 8:6.7.7.10-6ubuntu3.11 | < 8:6.8.9.9-7ubuntu5.11
3 vendors · 3 products
References
9 links- github.com/ImageMagick/ImageMagick/issues/610X Refsource CONFIRMIssue TrackingPatchThird Party Advisory