Bug 2585227 (CVE-2026-137506)

Summary: CVE-2026-137506 ezdxf: ezdxf: Arbitrary code execution via crafted DXF table entry names
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in ezdxf. When converting a Drawing Exchange Format (DXF) file into Python code using the dxf2code add-on, table entry names containing unescaped characters are not properly sanitized. By convincing a user to process a specially crafted DXF file and run the generated script, an attacker can achieve arbitrary code execution with the privileges of the local user.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2588045    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-26 20:22:07 UTC
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.