CVE-2026-137506
ezdxf through 1.4.5 Code Injection via dxf2code DXF Table Entry Names
High · 8.5
- CVSS
- 8.5
- EPSS
- 0.28% (p13)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-26
- Product
- mozman ezdxf
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
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.
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/mozman/ezdxf/issues/1489 issue-tracking
- https://github.com/mozman/ezdxf/commit/8cde125a7370afb5988f73b978599172c05f53fd patch
- https://github.com/mozman/ezdxf/blob/84ae31976940f99e6d5f4d3b2e9131da02b574fe/src/ezdxf/addons/dxf2code.py#L477-L481 technical-description
- https://www.vulncheck.com/advisories/ezdxf-through-1.4.5-code-injection-via-dxf2code-dxf-table-entry-names third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137506.json advisory
- https://github.com/mozman/ezdxf package
- https://nvd.nist.gov/vuln/detail/CVE-2026-137506 advisory