Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137506: high-severity vulnerability (CVSS 8.5) in mozman ezdxf.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.5.
Affected products and versions
mozman ezdxf <= 1.4.5
| Product | Versions | Fixed in |
|---|---|---|
| mozman ezdxf | <= 1.4.5 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/mozman/ezdxf/issues/1489 — CVE Program
- https://github.com/mozman/ezdxf/commit/8cde125a7370afb5988f73b978599172c05f53fd — CVE Program
- https://github.com/mozman/ezdxf/blob/84ae31976940f99e6d5f4d3b2e9131da02b574fe/src/ezdxf/addons/dxf2code.py#L477-L481 — CVE Program
- https://www.vulncheck.com/advisories/ezdxf-through-1.4.5-code-injection-via-dxf2code-dxf-table-entry-names — CVE Program
Weaknesses (CWE): CWE-94
Relevant change history
Published
Preliminary advisory published.