Heap-Based Buffer Overflow in GNU LibreDWG Revealed

4.8MEDIUM

CVE-2026-9502

Key Information:

Vendor

Gnu

Status
CVE ID
CVE ID:
CVE-2026-9502
Vendor
CVE Published:
25 May 2026

Timeline

Exploit known the day it was published

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

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

How risky is it?

  • No: Needs local access
  • Yes: Public exploit code (1 proof-of-concept)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory โ†—
2Look for signs of compromise

Exploit code is public, so check logs on exposed Libredwg systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

3Why it's rated "Check today"
  • Exploit code is public, so attacks are easy to copy.
  • Its CVSS severity is medium (4.8).

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

Out-of-Bounds Write Vulnerability in GNU Inetutils Telnetd

CVE-2026-32746
GnuInetutils๐Ÿ”ฅ๐Ÿ˜„๐Ÿ‘พ9.8CRITICAL

Remote Authentication Bypass in GNU Inetutils Telnetd

CVE-2026-24061
GnuInetutils๐Ÿ”ฅ๐Ÿ˜„๐Ÿ‘พ๐ŸŸฃ9.8CRITICAL
View more Gnu vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

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

Credit

pwn3rd (VulDB User)
.