Skip to main content

GNU LibreDWG EUVDEUVD-2026-31737

| CVE-2026-9501 LOW
Reachable Assertion (CWE-617)
2026-05-25 VulDB GHSA-f6gf-3cj7-46vv
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local account with standard user privileges
  2. Delivery
    Acquire or craft malformed R2004-format DWG file
  3. Exploit
    Execute `dwgread` with crafted file as input
  4. Execution
    Invalid comp_bytes/comp_offset triggers assertion in `decompress_R2004_section`
  5. Impact
    `dwgread` process aborts (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
Exploitation Conditions

Local system access with at minimum standard user (non-root) privileges is required (CVSS AV:L/PR:L); remote or unauthenticated exploitation is not possible. The attacker must be able to invoke the dwgread command-line utility and supply a crafted R2004-format .dwg file as input - the flaw activates only during decompression of R2004 section data when comp_bytes or comp_offset values exceed dec->size bounds. Exploitation is further limited by impact scope: only the dwgread process aborts; there is no effect on system stability, other processes, or data integrity. The primary limiting factor is the local-only attack vector combined with the need to control DWG file input to the utility.

Impact

The CVSS 4.0 score of 1.9 accurately reflects the constrained threat: attack vector is local (AV:L), privileges required are low (PR:L), and impact is exclusively a limited availability loss (VA:L) against the parsing process - no confidentiality, integrity, or system-scope impact. EPSS at 0.01% (2nd percentile) is fully consistent with this, indicating negligible probability of broader exploitation in the wild. The vulnerability is not listed in CISA KEV. While a public proof-of-concept .dwg file exists on GitHub, it only causes a process abort in the dwgread command-line tool, not arbitrary code execution. No signal conflicts exist: CVSS vector, impact subscores, and EPSS are mutually reinforcing. This is a low operational priority - primarily relevant to organizations where untrusted users can invoke dwgread on arbitrary input files.

Exploit ScenarioDerived

A local user with a standard (non-root) account downloads the publicly available proof-of-concept .dwg file from https://github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_6d6a339_assert_fail_decompress_R2004_section.dwg and passes it to dwgread. The malformed R2004 decompression offsets trigger the reachable assertion in decompress_R2004_section, causing dwgread to abort immediately. The result is a denial of service against the parsing process only - no code is executed and no system-wide disruption occurs.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

Reachable assertion (CWE-617) in GNU LibreDWG's decompress_R2004_section function allows a local low-privileged attacker to crash the dwgread utility by supplying a malformed R2004-format DWG file with out-of-bounds decompression parameters. All releases from 0.1 through 0.14 are confirmed affected. Publicly available exploit code exists, though EPSS sits at 0.01% (2nd percentile) and no active exploitation is confirmed - consistent with the strictly local, no-code-execution impact profile.

RemediationAI

Build from or update to a revision at or after upstream commit e501cb9926c1e9a07a0d1cc997f3e69e9be801c9 from the LibreDWG GitHub repository (https://github.com/LibreDWG/libredwg/commit/e501cb9926c1e9a07a0d1cc997f3e69e9be801c9); note that a formally released patched version number has not been independently confirmed at time of analysis - only the upstream commit is verified. As a compensating control, restrict execution of the dwgread binary to trusted users operating on trusted input files, since the attack requires local access with low privileges and deliberate supply of a crafted DWG file. In environments where DWG parsing is not operationally required, removing or disabling the dwgread binary eliminates exposure entirely with no functional trade-off. No network-layer mitigations are applicable given the strictly local attack vector.

Affected VersionsENISA

libredwg 0.12
libredwg 0.13
libredwg 0.9
libredwg 0.3
libredwg 0.6
libredwg 0.1
libredwg 0.8
libredwg 0.10
libredwg 0.2
libredwg 0.7
libredwg 0.5
libredwg 0.4
libredwg 0.11
libredwg 0.14

Affected Packages

euvd libredwg no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GNU LibreDWG is a free C library (GNU project, CPE cpe:2.3:a:gnu:libredwg:*:*:*:*:*:*:*:*) for reading and writing AutoCAD DWG binary files. The vulnerable function decompress_R2004_section in src/decode.c handles decompression of R2004-format DWG section blocks. CWE-617 (Reachable Assertion) identifies the root cause: an assert() reachable via attacker-controlled input - specifically, crafted comp_bytes or comp_offset values that violate internal bounds assumptions. The upstream patch (commit e501cb9926c1e9a07a0d1cc997f3e69e9be801c9) inserts explicit pre-flight bounds checks (end > dec->size, (size_t)(pos - comp_offset) >= dec->size, (size_t)comp_offset > dec->size) and returns DWG_ERR_VALUEOUTOFBOUNDS instead of allowing the assert to fire, confirming the fix converts an abort-path into a controlled error return.

Know when Libredwg gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 1.9 LOW
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 26, 2026 - 20:07 NVD
3.3 (LOW) 1.9 (LOW)

DescriptionCVE.org

A vulnerability was determined in GNU LibreDWG up to 0.14. The impacted element is the function decompress_R2004_section of the file src/decode.c of the component Dwgread Utility. Executing a manipulation can lead to reachable assertion. The attack is restricted to local execution. The exploit has been publicly disclosed and may be utilized. This patch is called e501cb9926c1e9a07a0d1cc997f3e69e9be801c9. A patch should be applied to remediate this issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2022-35164 CRITICAL POC
9.8 Aug 18

LibreDWG v0.12.4.4608 & commit f2dea29 was discovered to contain a heap use-after-free via bit_copy_chain. Rated critica

CVE-2021-28237 CRITICAL POC
9.8 Dec 02

LibreDWG v0.12.3 was discovered to contain a heap-buffer overflow via decode_preR13. Rated critical severity (CVSS 9.8),

CVE-2020-21844 HIGH POC
8.8 May 17

GNU LibreDWG 0.10 is affected by: memcpy-param-overlap. Rated high severity (CVSS 8.8), this vulnerability is remotely e

CVE-2019-9775 CRITICAL POC
9.1 Mar 14

An issue was discovered in GNU LibreDWG 0.7 and 0.7.1645. Rated critical severity (CVSS 9.1), this vulnerability is remo

CVE-2019-9774 CRITICAL POC
9.1 Mar 14

An issue was discovered in GNU LibreDWG 0.7 and 0.7.1645. Rated critical severity (CVSS 9.1), this vulnerability is remo

CVE-2020-21833 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exits in GNU LibreDWG 0.10 via: read_2004_section_classes ../../src/decode.c:

CVE-2020-21841 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exits in GNU LibreDWG 0.10 via bit_read_B ../../src/bits.c:135. Rated high se

CVE-2020-21840 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exits in GNU LibreDWG 0.10 via bit_search_sentinel ../../src/bits.c:1985. Rat

CVE-2020-21838 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exits in GNU LibreDWG 0.10 via: read_2004_section_appinfo ../../src/decode.c:

CVE-2020-21843 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exits in GNU LibreDWG 0.10 via bit_read_RC ../../src/bits.c:318. Rated high s

CVE-2020-21842 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exists in GNU LibreDWG 0.10 via read_2004_section_revhistory ../../src/decode

CVE-2020-21832 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exists in GNU LibreDWG 0.10 via read_2004_compressed_section ../../src/decode

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy