CVE-2019-12921: Command Injection

Published Mar 18, 2020
·
Updated

In GraphicsMagick before 1.3.32, the text filename component allows remote attackers to read arbitrary files via a crafted image because of TranslateTextEx for SVG.

Affected Software

22 affected componentsFixes available
GraphicsMagick Graphicsmagick<1.3.32
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
openSUSE Backports SLE=15.0-sp1
openSUSE Leap=15.1
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
alpine/graphicsmagick<1.3.32-r0
1.3.32-r0
debian/graphicsmagick
1.3.20-3+deb8u91.3.30+hg15796-1~deb9u41.4+really1.3.35-1~deb10u11.4~hg16039-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.3.32-r0
  2. Upgrade

    Upgrade debian/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.3.20-3+deb8u9Fixed in 1.3.30+hg15796-1~deb9u4Fixed in 1.4+really1.3.35-1~deb10u1Fixed in 1.4~hg16039-1
  3. Upgrade

    Upgrade GraphicsMagick to a version that resolves this vulnerability.

    Fixed in 1.3.32

Event History

Mar 18, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
CVE Published
via MITRE·05:39 PM
Data Sourced
via MITRE·05:39 PM
Description
Data Sourced
via OSV·07:15 PM
DescriptionSeverityAffected Software
Mar 31, 2022
Data Sourced
05:32 PM
Weakness
Data Sourced
via NVD·05:32 PM
DescriptionSeverityWeaknessAffected Software
Updated
05:32 PM
Affected Software
Nov 21, 2024
Updated
via NVD·04:23 AM
Affected Software
Jun 17, 2026
Updated
via NVD·02:15 AM
Affected Software
Dec 3, 2026
Updated
via OSV·11:32 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this GraphicsMagick vulnerability?

The vulnerability ID for this GraphicsMagick vulnerability is CVE-2019-12921.

2

What is the severity level of CVE-2019-12921?

The severity level of CVE-2019-12921 is medium.

3

How does the vulnerability CVE-2019-12921 impact GraphicsMagick?

The vulnerability allows remote attackers to read arbitrary files via a crafted image due to a text filename component.

4

What versions of GraphicsMagick are affected by CVE-2019-12921?

Versions before 1.3.32 of GraphicsMagick are affected by CVE-2019-12921.

5

How can I fix the vulnerability CVE-2019-12921 in GraphicsMagick?

You can fix the vulnerability CVE-2019-12921 in GraphicsMagick by updating to version 1.3.32 or newer.

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