CVE-2026-137506 PUBLISHED

ezdxf through 1.4.5 Code Injection via dxf2code DXF Table Entry Names

Assigner: VulnCheck
Reserved: 26.11.2026 Published: 26.11.2026 Updated: 26.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.5

Product Status

Vendor mozman
Product ezdxf
Versions Default: unaffected
  • affected from 0 to 1.4.5 (incl.)

Credits

  • Dilanka Kaushal Hewage (r3vpwnx) finder

References

Problem Types

  • Improper Control of Generation of Code ('Code Injection') CWE