ezdxfのdxf2codeに任意のPythonコードを実行される脆弱性
Summary
ezdxfのdxf2codeアドオンに、DXFファイルのテーブルエントリ名を介してPythonコードを注入される脆弱性(CVE-2026-137506)が見つかりました。1.4.5以前が影響を受け、細工されたDXFファイルを開くと、生成されたスクリプトを実行したユーザーの権限でコードが動くおそれがあります。修正版の情報は公表されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
ezdxfのdxf2codeアドオンに、DXFファイルのテーブルエントリ名を介してPythonコードを注入される脆弱性(CVE-2026-137506)が見つかりました。1.4.5以前が影響を受け、細工されたDXFファイルを開くと、生成されたスクリプトを実行したユーザーの権限でコードが動くおそれがあります。修正版の情報は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| mozmanezdxf |
≤ 1.4.5→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-137506 ezdxf No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-137506 ezdxf No fixed version in this record
Original description The description as published by 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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- report github.com
- web github.com
- web github.com