CVE-2026-9504
Deferred Deferred - Pending Action
Out-of-Bounds Read in GNU LibreDWG

Publication date: 2026-05-25

Last updated on: 2026-05-26

Assigner: VulDB

Description
A weakness has been identified in GNU LibreDWG up to 0.14. Affected is the function bit_convert_TU of the file programs/dwggrep.c of the component Dwggrep Utility. This manipulation causes out-of-bounds read. The attack needs to be launched locally. The exploit has been made available to the public and could be used for attacks. Patch name: be996bf2178a40e98720f18c2414815d244413db. Applying a patch is the recommended action to fix this issue.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-25
Last Modified
2026-05-26
Generated
2026-06-15
AI Q&A
2026-05-26
EPSS Evaluated
2026-06-14
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
gnu libredwg to 0.14 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-119 The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in the GNU LibreDWG software up to version 0.14, specifically in the function bit_convert_TU within the file programs/dwggrep.c of the Dwggrep Utility component.

The issue is an out-of-bounds read caused by improper manipulation in that function.

An attacker must have local access to launch the attack exploiting this vulnerability.

The exploit code for this vulnerability has been made publicly available.

Applying the provided patch is recommended to fix this issue.

Impact Analysis

This vulnerability allows an attacker with local access to cause an out-of-bounds read in the affected software.

Such out-of-bounds reads can potentially lead to information disclosure or cause the program to behave unexpectedly.

However, the CVSS scores indicate a low severity impact, with no direct impact on integrity or availability.

Mitigation Strategies

The recommended action to fix this issue is to apply the patch identified as be996bf2178a40e98720f18c2414815d244413db.

Since the attack needs to be launched locally, limiting local access to trusted users may also help mitigate risk until the patch is applied.

Compliance Impact

The vulnerability in GNU LibreDWG involves an out-of-bounds read that could potentially allow an attacker to read sensitive memory or cause a denial of service. However, there is no specific information provided about how this vulnerability impacts compliance with common standards and regulations such as GDPR or HIPAA.

Detection Guidance

This vulnerability is triggered by processing a maliciously crafted DWG file locally using the dwggrep tool from the LibreDWG library. Detection involves identifying attempts to run dwggrep on suspicious or malformed DWG files that could exploit the bit_convert_TU function.

Since the vulnerability causes an out-of-bounds heap read, one practical detection method is to run dwggrep under memory error detection tools such as AddressSanitizer or similar sanitizers to catch heap-buffer-overflow reads during testing or monitoring.

Suggested commands for detection include:

  • Run dwggrep with AddressSanitizer enabled to detect heap-buffer-overflow: compile LibreDWG with ASAN and execute dwggrep on suspect DWG files.
  • Use fuzzing tools targeting dwggrep to identify crashes or memory errors related to malformed DWG files.
  • Monitor logs or system behavior for crashes or abnormal terminations of dwggrep when processing DWG files.

No specific network detection commands are applicable since the attack requires local execution.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-9504. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart