CVE-2026-9501

GNU LibreDWG Dwgread Utility decode.c decompress_R2004_section assertion

Published May 25, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in the decompress_R2004_section function of the Dwgread Utility within GNU LibreDWG. When a specially crafted DWG file is processed, the function can trigger an assertion failure, which typically leads to a crash of the utility. This crash indicates a denial‑of‑service weakness and is categorized as CWE‑617 (Unchecked Return Value). The impact is confined to the process that calls Dwgread; no elevated privileges or remote code execution are required by the currently disclosed exploit.

Affected Systems

The affected product is GNU LibreDWG, with all releases up to and including version 0.14 potentially vulnerable. The issue exists in the component src/decode.c, and a patch containing commit e501cb9926c1e9a07a0d1cc997f3e69e9be801c9 resolves the problem.

Risk and Exploitability

The CVSS score of 4.8 denotes moderate severity, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. Attackers must have local access to the machine to supply a malicious DWG file to the Dwgread utility; the exploit is therefore limited to local scenarios. While the bug currently causes a denial of service, it does not provide remote code execution or privilege escalation. Based on the available data, the likelihood of exploitation is low but not negligible, especially in environments where LibreDWG processes untrusted documents.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LibreDWG to a version that incorporates commit e501cb9926c1e9a07a0d1cc997f3e69e9be801c9 or later, which removes the vulnerability in decompress_R2004_section.
  • If an updated version is not available, place the Dwgread utility under strict sandbox controls, limiting its file system access to trusted directories and preventing it from processing untrusted DWG files.
  • Run manual code or static analysis checks on any incoming DWG files to ensure they do not trigger a decompress_R2004_section assertion failure, and abort processing if validation fails.

Generated by OpenCVE AI on May 25, 2026 at 21:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title GNU LibreDWG Dwgread Utility decode.c decompress_R2004_section assertion
First Time appeared Gnu
Gnu libredwg
Weaknesses CWE-617
CPEs cpe:2.3:a:gnu:libredwg:*:*:*:*:*:*:*:*
Vendors & Products Gnu
Gnu libredwg
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 3.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 4.8, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
May 28, 2026, 12:50 PM
Reserved
May 25, 2026, 10:03 AM
Status
Deferred
Published
May 25, 2026, 9:16 PM
Modified
Jul 23, 2026, 11:10 AM