CVE-2016-9830
The MagickRealloc function in memory.c in Graphicsmagick 1.3.25 allows remote attackers to cause...
The MagickRealloc function in memory.c in Graphicsmagick 1.3.25 allows remote attackers to cause a denial of service (crash) via large dimensions in a jpeg image.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
The MagickRealloc function in memory.c in Graphicsmagick 1.3.25 allows remote attackers to cause a denial of service (crash) via large dimensions in a jpeg image.
- Record
CVE-2016-9830- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
The MagickRealloc function in memory.c in Graphicsmagick 1.3.25 allows remote attackers to cause a denial of service (crash) via large dimensions in a jpeg image.
- Record
CVE-2016-9830- Updated
- 2026-11-02
EUVDEUVD-2016-10630 No score
The MagickRealloc function in memory.c in Graphicsmagick 1.3.25 allows remote attackers to cause a denial of service (crash) via large dimensions in a jpeg image.
- Record
EUVD-2016-10630- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w9qw-rw42-h8cw
5.5
The MagickRealloc function in memory.c in Graphicsmagick 1.3.25 allows remote attackers to cause...
The MagickRealloc function in memory.c in Graphicsmagick 1.3.25 allows remote attackers to cause a denial of service (crash) via large dimensions in a jpeg image.
- Record
GHSA-w9qw-rw42-h8cw- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
5.5
The MagickRealloc function in memory.c in Graphicsmagick 1.3.25 allows remote attackers to cause a denial of service (crash) via large dimensions in a jpeg image.
- Record
CVE-2016-9830- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-9830
5.5
The MagickRealloc function in memory.c in Graphicsmagick 1.3.25 allows remote attackers to cause a denial of service (crash) via large dimensions in a jpeg image.
- Record
DEBIAN-CVE-2016-9830- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2016-9830
5.5
The MagickRealloc function in memory.c in Graphicsmagick 1.3.25 allows remote attackers to cause a denial of service (crash) via large dimensions in a jpeg image.
- Record
UBUNTU-CVE-2016-9830- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0229 No score
Updated graphicsmagick packages fix security vulnerabilities
New stable upstream release including security fixes for CVE-2016-7800, CVE-2016-7996, CVE-2016-7997, CVE-2016-8682, CVE-2016-8683, CVE-2016-8684, CVE-2016-9830, CVE-2017-6335, CVE-2017-8350, CVE-2017-10794, CVE-2017-10799, CVE-2017-10800, CVE-2017-11403 and possibly several other security issues with and without associated CVE number.
- Record
MGASA-2017-0229- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10596-1 No score
GraphicsMagick-1.3.36-1.7 on GA media
These are all security issues fixed in the GraphicsMagick-1.3.36-1.7 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10596-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:0305-1 No score
Security update for GraphicsMagick
This update for GraphicsMagick fixes the following issues:
- CVE-2016-9556 Possible Heap-overflow found by fuzzing [bsc#1011130]
- CVE-2016-9559 Possible Null pointer access found by fuzzing [bsc#1011136]
- CVE-2016-8866 Possible memory allocation failure in AcquireMagickMemory [bsc#1009318]
- CVE-2016-9830: Memory allocation failure in MagickRealloc (memory.c) (bsc#1013640).
- Record
SUSE-SU-2017:0305-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickDebian:12 |
before 1.3.25-6 | 1.3.25-6 |
graphicsmagickDebian:13 |
before 1.3.25-6 | 1.3.25-6 |
graphicsmagickDebian:14 |
before 1.3.25-6 | 1.3.25-6 |
graphicsmagickDebian:8 From an advisory covering 14 CVEs |
before 1.3.20-3+deb8u2, plus listed versions 1.3.20-3+deb8u1 |
1.3.20-3+deb8u2 |
graphicsmagickMageia:5 From an advisory covering 13 CVEs |
before 1.3.26-1.1.mga5 | 1.3.26-1.1.mga5 |
graphicsmagickMageia:6 From an advisory covering 13 CVEs |
before 1.3.26-1.1.mga6 | 1.3.26-1.1.mga6 |
GraphicsMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 4 CVEs |
before 1.2.5-4.59.1 | 1.2.5-4.59.1 |
GraphicsMagickSUSE:Studio Onsite 1.3 From an advisory covering 4 CVEs |
before 1.2.5-4.59.1 | 1.2.5-4.59.1 |
graphicsmagickUbuntu:14.04:LTS |
before 1.3.18-1ubuntu3.1, plus listed versions 1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu3 |
1.3.18-1ubuntu3.1 |
graphicsmagickUbuntu:16.04:LTS |
before 1.3.23-1ubuntu0.1, plus listed versions 1.3.21-31.3.23-11.3.23-1build1 |
1.3.23-1ubuntu0.1 |
GraphicsMagickopenSUSE:Tumbleweed From an advisory covering 17 CVEs |
before 1.3.36-1.7 | 1.3.36-1.7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-9830 is a medium vulnerability (CVSS 5.5) in Graphicsmagick, published December 24, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.71%, the 77th percentile. Fixed in graphicsmagick 1.3.25-6.
References
lists.opensuse.org/opensuse-updates/2016-12/msg00141.html
openwall.com/lists/oss-security/2016/12/05/5
securityfocus.com/bid/94625
debian.org/security/2016/dsa-3746
bugzilla.redhat.com/show_bug.cgi?id=1401536
blogs.gentoo.org/ago/2016/12/01/graphicsmagick-memory-allocation-failure-in-magickrealloc-memory-c
Show 38 moreShow less
hg.code.sf.net/p/graphicsmagick/code/rev/38d0f281e8c8
nvd.nist.gov/vuln/detail/CVE-2016-9830
github.com/advisories/GHSA-w9qw-rw42-h8cw
security-tracker.debian.org/tracker/CVE-2016-9830
advisories.mageia.org/MGASA-2017-0229.html
bugs.mageia.org/show_bug.cgi?id=19668
graphicsmagick.org/NEWS.html
bugzilla.redhat.com/show_bug.cgi?id=1472214
suse.com/support/update/announcement/2017/suse-su-20170305-1
bugzilla.suse.com/1009318
bugzilla.suse.com/1011130
bugzilla.suse.com/1011136
bugzilla.suse.com/1013640
bugzilla.suse.com/1017421
suse.com/security/cve/CVE-2016-8866
suse.com/security/cve/CVE-2016-9556
suse.com/security/cve/CVE-2016-9559
suse.com/security/cve/CVE-2016-9830
ubuntu.com/security/CVE-2016-9830
openwall.com/lists/oss-security/2016/12/02/1
github.com/asarubbo/poc/blob/master/00096-graphicsmagick-memalloc-MagickRealloc
cve.org/CVERecord?id=CVE-2016-9830
suse.com/security/cve/CVE-2006-3744
suse.com/security/cve/CVE-2006-5456
suse.com/security/cve/CVE-2007-1797
suse.com/security/cve/CVE-2007-4985
suse.com/security/cve/CVE-2007-4988
suse.com/security/cve/CVE-2008-1096
suse.com/security/cve/CVE-2008-1097
suse.com/security/cve/CVE-2016-7800
suse.com/security/cve/CVE-2016-7996
suse.com/security/cve/CVE-2016-7997
suse.com/security/cve/CVE-2017-10794
suse.com/security/cve/CVE-2017-10799
suse.com/security/cve/CVE-2017-10800
suse.com/security/cve/CVE-2017-6335
suse.com/security/cve/CVE-2017-8350
suse.com/security/cve/CVE-2020-12672