CVE-2016-9830
Publication date 1 March 2017
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
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.
From the Ubuntu Security Team
It was discovered that GraphicsMagick incorrectly handled certain image files. An attacker could possibly use this issue to cause a denial of service or other unspecified impact.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| graphicsmagick | ||
| 18.04 LTS bionic |
Not affected
|
|
| 16.04 LTS xenial |
Fixed 1.3.23-1ubuntu0.1
|
|
| 14.04 LTS trusty |
Fixed 1.3.18-1ubuntu3.1
|
|
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | None |
| Availability impact | High |
| Vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References
Other references
- https://blogs.gentoo.org/ago/2016/12/01/graphicsmagick-memory-allocation-failure-in-magickrealloc-memory-c
- http://www.openwall.com/lists/oss-security/2016/12/05/5
- http://www.openwall.com/lists/oss-security/2016/12/02/1
- https://github.com/asarubbo/poc/blob/master/00096-graphicsmagick-memalloc-MagickRealloc
- https://www.cve.org/CVERecord?id=CVE-2016-9830