LiveActive security incident?Get immediate response
CVE Record

CVE-2021-42585: A heap buffer overflow was discovered in copy_compressed_bytes in decode_r2007.c in dwgread before 0.12.4 v...

A heap buffer overflow was discovered in copy_compressed_bytes in decode_r2007.c in dwgread before 0.12.4 via a crafted dwg file.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-42585 is a heap buffer overflow in dwgread before 0.12.4. A maliciously crafted DWG drawing file could trigger memory corruption when processed. Business risk depends on whether the organization imports or analyzes untrusted DWG files with this tool.

Executive priority

Handle as a targeted remediation item for engineering, CAD, or document-processing environments. It is not KEV-listed, but untrusted file parsing bugs can become operationally relevant where file intake is routine.

Technical view

The issue is in copy_compressed_bytes in decode_r2007.c in dwgread before 0.12.4. The CVE description ties exploitation to parsing a crafted DWG file. No CVSS score, CWE, detailed impact, or vendor mitigation text is provided in the source bundle.

Likely exposure

Exposure is likely limited to systems or pipelines using dwgread or LibreDWG components before 0.12.4, especially where users, partners, or automated workflows submit DWG files for parsing.

Exploitation context

The source bundle describes a crafted-file trigger but does not show active exploitation. CISA KEV status is false, and no cited source in the bundle claims exploitation in the wild.

Researcher notes

Evidence is sparse: the bundle identifies function, file, affected version boundary, and crafted DWG trigger, but lacks CVSS, CWE, commit details, or impact classification. Do not assume code execution without stronger source evidence.

Mitigation direction

  • Inventory dwgread or LibreDWG use across workstations, servers, and CI pipelines.
  • Upgrade affected dwgread or LibreDWG installations to 0.12.4 or later where applicable.
  • Check LibreDWG project guidance for any additional fixes or recommended handling.
  • Restrict processing of untrusted DWG files until affected parsers are updated.
  • Run file parsing workloads with least privilege and isolation where feasible.

Validation and detection

  • Confirm installed dwgread or LibreDWG versions are not before 0.12.4.
  • Review SBOMs, package manifests, and build images for bundled LibreDWG components.
  • Identify upload, import, or batch-processing paths that accept external DWG files.
  • Verify untrusted DWG processing runs in constrained accounts or sandboxed environments.
  • Check logs for crashes during DWG parsing, without attempting exploit reproduction.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-42585 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.