CVE-2020-27758: Integer Overflow

Published Nov 3, 2020
·
Updated

A flaw was found in ImageMagick in coders/txt.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type unsigned long long. This would most likely lead to an impact to application availability, but could potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.8-68.

Other sources

In ImageMagick, there are outside the range of representable values of type 'unsigned long long' bugs at coders/txt.c.

Reference: https://github.com/ImageMagick/ImageMagick/issues/1719

Upstream patch: https://github.com/ImageMagick/ImageMagick/commit/f0a8d407b2801174fd8923941a9e7822f7f9a506

Red Hat

Affected Software

5 affected componentsFixes available
redhat/ImageMagick 7.0.8<68
68
ImageMagick ImageMagick<6.9.10-68
ImageMagick ImageMagick>=7.0.0-0<7.0.8-68
Debian Debian Linux=9.0
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

Dec 8, 2020
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jan 11, 2024
Data Sourced
via Launchpad·11:48 PM
Description
Oct 23, 2024
Data Sourced
via Ubuntu·09:20 AM
RemedyDescriptionSeverityAffected Software
Apr 6, 2025
Data Sourced
via Debian·11:43 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this ImageMagick flaw?

The vulnerability ID for this ImageMagick flaw is CVE-2020-27758.

2

What is the severity level of CVE-2020-27758?

The severity level of CVE-2020-27758 is medium (3.3).

3

How does the ImageMagick flaw in coders/txt.c impact applications?

The flaw in coders/txt.c can lead to undefined behavior and values outside the range of type `unsigned long long`, potentially impacting application availability.

4

Which versions of ImageMagick are affected by CVE-2020-27758?

The affected versions of ImageMagick are 8:6.9.10.23+dfsg-2.1ubuntu11.4, 8:6.9.10.23+dfsg-2.1ubuntu13.3, 8:6.9.7.4+dfsg-16ubuntu6.11, 8:6.9.11.24+dfsg-1, 8:6.9.10.23+dfsg-2.1+deb10u5, 8:6.9.11.60+dfsg-1.3+deb11u1, 8:6.9.11.60+dfsg-1.6, 6.9.10-68, 7.0.8-68, and ImageMagick 7.0.8.

5

Are there any remediation steps available?

Yes, there are remediation steps available. Please refer to the official security notice or vendor advisories for detailed remediation information.

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