Skip to content
Fencer Vulns
medium 6.5

CVE-2018-9018 json

In GraphicsMagick 1.3.28, there is a divide-by-zero in the ReadMNGImage function of coders/png.c.

published 2018-03-25 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-20623

cvss
6.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.0%
EPSS 3.0% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

In GraphicsMagick 1.3.28, there is a divide-by-zero in the ReadMNGImage function of coders/png.c. Remote attackers could leverage this vulnerability to cause a crash and denial of service via a crafted mng file.

Patch / fix

  • graphicsmagick Debian 14, Debian 13, Debian 12 1.3.28-2

debian advisories DEBIAN-CVE-2018-9018

  • graphicsmagick Ubuntu 18.04 LTS 1.3.28-2
  • graphicsmagick Ubuntu Pro 14.04 LTS 1.3.18-1ubuntu3.1+esm8
  • graphicsmagick Ubuntu Pro 16.04 LTS 1.3.23-1ubuntu0.6+esm2

ubuntu advisories UBUNTU-CVE-2018-9018

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ImageMagick SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +2 more 6.8.8.1-71.54.5
  • ImageMagick SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-78.45.1
  • GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-78.47.1

suse advisories SUSE-SU-2018:1178-1SUSE-SU-2018:1129-1SUSE-SU-2018:1036-1

  • graphicsmagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +12 more 1.3.29-r0

alpine advisories ALPINE-CVE-2018-9018

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-9018 updated cvss 3.3

GraphicsMagick: divide-by-zero in the ReadMNGImage function in coders/png.c

  • Red Hat Enterprise Linux 8 GraphicsMagick
    affected: no fix planned “Will not fix”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.02% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • sourceforge.net https://sourceforge.net/p/graphicsmagick/bugs/554/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.