ImageMagick 7.0.6-1 coders/xpm.c GetPixelIndex memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in ImageMagick 7.0.6-1. It has been rated as critical. This issue affects the function GetPixelIndex of the file coders/xpm.c. The manipulation leads to memory corruption.
This vulnerability is referenced as CVE-2017-11540. Remote exploitation of the attack is possible. No exploit is available.
Details
A vulnerability was found in ImageMagick 7.0.6-1 (Image Processing Software) and classified as critical. This issue affects the function GetPixelIndex of the file coders/xpm.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
When ImageMagick 7.0.6-1 processes a crafted file in convert, it can lead to a heap-based buffer over-read in the GetPixelIndex() function, called from the WritePICONImage function in coders/xpm.c.
The bug was discovered 07/18/2017. The weakness was published 07/23/2017 (GitHub Repository). The advisory is shared at github.com. The identification of this vulnerability is CVE-2017-11540 since 07/22/2017. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 4 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 220464 (Linux Distros Unpatched Vulnerability : CVE-2017-11540), which helps to determine the existence of the flaw in a target environment.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at Tenable (220464) and SecurityFocus (BID 99929†). Similar entries are available at VDB-104404, VDB-104403, VDB-104402 and VDB-104401. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
License
Website
- Product: https://www.imagemagick.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.1
VulDB Base Score: 6.3
VulDB Temp Score: 5.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 220464
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2017-11540
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
07/18/2017 🔍07/22/2017 🔍
07/22/2017 🔍
07/23/2017 🔍
07/23/2017 🔍
07/24/2017 🔍
03/05/2025 🔍
Sources
Product: imagemagick.orgAdvisory: 581
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-11540 (🔍)
GCVE (CVE): GCVE-0-2017-11540
GCVE (VulDB): GCVE-100-104405
SecurityFocus: 99929 - ImageMagick CVE-2017-11540 Heap Buffer Overflow Vulnerability
See also: 🔍
Entry
Created: 07/23/2017 10:19Updated: 03/05/2025 00:38
Changes: 07/23/2017 10:19 (60), 10/31/2019 15:40 (4), 12/13/2022 16:21 (4), 03/05/2025 00:38 (16)
Complete: 🔍
Cache ID: 216:D3E:103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.