ImageMagick: heap-based buffer over-read in the EncodeImage function of coders/pict.c
Published Oct 7, 2018
6.5
MEDIUMCVSS 3.0
EPSS 2.54%
Description
In ImageMagick 7.0.8-13 Q16, there is a heap-based buffer over-read in the EncodeImage function of coders/pict.c, which allows attackers to cause a denial of service via a crafted SVG image file.
Affected products
No data.
Configuration 1
- 7.0.8-13
Configuration 2
- 8.0
No data.
Red Hat Enterprise Linux 5
ImageMagick
Not affected
Red Hat Enterprise Linux 6
ImageMagick
Not affected
Red Hat Enterprise Linux 7
ImageMagick
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | ImageMagick | Not affected | n/a |
| Red Hat Enterprise Linux 6 | ImageMagick | Not affected | n/a |
| Red Hat Enterprise Linux 7 | ImageMagick | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5, 6, and 7.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
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.54% (0.02541) | 84.42th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.54% (0.02541) | 82.88th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.43% (0.00427) | 60.29th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.13% (0.00133) | 50.06th | v3 (v2023.03.01) |
| May 26, 2024 | 0.13% (0.00133) | 48.36th | v3 (v2023.03.01) |
| Oct 1, 2023 | 0.15% (0.00148) | 50.39th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.12% (0.00124) | 45.85th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.15% (0.00153) | 49.66th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.29% (0.01294) | 30.79th | v1 |
| Jan 6, 2022 | 1.29% (0.01294) | 30.15th | v1 |
| Sep 1, 2021 | 1.29% (0.01294) | 69.02th | v1 |
| Apr 14, 2021 | 1.29% (0.01294) | 0.00th | v1 |
References (8)
- https://access.redhat.com/security/cve/CVE-2018-18025 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1637191 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/issues/1335 x_refsource_MISCExploitIssue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/11/msg00014.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2018-18025
- https://usn.ubuntu.com/4034-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2018-18025
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-18025 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1637191 | Issue Tracking | |
| https://github.com/ImageMagick/ImageMagick/issues/1335 | x_refsource_MISCExploitIssue TrackingPatchThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2018/11/msg00014.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html | mailing-listx_refsource_MLIST | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-18025 | ||
| https://usn.ubuntu.com/4034-1/ | vendor-advisoryx_refsource_UBUNTU | |
| https://www.cve.org/CVERecord?id=CVE-2018-18025 |
Change history (0)
No recorded changes yet.