cve.bz

CVE-2019-9956 Out-of-bounds Write

8.8 highExploit referenceEPSS 5.9%

High (8.8). EPSS 5.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
5.9% (unchanged from 5.9% a week ago; 5.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-9956 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-9956?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-9956?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-9956 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
imagemagick:imagemagick7.0.8-35:q16
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8imagemagick8:6.8.9.9-5+deb8u16DLA-1785-1
Debian9imagemagick8:6.9.7.4+dfsg-11+deb9u7DSA-4436-1
Debian12, 13, 14imagemagick8:6.9.10.23+dfsg-2.1DEBIAN-CVE-2019-9956
Ubuntu16.04:LTSimagemagick8:6.8.9.9-7ubuntu5.14UBUNTU-CVE-2019-9956 USN-4034-1
Ubuntu18.04:LTSimagemagick8:6.9.7.4+dfsg-16ubuntu6.7UBUNTU-CVE-2019-9956 USN-4034-1
UbuntuPro:14.04:LTSimagemagick8:6.7.7.10-6ubuntu3.13+esm11USN-7068-1
UbuntuPro:16.04:LTSimagemagick8:6.8.9.9-7ubuntu5.16+esm11USN-7068-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreImageMagick, ImageMagick-c++, ImageMagick-doc and 4 more0:6.9.10.68-3.el7RHSA-2020:1180
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreautotrace, autotrace-devel, autotrace-debuginfo0:0.31.1-38.el7RHSA-2020:1180
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreemacs, emacs-el, emacs-nox and 4 more1:24.3-23.el7RHSA-2020:1180
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreinkscape, inkscape-docs, inkscape-view and 1 more0:0.92.2-3.el7RHSA-2020:1180
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 14 moreImageMagick6.8.8.1-71.108.1SUSE-SU-2019:1033-1
SUSELinux Enterprise Module for Desktop Applications 15, Linux Enterprise Module for Development Tools 15ImageMagick7.0.7.34-3.54.3SUSE-SU-2019:1019-1
SUSELinux Enterprise Server for SAP Applications 12 SP1ImageMagick6.8.8.1-71.108.1SUSE-SU-2019:1033-2
openSUSELeap 15.0ImageMagick7.0.7.34-lp150.2.29.1openSUSE-SU-2019:1331-1
Alpinev3.7, v3.8, v3.9imagemagick66.9.10.39-r0ALPINE-CVE-2019-9956
Alpinev3.8, v3.9, v3.10 and 14 moreimagemagick7.0.8.38-r0ALPINE-CVE-2019-9956
Alpinev3.10, v3.11, v3.12 and 4 moreimagemagick66.9.10.37-r0ALPINE-CVE-2019-9956

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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/.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7autotrace-0:0.31.1-38.el7Fixed 2020-03-31RHSA-2020:1180
Red Hat Enterprise Linux 7emacs-1:24.3-23.el7Fixed 2020-03-31RHSA-2020:1180
Red Hat Enterprise Linux 7ImageMagick-0:6.9.10.68-3.el7Fixed 2020-03-31RHSA-2020:1180
Red Hat Enterprise Linux 7inkscape-0:0.92.2-3.el7Fixed 2020-03-31RHSA-2020:1180
Red Hat Enterprise Linux 5ImageMagickNot affected
Red Hat Enterprise Linux 6ImageMagickWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-9956.

References

Check your stackJSON