CVE-2026-137506 ezdxf through 1.4.5 Code Injection via dxf2code DXF Table Entry Names

Published Updated

CVSS score

High

8.5/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-137506?

CVE-2026-137506 is a high-severity vulnerability in mozman ezdxf, published on 26 Nov 2026.

Official 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.

Weakness: CWE-94

How severe is CVE-2026-137506?

CVE-2026-137506 scores 8.5 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
High
Integrity
High
Availability
High

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

Which versions are affected by CVE-2026-137506?

1 open source package ship an affected version, including ezdxf.

PackageAffectedFixed in
ezdxf PyPI
pkg:pypi/ezdxf
All versions to 1.4.5None

How do I fix CVE-2026-137506?

No fix has been published for CVE-2026-137506 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-137506 being exploited?

There is no known exploitation of CVE-2026-137506 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-137506, GHSA-39vw-7rhc-wc4w, UBUNTU-CVE-2026-137506.

Is CVE-2026-137506 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free