CVE-2019-13306: Buffer Overflow

Published Jul 5, 2019
·
Updated

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

Other sources

ImageMagick is vulnerable to a denial of service, caused by a stack-based buffer overflow at coders/pnm.c in WritePNMImage. By persuading a victim to open a specially-crafted file, a remote attacker could exploit this vulnerability to cause the application to crash.

IBM

Affected Software

13 affected componentsFixes available
redhat/ImageMagick 6.9.10<50
50
redhat/ImageMagick 7.0.8<50
50
IBM Data Risk Manager<=2.0.6
ImageMagick ImageMagick=7.0.8-50-q16
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.04
Canonical Ubuntu Linux=19.10
openSUSE Leap=15.0
openSUSE Leap=15.1
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u48:6.9.11.60+dfsg-1.3+deb11u58:6.9.11.60+dfsg-1.6+deb12u28:6.9.11.60+dfsg-1.6+deb12u18:7.1.1.43+dfsg1-18:7.1.1.47+dfsg1-1

Event History

Jul 5, 2019
CVE Published
via MITRE·12:53 AM
Data Sourced
via MITRE·12:53 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·11:17 PM
Description
Oct 7, 2024
Data Sourced
via Ubuntu·11:58 PM
RemedyDescriptionSeverityAffected Software
Apr 6, 2025
Data Sourced
via Debian·11:41 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-13306?

CVE-2019-13306 is a vulnerability in ImageMagick 7.0.8-50 Q16 that allows a remote attacker to cause a denial of service by exploiting a stack-based buffer overflow.

2

How severe is CVE-2019-13306?

CVE-2019-13306 has a severity score of 7.8 (high).

3

How can I fix CVE-2019-13306 on IBM Data Risk Manager 2.0.6?

To fix CVE-2019-13306 on IBM Data Risk Manager 2.0.6, you can apply the patch available at the following URL: [link to patch].

4

How can I fix CVE-2019-13306 on ImageMagick 6.9.10 on Red Hat?

To fix CVE-2019-13306 on ImageMagick 6.9.10 on Red Hat, you can apply the remedy version 50.

5

How can I fix CVE-2019-13306 on Ubuntu with imagemagick package?

To fix CVE-2019-13306 on Ubuntu with the 'imagemagick' package, you can update to the respective fixed versions: 8:6.9.7.4+dfsg-16ubuntu6.8 (Bionic), 8:6.9.10.14+dfsg-7ubuntu2.3 (Disco), 8:6.9.10.23+dfsg-2.1ubuntu3.1 (Eoan), 8:6.9.10.23+dfsg-2.1ubuntu9 (Focal, Jammy, Kinetic, Lunar).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2019-13306 - Buffer Overflow - SecAlerts