cve.bz

CVE-2018-16749 NULL Pointer Dereference

6.5 mediumExploit referenceEPSS 2.3%Fix available

Medium (6.5). EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
In ImageMagick 7.0.7-29 and earlier, a missing NULL check in ReadOneJNGImage in coders/png.c allows an attacker to cause a denial of service (WriteBlob assertion failure and application exit) via a crafted file.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
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-2018-16749 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-16749?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-16749?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-2018-16749 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:imagemagickbefore 6.9.9-42
imagemagick:imagemagickfrom 7.0.0-0 through 7.0.7-29
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8imagemagick8:6.8.9.9-5+deb8u14DLA-1530-1
Debian9imagemagick8:6.9.7.4+dfsg-11+deb9u10DLA-2366-1
Debian12, 13, 14imagemagick8:6.9.10.2+dfsg-2DEBIAN-CVE-2018-16749
Ubuntu14.04:LTSimagemagick8:6.7.7.10-6ubuntu3.13UBUNTU-CVE-2018-16749 USN-3785-1
Ubuntu16.04:LTSimagemagick8:6.8.9.9-7ubuntu5.13UBUNTU-CVE-2018-16749 USN-3785-1
Ubuntu18.04:LTSimagemagick8:6.9.7.4+dfsg-16ubuntu6.4UBUNTU-CVE-2018-16749 USN-3785-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
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3 and 2 moreImageMagick6.8.8.1-71.79.1SUSE-SU-2018:3095-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4ImageMagick6.4.3.6-78.74.1SUSE-SU-2018:3348-1
SUSELinux Enterprise Software Development Kit 11 SP4, Studio Onsite 1.3GraphicsMagick1.2.5-78.72.1SUSE-SU-2018:3269-1
Alpinev3.7, v3.8, v3.9imagemagick66.9.10.39-r0ALPINE-CVE-2018-16749
Alpinev3.10, v3.11, v3.12 and 4 moreimagemagick66.9.10.37-r0ALPINE-CVE-2018-16749

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 · Alpine.

Red Hat

Red Hat rates this Low.

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 5ImageMagickWill not fix
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-2018-16749.

References

Check your stackJSON