CVE-2026-9502
Heap-based Buffer Overflow in GNU LibreDWG
Publication date: 2026-05-25
Last updated on: 2026-05-25
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| gnu | libredwg | to 0.14 (inc) |
Helpful Resources
Exploitability
| 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-122 | A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in GNU LibreDWG up to version 0.14, specifically in the decompress_R2004_section function within the src/decode.c file of the Dwgread Utility component.
It involves a heap-based buffer overflow caused by improper manipulation in this function.
The attack exploiting this vulnerability must be performed locally, and a public exploit is available.
A patch identified by e501cb9926c1e9a07a0d1cc997f3e69e9be801c9 is recommended to fix this issue.
How can this vulnerability impact me? :
The vulnerability can lead to a heap-based buffer overflow, which may allow an attacker with local access to cause unexpected behavior such as application crashes or potentially execute arbitrary code.
Since the attack requires local access, remote exploitation is not possible.
The presence of a public exploit increases the risk if the system is not patched.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, it is recommended to deploy the patch identified by commit e501cb9926c1e9a07a0d1cc997f3e69e9be801c9.
Since the attack must be carried out locally, limiting local access to the affected system and ensuring only trusted users have such access can reduce risk.