CVE-2017-12640

Publication date 7 August 2017

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

8.8 · High

Score breakdown

Description

ImageMagick 7.0.6-1 has an out-of-bounds read vulnerability in ReadOneMNGImage in coders/png.c.

Read the notes from the security team

Status

Package Ubuntu Release Status
imagemagick 18.04 LTS bionic
Not affected
17.10 artful
Not affected
17.04 zesty Ignored end of life
16.04 LTS xenial
Fixed 8:6.8.9.9-7ubuntu5.11
14.04 LTS trusty
Fixed 8:6.7.7.10-6ubuntu3.11

Notes


mdeslaur

0115-Heap-buffer-overflow-in-ReadOneMNGImage.patch in unstable 0092-Heap-buffer-overflow-in-ReadOneMNGImage.patch in stretch 0277-CVE-2017-12640-Fix-out-of-bounds-read-vulnerability-in-ReadOneMNGImage.patch in wheezy 0259-CVE-2017-12640.patch in jessie

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
imagemagick

Severity score breakdown

CVSS version: CVSS v3.0

Base score 8.8 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-3681-1
    • ImageMagick vulnerabilities
    • 12 June 2018

Other references


Access our resources on patching vulnerabilities