CVE-2025-61154

Heap Buffer Overflow in LibreDWG Leading to Denial of Service via DWG File Decompression

Published Mar 12, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Heap buffer overflow vulnerability in LibreDWG versions v0.13.3.7571 up to v0.13.3.7835 allows a crafted DWG file to cause a Denial of Service (DoS) via the function decompress_R2004_section at decode.c.

Analysis

AI-generated

Technical impact

A heap buffer overflow occurs in the function decompress_R2004_section in decode.c when parsing a crafted DWG file. The overflow enables an attacker to force the LibreDWG library to crash, resulting in a denial of service. The vulnerability is a classic example of an out‑of‑bounds write (CWE‑122).

Affected Systems

LibreDWG versions 0.13.3.7571 through 0.13.3.7835 are affected. Any system that uses these releases to read or process DWG files is potentially vulnerable.

Risk and Exploitability

The CVSS score is 6.5, indicating moderate severity. EPSS is below 1 %, indicating a low probability of exploitation in production. The vulnerability is not listed in the CISA KEV catalog. The attack vector is file‑based; an adversary can deliver a malicious DWG file to a user of the affected LibreDWG version to trigger the crash. Although the likelihood of widespread exploitation is low, the impact on availability makes patching advisable.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LibreDWG to a version newer than 0.13.3.7835

Generated by OpenCVE AI on March 18, 2026 at 14:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gnu
Gnu libredwg
CPEs cpe:2.3:a:gnu:libredwg:*:*:*:*:*:*:*:*
Vendors & Products Gnu
Gnu libredwg
Type Values Removed Values Added
Title Heap Buffer Overflow in LibreDWG Leading to Denial of Service via DWG File Decompression
Type Values Removed Values Added
Weaknesses CWE-122
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

ssvc

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

Type Values Removed Values Added
First Time appeared Libredwg
Libredwg libredwg
Vendors & Products Libredwg
Libredwg libredwg
Type Values Removed Values Added
Description Heap buffer overflow vulnerability in LibreDWG versions v0.13.3.7571 up to v0.13.3.7835 allows a crafted DWG file to cause a Denial of Service (DoS) via the function decompress_R2004_section at decode.c.
References
Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 14, 2026, 3:37 AM
Reserved
Sep 26, 2025, 12:00 AM
Status
Analyzed
Published
Mar 12, 2026, 7:16 PM
Modified
Jun 17, 2026, 9:50 AM