Heap-Based Buffer Overflow in GNU LibreDWG Revealed
CVE-2026-9502

4.8MEDIUM

Key Information:

Vendor

Gnu

Status
Vendor
CVE Published:
25 May 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2026-9502?

A heap-based buffer overflow vulnerability has been discovered in GNU LibreDWG, specifically in the decompress_R2004_section function found in the src/decode.c component. This weakness enables an attacker to manipulate memory, potentially leading to execution of arbitrary code. The attack must be executed locally, and there are known exploits available publicly. To mitigate this vulnerability, users are advised to apply the official patch identified in commit e501cb9926c1e9a07a0d1cc997f3e69e9be801c9.

Affected Version(s)

LibreDWG 0.1

LibreDWG 0.2

LibreDWG 0.3

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
4.8
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

pwn3rd (VulDB User)
.