CVE-2019-12921 in Debian Linux and 3 more products
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.
Affects 4 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 8.0 9.0 10.0 |
| Graphicsmagick | Graphicsmagick | < 1.3.32 |
| Opensuse | Leap | 15.1 |
| Opensuse | Backports Sle | 15.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2019-12921 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-134574-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| Published | 2020-03-18 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-77: Command Injection
Attacker injects operating system commands through application inputs passed to a shell or system call.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-15 Command Delimiters via CWE-77
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
Show all 8
CAPEC-136 LDAP Injection via CWE-77
CAPEC-183 IMAP/SMTP Command Injection via CWE-77
CAPEC-248 Command Injection via CWE-77
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in GraphicsMagick before version 1.3.32 allows remote attackers to read arbitrary files through a crafted image file, specifically targeting the SVG component.
The vulnerability exists in the TranslateTextEx function when processing SVG files. An attacker can craft an SVG file that includes a text element with a filename component pointing to an arbitrary file on the server. When GraphicsMagick processes this SVG file, it attempts to read the specified file, potentially exposing sensitive information.
Questions
What is CVE-2019-12921?
A vulnerability in GraphicsMagick before version 1.3.32 allows remote attackers to read arbitrary files through a crafted image file, specifically targeting the SVG component.
What is the CVSS score for CVE-2019-12921?
CVE-2019-12921 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N. EPSS: 8.0%.
Is CVE-2019-12921 actively exploited?
No confirmed active exploitation of CVE-2019-12921 as of 2026-09-25.
How do I remediate CVE-2019-12921?
Priority: MEDIUM. Advisory: http://www.graphicsmagick.org/ PSIRT: [email protected]
What systems are affected by CVE-2019-12921?
CVE-2019-12921 affects Debian Debian Linux; Graphicsmagick Graphicsmagick; Opensuse Leap, Backports Sle.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.