imagemagick: stack-based buffer overflow in function PopHexPixel in coders/ps.c
Published Mar 23, 2019
8.8
HIGHCVSS 3.0
EPSS 5.92%
Description
In ImageMagick 7.0.8-35 Q16, there is a stack-based buffer overflow in the function PopHexPixel of coders/ps.c, which allows an attacker to cause a denial of service or code execution via a crafted image file.
Affected products
No data.
Configuration 1
- 7.0.8-35
Configuration 2
- 9.0
No data.
Red Hat Enterprise Linux 7
ImageMagick-0:6.9.10.68-3.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 7
autotrace-0:0.31.1-38.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 7
emacs-1:24.3-23.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 7
inkscape-0:0.92.2-3.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 5
ImageMagick
Not affected
Red Hat Enterprise Linux 6
ImageMagick
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | ImageMagick-0:6.9.10.68-3.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | autotrace-0:0.31.1-38.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-1:24.3-23.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape-0:0.92.2-3.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 5 | ImageMagick | Not affected | n/a |
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of ImageMagick as shipped with Red Hat Enterprise Linux 6 and 7. Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Moderate, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
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:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L
AV:N/AC:M/Au:N/C:P/I:P/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 (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.92% (0.05916) | 93.02th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.92% (0.05916) | 92.27th | v5 (v2026.06.15) |
| Mar 17, 2025 | 1.40% (0.01396) | 79.09th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.70% (0.00698) | 80.93th | v3 (v2023.03.01) |
| Apr 17, 2024 | 0.99% (0.00993) | 83.36th | v3 (v2023.03.01) |
| May 18, 2023 | 0.99% (0.00993) | 81.36th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.03% (0.01033) | 81.57th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.64% (0.03640) | 85.00th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.64% (0.03640) | 83.47th | v2 (v2022.01.01) |
| Feb 4, 2022 | 24.42% (0.24421) | 95.20th | v2 (v2022.01.01) |
| Feb 3, 2022 | 17.24% (0.17238) | 90.31th | v1 |
| Jan 6, 2022 | 17.24% (0.17238) | 90.19th | v1 |
| Sep 1, 2021 | 4.44% (0.04436) | 83.57th | v1 |
| Apr 14, 2021 | 4.44% (0.04436) | 0.00th | v1 |
References (13)
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00010.html vendor-advisoryx_refsource_SUSE
- http://www.securityfocus.com/bid/107546 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/107672 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2019-9956 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1692300 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/issues/1523 x_refsource_MISCExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2019-9956
- https://seclists.org/bugtraq/2019/Apr/37 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://usn.ubuntu.com/4034-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2019-9956
- https://www.debian.org/security/2019/dsa-4436 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.