All vulnerabilities

PyPI

CVE-2026-137506

ezdxf through 1.4.5 Code Injection via dxf2code DXF Table Entry Names

Severity
High 8.5
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Exploit chance
0.3% in the next 30 daysHigher than 12% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Code injection (CWE-94)
Attack
Needs local access · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data · Take it down
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
ezdxfPyPI · osv:PyPI:ezdxf
  • Every version up to 1.4.5

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 4 vulnerable
PackageDebian releaseStatus
ezdxfsidunstableVulnerableNo fix yet.
14forkytestingVulnerableNo fix yet.
13trixiestableVulnerableNo security update; the fix may come in a point release. Debian: Minor issue
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-137506 , read in the last 12 hours.

About ezdxf

Weekly downloads (PyPI)
3,120,163PyPI Stats, 26 Nov 2026

This is the only vulnerability in ezdxf in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137506