Description
A flaw has been found in GNU libredwg up to 0.13.4.8160. This issue affects the function bit_read_RC of the file bits.c of the component Dwgbmp Utility. This manipulation causes heap-based buffer overflow. The attack is possible to be carried out remotely. The exploit has been published and may be used. Patch name: 8f03865f37f5d4ffd616fef802acc980be54d300. Applying a patch is the recommended action to fix this issue.
Published: 2026-05-26
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A heap‑based buffer overflow occurs during the execution of the bit_read_RC function in the Dwgbmp Utility of GNU libredwg. The vulnerability allows an attacker to overflow a heap buffer, potentially leading to arbitrary code execution or privilege escalation on the affected system. The flaw is detectable through malformed DWG files processed by the utility, and the exploit has already been published for remote exploitation.

Affected Systems

GNU libredwg versions up to 0.13.4.8160 are affected. Any system that uses this library and processes DWG files is at risk. The vulnerability is present in the bits.c component of the Dwgbmp Utility module.

Risk and Exploitability

The CVSS score of 6.9 indicates a medium severity risk. No EPSS score is available, but an exploit has been published and could be deployed remotely. The flaw is not listed in CISA’s KEV catalog, yet the existence of a public exploit and remote attack capability make it a priority for patching.

Generated by OpenCVE AI on May 27, 2026 at 00:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch identified by commit 8f03865f37f5d4ffd616fef802acc980be54d300, which eliminates the heap-based overflow.
  • Upgrade to the latest released version of libredwg, ensuring all known fixes are included.
  • If the library cannot be updated immediately, restrict its use by disabling features that call bit_read_RC or by quarantining systems that process untrusted DWG files.

Generated by OpenCVE AI on May 27, 2026 at 00:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 28 May 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 26 May 2026 23:45:00 +0000

Type Values Removed Values Added
Description A flaw has been found in GNU libredwg up to 0.13.4.8160. This issue affects the function bit_read_RC of the file bits.c of the component Dwgbmp Utility. This manipulation causes heap-based buffer overflow. The attack is possible to be carried out remotely. The exploit has been published and may be used. Patch name: 8f03865f37f5d4ffd616fef802acc980be54d300. Applying a patch is the recommended action to fix this issue.
Title GNU libredwg Dwgbmp Utility bits.c bit_read_RC heap-based overflow
First Time appeared Gnu
Gnu libredwg
Weaknesses CWE-119
CWE-122
CPEs cpe:2.3:a:gnu:libredwg:*:*:*:*:*:*:*:*
Vendors & Products Gnu
Gnu libredwg
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

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

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-05-28T13:52:18.548Z

Reserved: 2026-05-26T16:14:39.515Z

Link: CVE-2026-9605

cve-icon Vulnrichment

Updated: 2026-05-28T13:51:01.507Z

cve-icon NVD

Status : Deferred

Published: 2026-05-27T00:16:39.157

Modified: 2026-05-28T14:16:26.630

Link: CVE-2026-9605

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T01:30:15Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-122

    Heap-based Buffer Overflow