๐Ÿ” CVE Alert

CVE-2026-62254

MEDIUM 5.5

LibreDWG: excessive class-decoding reallocation in R13-R2000 DWG parsing

CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th

LibreDWG is a free C library to read and write DWG files. Prior to 0.14, a specially crafted R13-R2000 DWG can trigger algorithmic resource exhaustion in `decode_R13_R2000` in `src/decode.c`. The class-decoding loop performs `realloc` on every iteration without a sanity check on `num_classes`. Manipulating that field forces an extremely slow allocation loop and denial of service when the file is parsed. Running the parser in a sandbox with memory limits is a workaround rather than a remediation. This issue is fixed in version 0.14.

CWE CWE-400 CWE-789
Vendor libredwg
Product libredwg
Published Oct 30, 2026
Stay Ahead of the Next One

Get instant alerts for libredwg libredwg

Be the first to know when new medium vulnerabilities affecting libredwg libredwg are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

LibreDWG / libredwg
< 0.14

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/LibreDWG/libredwg/security/advisories/GHSA-gp83-hcvh-g255 github.com: https://github.com/LibreDWG/libredwg/issues/1261 github.com: https://github.com/LibreDWG/libredwg/commit/9de893a2e395ff5ac104a46cca54c5e2cf8f02cf github.com: https://github.com/LibreDWG/libredwg/releases/tag/0.14