CVE-2017-18272
published 2018-05-18CVE-2017-18272: In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of…
PriorityP426medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
1.21%
64.7th percentile
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is mishandled in an MngInfoDiscardObject call.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | imagemagick | < imagemagick 8:6.9.9.34+dfsg-3 (bookworm) | imagemagick 8:6.9.9.34+dfsg-3 (bookworm) |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 7.0.7-16 < 7.0.7-21 | 7.0.7-21 |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-mcm9-58rh-8jmj: In ImageMagick 7
ghsa_unreviewed·2022-05-14
CVE-2017-18272 [MEDIUM] CWE-416 GHSA-mcm9-58rh-8jmj: In ImageMagick 7
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is mishandled in an MngInfoDiscardObject call.
OSV
CVE-2017-18272: In ImageMagick 7
osv·2018-05-18·CVSS 6.5
CVE-2017-18272 [MEDIUM] CVE-2017-18272: In ImageMagick 7
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is mishandled in an MngInfoDiscardObject call.
Red Hat
ImageMagick: use-after-free in ReadOneMNGImage function in coders/png.c
vendor_redhat·2017-12-25·CVSS 6.5
CVE-2017-18272 [MEDIUM] CWE-416 ImageMagick: use-after-free in ReadOneMNGImage function in coders/png.c
ImageMagick: use-after-free in ReadOneMNGImage function in coders/png.c
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is mishandled in an MngInfoDiscardObject call.
Statement: This issue did not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5, 6, and 7.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Not affected
Package: ImageMagick (Red Hat Enterprise Linux 6) - Not affected
Package: ImageMagick (Red Hat Enterprise Linux 7) - Not affected
Package: ImageMagick (Red Hat Enterprise Linux 8) - Will not fix
Debian
CVE-2017-18272: imagemagick - In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in Read...
vendor_debian·2017·CVSS 6.5
CVE-2017-18272 [MEDIUM] CVE-2017-18272: imagemagick - In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in Read...
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is mishandled in an MngInfoDiscardObject call.
Scope: local
bookworm: resolved (fixed in 8:6.9.9.34+dfsg-3)
bullseye: resolved (fixed in 8:6.9.9.34+dfsg-3)
forky: resolved (fixed in 8:6.9.9.34+dfsg-3)
sid: resolved (fixed in 8:6.9.9.34+dfsg-3)
trixie: resolved (fixed in 8:6.9.9.34+dfsg-3)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-18271 CVE-2017-18272 CVE-2017-18273 CVE-2018-11251 ImageMagick: various flaws [fedora-all]
bugzilla·2018-05-22·CVSS 6.5
CVE-2017-18271 [MEDIUM] CVE-2017-18271 CVE-2017-18272 CVE-2017-18273 CVE-2018-11251 ImageMagick: various flaws [fedora-all]
CVE-2017-18271 CVE-2017-18272 CVE-2017-18273 CVE-2018-11251 ImageMagick: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multi
Bugzilla
CVE-2017-18272 ImageMagick: use-after-free in ReadOneMNGImage function in coders/png.c
bugzilla·2018-05-22·CVSS 6.5
CVE-2017-18272 [MEDIUM] CVE-2017-18272 ImageMagick: use-after-free in ReadOneMNGImage function in coders/png.c
CVE-2017-18272 ImageMagick: use-after-free in ReadOneMNGImage function in coders/png.c
A flaw was found in ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is mishandled in an MngInfoDiscardObject call.
References:
https://github.com/ImageMagick/ImageMagick/issues/918
Patch:
https://github.com/ImageMagick/ImageMagick/commit/93d029b70ac766ce0b5d7261a2dd334535f48038
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1581487]
---
The ReadOneMNGImage function is included in recent versions of ImageMagick only.
---
Statement:
This issue did not affect the versions of ImageMagick as shipped with Red Hat Ente
2018-05-18
Published