CVE-2026-137506
published high CVSS 4.0 · 8.5ezdxf through 1.4.5 Code Injection via dxf2code DXF Table Entry Names
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mozman | — | ezdxf0 through 1.4.5 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ezdxfaarch64 | Advisory build | 1.4.5-1.1 | OPENSUSE-SU-2026:12728-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ezdxfppc64le | Advisory build | 1.4.5-1.1 | OPENSUSE-SU-2026:12728-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ezdxfs390x | Advisory build | 1.4.5-1.1 | OPENSUSE-SU-2026:12728-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ezdxfx86_64 | Advisory build | 1.4.5-1.1 | OPENSUSE-SU-2026:12728-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-ezdxfaarch64 | Advisory build | 1.4.5-1.1 | OPENSUSE-SU-2026:12728-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-ezdxfppc64le | Advisory build | 1.4.5-1.1 | OPENSUSE-SU-2026:12728-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-ezdxfs390x | Advisory build | 1.4.5-1.1 | OPENSUSE-SU-2026:12728-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-ezdxfx86_64 | Advisory build | 1.4.5-1.1 | OPENSUSE-SU-2026:12728-1 |
Description
ezdxf through 1.4.5 contains a code injection vulnerability in the dxf2code add-on that allows attackers to inject Python code via unescaped single quotes in DXF table entry names. Attackers can craft a DXF file whose layer, linetype, style, or appid names break out of quoted strings in generated scripts, executing code with the privileges of the user running them.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mozman | ezdxf | 0 through 1.4.5 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
4- https://github.com/mozman/ezdxf/blob/84ae31976940f99e6d5f4d3b2e9131da02b574fe/src/ezdxf/addons/dxf2code.py#L477-L481
- https://github.com/mozman/ezdxf/commit/8cde125a7370afb5988f73b978599172c05f53fd
- https://github.com/mozman/ezdxf/issues/1489
- VulnCheck Advisory: ezdxf through 1.4.5 Code Injection via dxf2code DXF Table Entry Names https://www.vulncheck.com/advisories/ezdxf-through-1.4.5-code-injection-via-dxf2code-dxf-table-entry-names
Provider assertions
2VulnCheck · cna
ezdxf through 1.4.5 Code Injection via dxf2code DXF Table Entry Names
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e8d7bc2f82477a31f4ce6e2bf7b77f0b385f9667e822edb3d7997ed5659646c9
- Ingested
- 01 Dec 2026, 17:10:40 UTC
- Source record
- Official CVE record