CVE-2017-11403
published 2017-07-18CVE-2017-11403: The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has an out-of-order CloseBlob call, resulting in a use-after-free via a crafted file.
PriorityP353high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
28.31%
97.9th percentile
The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has an out-of-order CloseBlob call, resulting in a use-after-free via a crafted file.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | graphicsmagick | < graphicsmagick 1.3.26-8 (bookworm) | graphicsmagick 1.3.26-8 (bookworm) |
| debian | graphicsmagick | < graphicsmagick 1.3.26-3 (bookworm) | graphicsmagick 1.3.26-3 (bookworm) |
| graphicsmagick | graphicsmagick | — | — |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.26-3 | 1.3.26-3 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.26-8 | 1.3.26-8 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.26-3 | 1.3.26-3 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.26-8 | 1.3.26-8 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.26-3 | 1.3.26-3 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.26-8 | 1.3.26-8 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.26-3 | 1.3.26-3 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.26-8 | 1.3.26-8 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.23-1ubuntu0.2 | 1.3.23-1ubuntu0.2 |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
vendor_ubuntu5.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-f9pv-j3cq-p428: The ReadJNGImage and ReadOneJNGImage functions in coders/png
ghsa_unreviewed·2022-05-17·CVSS 8.8
CVE-2017-14103 [HIGH] CWE-416 GHSA-f9pv-j3cq-p428: The ReadJNGImage and ReadOneJNGImage functions in coders/png
The ReadJNGImage and ReadOneJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 do not properly manage image pointers after certain error conditions, which allows remote attackers to conduct use-after-free attacks via a crafted file, related to a ReadMNGImage out-of-order CloseBlob call. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-11403.
GHSA
GHSA-pm5j-x49r-ccq7: The ReadOneJNGImage and ReadJNGImage functions in coders/png
ghsa_unreviewed·2022-05-14·CVSS 8.8
CVE-2017-18220 [HIGH] CWE-416 GHSA-pm5j-x49r-ccq7: The ReadOneJNGImage and ReadJNGImage functions in coders/png
The ReadOneJNGImage and ReadJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 allow remote attackers to cause a denial of service (magick/blob.c CloseBlob use-after-free) or possibly have unspecified other impact via a crafted file, a related issue to CVE-2017-11403.
GHSA
GHSA-2gx9-pfxr-fgh5: The ReadMNGImage function in coders/png
ghsa_unreviewed·2022-05-14
CVE-2017-11403 [HIGH] CWE-416 GHSA-2gx9-pfxr-fgh5: The ReadMNGImage function in coders/png
The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has an out-of-order CloseBlob call, resulting in a use-after-free via a crafted file.
OSV
graphicsmagick vulnerabilities
osv·2019-12-02·CVSS 5.5
CVE-2017-10794 [MEDIUM] graphicsmagick vulnerabilities
graphicsmagick vulnerabilities
It was discovered that GraphicsMagick incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2017-10794, CVE-2017-10799, CVE-2017-11102, CVE-2017-11140,
CVE-2017-11403, CVE-2017-11636, CVE-2017-11637, CVE-2017-13147, CVE-2017-14042,
CVE-2017-6335)
OSV
CVE-2017-18220: The ReadOneJNGImage and ReadJNGImage functions in coders/png
osv·2018-03-05·CVSS 8.8
CVE-2017-18220 [HIGH] CVE-2017-18220: The ReadOneJNGImage and ReadJNGImage functions in coders/png
The ReadOneJNGImage and ReadJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 allow remote attackers to cause a denial of service (magick/blob.c CloseBlob use-after-free) or possibly have unspecified other impact via a crafted file, a related issue to CVE-2017-11403.
OSV
CVE-2017-14103: The ReadJNGImage and ReadOneJNGImage functions in coders/png
osv·2017-09-01·CVSS 8.8
CVE-2017-14103 [HIGH] CVE-2017-14103: The ReadJNGImage and ReadOneJNGImage functions in coders/png
The ReadJNGImage and ReadOneJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 do not properly manage image pointers after certain error conditions, which allows remote attackers to conduct use-after-free attacks via a crafted file, related to a ReadMNGImage out-of-order CloseBlob call. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-11403.
OSV
CVE-2017-11403: The ReadMNGImage function in coders/png
osv·2017-07-18·CVSS 8.8
CVE-2017-11403 [HIGH] CVE-2017-11403: The ReadMNGImage function in coders/png
The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has an out-of-order CloseBlob call, resulting in a use-after-free via a crafted file.
Ubuntu
GraphicsMagick vulnerabilities
vendor_ubuntu·2019-12-02·CVSS 5.5
CVE-2017-10794 [MEDIUM] GraphicsMagick vulnerabilities
Title: GraphicsMagick vulnerabilities
Summary: Several security issues were fixed in GraphicsMagick.
It was discovered that GraphicsMagick incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2017-10794, CVE-2017-10799, CVE-2017-11102, CVE-2017-11140,
CVE-2017-11403, CVE-2017-11636, CVE-2017-11637, CVE-2017-13147, CVE-2017-14042,
CVE-2017-6335)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
GraphicsMagick: Use after free in ReadOneJNGImage and ReadJNGImage functions in coders/png.c allow an attacker to cause a denial of service via crafted file
vendor_redhat·2018-03-06·CVSS 8.8
CVE-2017-18220 [HIGH] CWE-416 GraphicsMagick: Use after free in ReadOneJNGImage and ReadJNGImage functions in coders/png.c allow an attacker to cause a denial of service via crafted file
GraphicsMagick: Use after free in ReadOneJNGImage and ReadJNGImage functions in coders/png.c allow an attacker to cause a denial of service via crafted file
The ReadOneJNGImage and ReadJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 allow remote attackers to cause a denial of service (magick/blob.c CloseBlob use-after-free) or possibly have unspecified other impact via a crafted file, a related issue to CVE-2017-11403.
Package: GraphicsMagick (Red Hat Enterprise Linux 8) - Will not fix
Debian
CVE-2017-14103: graphicsmagick - The ReadJNGImage and ReadOneJNGImage functions in coders/png.c in GraphicsMagick...
vendor_debian·2017·CVSS 8.8
CVE-2017-14103 [HIGH] CVE-2017-14103: graphicsmagick - The ReadJNGImage and ReadOneJNGImage functions in coders/png.c in GraphicsMagick...
The ReadJNGImage and ReadOneJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 do not properly manage image pointers after certain error conditions, which allows remote attackers to conduct use-after-free attacks via a crafted file, related to a ReadMNGImage out-of-order CloseBlob call. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-11403.
Scope: local
bookworm: resolved (fixed in 1.3.26-8)
bullseye: resolved (fixed in 1.3.26-8)
forky: resolved (fixed in 1.3.26-8)
sid: resolved (fixed in 1.3.26-8)
trixie: resolved (fixed in 1.3.26-8)
Debian
CVE-2017-18220: graphicsmagick - The ReadOneJNGImage and ReadJNGImage functions in coders/png.c in GraphicsMagick...
vendor_debian·2017·CVSS 8.8
CVE-2017-18220 [HIGH] CVE-2017-18220: graphicsmagick - The ReadOneJNGImage and ReadJNGImage functions in coders/png.c in GraphicsMagick...
The ReadOneJNGImage and ReadJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 allow remote attackers to cause a denial of service (magick/blob.c CloseBlob use-after-free) or possibly have unspecified other impact via a crafted file, a related issue to CVE-2017-11403.
Scope: local
bookworm: resolved (fixed in 1.3.26-8)
bullseye: resolved (fixed in 1.3.26-8)
forky: resolved (fixed in 1.3.26-8)
sid: resolved (fixed in 1.3.26-8)
trixie: resolved (fixed in 1.3.26-8)
Debian
CVE-2017-11403: graphicsmagick - The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has an out-of...
vendor_debian·2017·CVSS 8.8
CVE-2017-11403 [HIGH] CVE-2017-11403: graphicsmagick - The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has an out-of...
The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has an out-of-order CloseBlob call, resulting in a use-after-free via a crafted file.
Scope: local
bookworm: resolved (fixed in 1.3.26-3)
bullseye: resolved (fixed in 1.3.26-3)
forky: resolved (fixed in 1.3.26-3)
sid: resolved (fixed in 1.3.26-3)
trixie: resolved (fixed in 1.3.26-3)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-14103 GraphicsMagick: Use-after-free in ReadJNGImage and ReadOneJNGImage functions in coders/png.c
bugzilla·2017-09-05·CVSS 8.8
CVE-2017-14103 [HIGH] CVE-2017-14103 GraphicsMagick: Use-after-free in ReadJNGImage and ReadOneJNGImage functions in coders/png.c
CVE-2017-14103 GraphicsMagick: Use-after-free in ReadJNGImage and ReadOneJNGImage functions in coders/png.c
The ReadJNGImage and ReadOneJNGImage functions in coders/png.c in
GraphicsMagick 1.3.26 do not properly manage image pointers after
certain error conditions, which allows remote attackers to conduct
use-after-free attacks via a crafted file, related to a ReadMNGImage
out-of-order CloseBlob call.
NOTE: this vulnerability exists because of
an incomplete fix for CVE-2017-11403.
Upstream patch:
http://hg.code.sf.net/p/graphicsmagick/code/rev/98721124e51f
References:
https://bugzilla.novell.com/show_bug.cgi?id=1057000
https://blogs.gentoo.org/ago/2017/09/01/graphicsmagick-use-after-free-in-closeblob-blob-c-incomplete-fix-for-cve-2017-11403/
Discussion:
Created GraphicsMagick track
Bugzilla
CVE-2017-11403 GraphicsMagick: Use-after-free in CloseBlob
bugzilla·2017-07-18·CVSS 8.8
CVE-2017-11403 [HIGH] CVE-2017-11403 GraphicsMagick: Use-after-free in CloseBlob
CVE-2017-11403 GraphicsMagick: Use-after-free in CloseBlob
The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has
an out-of-order CloseBlob call, resulting in a use-after-free via a
crafted file.
Upstream patch:
http://hg.code.sf.net/p/graphicsmagick/code/rev/d0a76868ca37
Reproducer:
https://github.com/asarubbo/poc/blob/master/00301-graphicsmagick-UAF-CloseBlob
Reference:
https://blogs.gentoo.org/ago/2017/07/12/graphicsmagick-use-after-free-in-closeblob-blob-c/
Discussion:
Created GraphicsMagick tracking bugs for this issue:
Affects: epel-all [bug 1472217]
Affects: fedora-all [bug 1472216]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the depe
Bugzilla
CVE-2017-11403 GraphicsMagick: Use-after-free in CloseBlob [epel-all]
bugzilla·2017-07-18·CVSS 8.8
CVE-2017-11403 [HIGH] CVE-2017-11403 GraphicsMagick: Use-after-free in CloseBlob [epel-all]
CVE-2017-11403 GraphicsMagick: Use-after-free in CloseBlob [epel-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 epel-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 multiple supported versions of Fedora
Bugzilla
CVE-2017-11403 GraphicsMagick: Use-after-free in CloseBlob [fedora-all]
bugzilla·2017-07-18·CVSS 8.8
CVE-2017-11403 [HIGH] CVE-2017-11403 GraphicsMagick: Use-after-free in CloseBlob [fedora-all]
CVE-2017-11403 GraphicsMagick: Use-after-free in CloseBlob [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 multiple supported versions of Fe
http://hg.code.sf.net/p/graphicsmagick/code/rev/d0a76868ca37https://blogs.gentoo.org/ago/2017/07/12/graphicsmagick-use-after-free-in-closeblob-blob-c/https://lists.debian.org/debian-lts-announce/2018/08/msg00002.htmlhttps://usn.ubuntu.com/4206-1/https://www.debian.org/security/2018/dsa-4321http://hg.code.sf.net/p/graphicsmagick/code/rev/d0a76868ca37https://blogs.gentoo.org/ago/2017/07/12/graphicsmagick-use-after-free-in-closeblob-blob-c/https://lists.debian.org/debian-lts-announce/2018/08/msg00002.htmlhttps://usn.ubuntu.com/4206-1/https://www.debian.org/security/2018/dsa-4321
2017-07-18
Published