ImageMagick: Heap-based buffer overflow in enhance.c
Published Aug 28, 2017
6.5
MEDIUMCVSS 3.1
EPSS 2.99%
Description
Heap-based buffer overflow in enhance.c in ImageMagick before 7.0.6-6 allows remote attackers to cause a denial of service via a crafted file.
Affected products
No data.
- ≥ 7.0.0-0 · < 7.0.6-6
No data.
Red Hat Enterprise Linux 5
ImageMagick
Will not fix
Red Hat Enterprise Linux 6
ImageMagick
Will not fix
Red Hat Enterprise Linux 7
ImageMagick
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | ImageMagick | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.99% (0.02989) | 86.84th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.99% (0.02989) | 85.52th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.48% (0.00476) | 62.88th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.27% (0.00270) | 68.72th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.27% (0.00270) | 66.91th | v3 (v2023.03.01) |
| May 8, 2023 | 0.27% (0.00270) | 62.90th | v3 (v2023.03.01) |
| Apr 17, 2023 | 0.22% (0.00224) | 59.13th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.29% (0.00293) | 64.28th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.21% (0.01213) | 66.61th | v2 (v2022.01.01) |
| Feb 17, 2023 | 1.21% (0.01213) | 66.22th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.21% (0.01213) | 64.21th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.21% (0.01213) | 40.54th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.62% (0.01623) | 33.90th | v1 |
| Jan 6, 2022 | 1.62% (0.01623) | 33.20th | v1 |
| Sep 1, 2021 | 1.62% (0.01623) | 73.32th | v1 |
| Apr 14, 2021 | 1.62% (0.01623) | 0.00th | v1 |
References (8)
- http://www.openwall.com/lists/oss-security/2017/08/16/3 mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-12876 Vendor Advisory
- https://blogs.gentoo.org/ago/2017/08/10/imagemagick-heap-based-buffer-overflow-in-omp_outlined-32-enhance-c/ x_refsource_MISCPatchThird Party AdvisoryVDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1487115 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/commit/1cc6f0ccc92c20c7cab6c4a7335daf29c91f0d8e x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-12876
- https://security.gentoo.org/glsa/201711-07 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-12876
| Link | Providers | Tags |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2017/08/16/3 | mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2017-12876 | Vendor Advisory | |
| https://blogs.gentoo.org/ago/2017/08/10/imagemagick-heap-based-buffer-overflow-in-omp_outlined-32-enhance-c/ | x_refsource_MISCPatchThird Party AdvisoryVDB Entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1487115 | Issue Tracking | |
| https://github.com/ImageMagick/ImageMagick/commit/1cc6f0ccc92c20c7cab6c4a7335daf29c91f0d8e | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-12876 | ||
| https://security.gentoo.org/glsa/201711-07 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2017-12876 |
Change history (0)
No recorded changes yet.