CVE-2026-9605

GNU libredwg Dwgbmp Utility bits.c bit_read_RC heap-based overflow

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

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
May 28, 2026, 1:52 PM
Reserved
May 26, 2026, 4:14 PM
Status
Deferred
Published
May 27, 2026, 12:16 AM
Modified
Jul 24, 2026, 12:10 PM