CVE-2019-13306

HIGH

ImageMagick 7.0.8-50 - Stack-based Buffer Overflow in WritePNMImage

Title source: llm
STIX 2.1

Description

ImageMagick 7.0.8-50 Q16 has a stack-based buffer overflow at coders/pnm.c in WritePNMImage because of off-by-one errors.

References (7)

Core 7
Core References
Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/ImageMagick/ImageMagick/issues/1612
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2019/08/msg00021.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00069.html
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4192-1/
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2020/dsa-4715

Scores

CVSS v3 7.8
EPSS 0.0208
EPSS Percentile 79.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-193 CWE-787
Status published
Products (9)
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 18.04
canonical/ubuntu_linux 19.04
canonical/ubuntu_linux 19.10
debian/debian_linux 8.0
debian/debian_linux 9.0
imagemagick/imagemagick 7.0.8-50 q16
opensuse/leap 15.0
opensuse/leap 15.1
Published Jul 05, 2019
Tracked Since Feb 18, 2026