CVE-2019-17540: Buffer Overflow

Published Oct 14, 2019
·
Updated

ImageMagick before 7.0.8-54 has a heap-based buffer overflow in ReadPSInfo in coders/ps.c.

Other sources

ImageMagick is vulnerable to a heap-based buffer overflow, caused by a flaw in the ReadPSInfo function in coders/ps.c. By persuading a victim to open a specially-crafted file, a remote attacker could overflow a buffer and execute arbitrary code on the system.

IBM

Affected Software

8 affected componentsFixes available
redhat/ImageMagick 6.9.10<55
55
redhat/ImageMagick 7.0.8<54
54
IBM Data Risk Manager<=2.0.6
ImageMagick ImageMagick>=6.9.10-54<6.9.10-55
ImageMagick ImageMagick>=7.0.0-0<7.0.8-54
Debian Debian Linux=9.0
Debian Debian Linux=10.0
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u48:6.9.11.60+dfsg-1.3+deb11u98:6.9.11.60+dfsg-1.6+deb12u58:6.9.11.60+dfsg-1.6+deb12u68:7.1.1.43+dfsg1-1+deb13u48:7.1.1.43+dfsg1-1+deb13u58:7.1.2.13+dfsg1-1

Event History

Oct 14, 2019
CVE Published
via MITRE·01:09 AM
Data Sourced
via MITRE·01:09 AM
Description
Oct 18, 2019
Data Sourced
via Debian·12:33 PM
SeverityAffected Software
Feb 21, 2026
Data Sourced
via Debian·12:12 AM
Description

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 the severity of CVE-2019-17540?

CVE-2019-17540 is classified as a high severity vulnerability due to its potential for exploitation via a heap-based buffer overflow.

2

How do I fix CVE-2019-17540?

To fix CVE-2019-17540, update to ImageMagick version 7.0.8-54 or later, or apply the appropriate patches for affected versions.

3

Which versions of ImageMagick are affected by CVE-2019-17540?

CVE-2019-17540 affects ImageMagick versions prior to 7.0.8-54 and 6.9.10-55.

4

Can CVE-2019-17540 impact my application?

Yes, CVE-2019-17540 can impact applications that utilize vulnerable versions of ImageMagick for processing PostScript files.

5

What type of vulnerability is CVE-2019-17540?

CVE-2019-17540 is a heap-based buffer overflow vulnerability that occurs in the ReadPSInfo function in ImageMagick.

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