CVE-2026-62254
Full vulnerability record from the local CVENow database.
Description
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.
Severity
MEDIUM
CVSS score
5.5
(v3.1)
Vulnerability status
Received
Source identifier
Published
2026-10-30 21:17:13.370000
Last modified
2026-10-30 21:17:13.370000
View original CVE JSON
{
"id": "CVE-2026-62254",
"sourceIdentifier": "[email protected]",
"published": "2026-10-30T21:17:13.370",
"lastModified": "2026-10-30T21:17:13.370",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "LibreDWG",
"product": "libredwg",
"versions": [
{
"version": "< 0.14",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-400"
},
{
"lang": "en",
"value": "CWE-789"
}
]
}
],
"references": [
{
"url": "https://github.com/LibreDWG/libredwg/commit/9de893a2e395ff5ac104a46cca54c5e2cf8f02cf",
"source": "[email protected]"
},
{
"url": "https://github.com/LibreDWG/libredwg/issues/1261",
"source": "[email protected]"
},
{
"url": "https://github.com/LibreDWG/libredwg/releases/tag/0.14",
"source": "[email protected]"
},
{
"url": "https://github.com/LibreDWG/libredwg/security/advisories/GHSA-gp83-hcvh-g255",
"source": "[email protected]"
}
]
}