CVE-2026-138381
NVD
Vulnerability Summary
GNU LibreDWG 0.14 before 0.15 contains a heap use-after-free vulnerability in in_dxf.c new_object() where the OLE2FRAME oleclient pointer references freed memory after DXF import. Attackers can supply a DXF file with an OLE2FRAME entity to crash dxfwrite or similar applications and leak freed heap contents into exported output.
CVSS v4.0 Base Metrics — Score 6.9 (MEDIUM)
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 6.1)
CVSS v3.1 Base Metrics — Score 6.1 (MEDIUM)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:HAttack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- GNU LibreDWG >= 0.14 and < 0.15
- GNU LibreDWG 0.15
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run GNU LibreDWG and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 29, 2026Published
- Nov 29, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new GNU LibreDWG CVEsYou are reading CVE-2026-138381. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/LibreDWG/libredwg/security/advisories/GHSA-c6r9-crw2-jcq3
- Patchhttps://github.com/LibreDWG/libredwg/commit/2ecc5d0d79df346d632dd7f975ca7463f8fce4c2
- Referencehttps://github.com/LibreDWG/libredwg/blob/4f2aef33865e0d5bf3774acc439953fba15dea3e/src/out_dxf.c#L1405-L1417
- Referencehttps://github.com/LibreDWG/libredwg/releases/tag/0.15
- Referencehttps://www.vulncheck.com/advisories/gnu-libredwg-0.14-before-0.15-use-after-free-via-ole2frame-dxf-import
Data last checked: Nov 29, 2026 21:13 UTC