Skip to main content

GNU LibreDWG CVE-2026-15184

| EUVDEUVD-2026-42581 LOW
NULL Pointer Dereference (CWE-476)
2026-07-09 VulDB GHSA-fgx7-4whx-rx6p
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local low-privilege account access
  2. Delivery
    Craft or obtain malicious DWG file (POC public)
  3. Exploit
    Submit file to LibreDWG-based application
  4. Execution
    Trigger null pointer dereference in dwg_next_entity
  5. Impact
    Application process crashes (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold a local account on the target system with at least low-privilege access (confirmed by CVSS PR:L and AV:L). The attacker must be able to supply or influence a DWG file that is processed by an application embedding GNU LibreDWG versions 0.13.4 or earlier - for example, by submitting a file to a local conversion utility, shared CAD workflow, or batch processing queue. The vulnerability triggers specifically within the dwg_next_entity function in src/dwg.c when a null next_obj argument is dereferenced. No special non-default configuration is required beyond the standard DWG file parsing code path. Exploitation is inherently limited by the local attack vector - remote or unauthenticated network-based exploitation is not possible per AV:L in the CVSS vector. Impact is further limited to availability only (process crash/DoS); confidentiality and integrity are unaffected.

Impact

The CVSS 4.0 base score of 4.8 with vector AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N accurately reflects a constrained, low-severity flaw. The local attack vector (AV:L) is the primary limiting factor - network-based exploitation is not possible. Low privileges (PR:L) are required, meaning the attacker must already have a foothold on the target system. Impact is limited strictly to availability (VA:L), with no confidentiality or integrity compromise. The E:P modifier confirms a public proof-of-concept exists, which marginally increases realistic exploitation probability for opportunistic local attackers. No CISA KEV listing exists, confirming the absence of confirmed active in-the-wild exploitation. EPSS data is not provided in the input; given the local-only vector and DoS-only impact, it is likely low. In practice, this is a low-priority vulnerability unless the deployment environment involves untrusted local users submitting DWG files to shared LibreDWG-based services.

Exploit ScenarioDerived

A local user with standard (low-privilege) account access places or supplies a specially crafted DWG file - such as the publicly available proof-of-concept at https://github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_0b57303_dwggrep_segv_null_read_dwg_next_entity_dwg.c_1231.dwg - to an application embedding LibreDWG 0.13.4 or earlier, such as a batch DWG converter or dwggrep. The malformed file causes dwg_next_entity to dereference a null next_obj pointer, immediately crashing the process. If the application is a shared service, this results in denial of service for all users of that service.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 09, 2026

Null pointer dereference in GNU LibreDWG up to 0.13.4 allows a local low-privileged attacker to crash any application that processes a maliciously crafted DWG file via the dwg_next_entity function in src/dwg.c, resulting in denial of service. A proof-of-concept exploit file is publicly available (CVSS 4.0 E:P), though no active exploitation is confirmed in CISA KEV. The issue is fully resolved by upgrading to version 0.14, which includes a committed upstream patch.

RemediationAI

Upgrade GNU LibreDWG to version 0.14, which resolves the null pointer dereference. The fix is implemented in upstream commit dde45dac3c4d902e4d8fed150a8017b9732019c9 and the patched release is available at https://github.com/LibreDWG/libredwg/releases/tag/0.14. If an immediate upgrade is not feasible, restrict which users and processes can supply DWG files to LibreDWG-based applications - for example, by enforcing file source whitelisting or running the DWG parser in a sandboxed, resource-limited subprocess so a crash does not affect the parent service. Applications that embed LibreDWG should perform input validation or file format pre-screening at the application boundary before passing data to the library. These compensating controls reduce exposure but do not eliminate the underlying defect and should be treated as temporary measures only.

Affected VersionsENISA

libredwg 0.13.1
libredwg 0.13.4
libredwg 0.13.3
libredwg 0.13.0
libredwg 0.13.2

Affected Packages

euvd libredwg no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GNU LibreDWG is an open-source C library (CPE: cpe:2.3:a:gnu:libredwg:*:*:*:*:*:*:*:*) for reading and writing AutoCAD DWG binary files. The affected function dwg_next_entity in src/dwg.c iterates over DWG file entity objects. CWE-476 (Null Pointer Dereference) identifies the root cause: the next_obj argument is not validated for null before being dereferenced, so a crafted DWG file that produces a null next_obj value triggers a segmentation fault. The vulnerability is distinct from CVE-2026-9503, which affects the same library, indicating a pattern of input validation issues in the DWG file handler. Tools that embed LibreDWG for DWG parsing - such as converters, CAD viewers, and batch processors like dwggrep - inherit this flaw.

Know when Libredwg gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 1.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 3.3 LOW

Local low-privilege access required to supply crafted DWG input; scope unchanged, no confidentiality or integrity impact, availability limited to vulnerable process crash.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jul 09, 2026 - 13:22 NVD
MEDIUM LOW
CVSS changed
Jul 09, 2026 - 13:22 NVD
4.8 (MEDIUM) 1.9 (LOW)

DescriptionCVE.org

A vulnerability was found in GNU LibreDWG up to 0.13.4. The impacted element is the function dwg_next_entity of the file src/dwg.c of the component DWG File Handler. Performing a manipulation of the argument next_obj results in null pointer dereference. The attack must be initiated from a local position. The exploit has been made public and could be used. Upgrading to version 0.14 is sufficient to resolve this issue. The patch is named dde45dac3c4d902e4d8fed150a8017b9732019c9. Upgrading the affected component is recommended. Different than CVE-2026-9503.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche open-source CAD parsing library, limited production enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2022-35164 CRITICAL POC
9.8 Aug 18

LibreDWG v0.12.4.4608 & commit f2dea29 was discovered to contain a heap use-after-free via bit_copy_chain. Rated critica

CVE-2021-28237 CRITICAL POC
9.8 Dec 02

LibreDWG v0.12.3 was discovered to contain a heap-buffer overflow via decode_preR13. Rated critical severity (CVSS 9.8),

CVE-2020-21844 HIGH POC
8.8 May 17

GNU LibreDWG 0.10 is affected by: memcpy-param-overlap. Rated high severity (CVSS 8.8), this vulnerability is remotely e

CVE-2019-9775 CRITICAL POC
9.1 Mar 14

An issue was discovered in GNU LibreDWG 0.7 and 0.7.1645. Rated critical severity (CVSS 9.1), this vulnerability is remo

CVE-2019-9774 CRITICAL POC
9.1 Mar 14

An issue was discovered in GNU LibreDWG 0.7 and 0.7.1645. Rated critical severity (CVSS 9.1), this vulnerability is remo

CVE-2020-21833 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exits in GNU LibreDWG 0.10 via: read_2004_section_classes ../../src/decode.c:

CVE-2020-21841 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exits in GNU LibreDWG 0.10 via bit_read_B ../../src/bits.c:135. Rated high se

CVE-2020-21840 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exits in GNU LibreDWG 0.10 via bit_search_sentinel ../../src/bits.c:1985. Rat

CVE-2020-21838 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exits in GNU LibreDWG 0.10 via: read_2004_section_appinfo ../../src/decode.c:

CVE-2020-21843 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exits in GNU LibreDWG 0.10 via bit_read_RC ../../src/bits.c:318. Rated high s

CVE-2020-21842 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exists in GNU LibreDWG 0.10 via read_2004_section_revhistory ../../src/decode

CVE-2020-21832 HIGH POC
8.8 May 17

A heap based buffer overflow vulnerability exists in GNU LibreDWG 0.10 via read_2004_compressed_section ../../src/decode

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy