GNU LibreDWG BMP Image dwg.c dwg_bmp heap-based overflow (GNU LibreDWG)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.19 % · percentile 10 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- VulDB
- Affected products
- GNU · LibreDWG
- NVD status
- Deferred
Description
A vulnerability has been found in GNU LibreDWG up to 0.13.4. The affected element is the function dwg_bmp of the file src/dwg.c of the component BMP Image Handler. Such manipulation leads to heap-based buffer overflow. The attack must be carried out locally. The exploit has been disclosed to the public and may be used. Upgrading to version 0.14 is sufficient to fix this issue. The name of the patch is 18fd542bb4d5ccedf9de12052bf50068b2b26f06. It is suggested to upgrade the affected component.
Weaknesses (CWE)
- CWE-122 — Heap-based Buffer Overflow
- CWE-119 — Improper Restriction of Operations within the Bounds of a Memory Buffer
Credits
- Ech06 (VulDB User) reporter
References
- https://vuldb.com/vuln/377109
- https://vuldb.com/vuln/377109/cti
- https://vuldb.com/cve/CVE-2026-15182
- https://vuldb.com/submit/851191
- https://github.com/LibreDWG/libredwg/issues/1252
- https://github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_0b57303_heap_overflow_decode_R13_R2000.dwg
- https://github.com/LibreDWG/libredwg/commit/18fd542bb4d5ccedf9de12052bf50068b2b26f06
- https://github.com/LibreDWG/libredwg/releases/tag/0.14
- https://github.com/LibreDWG/libredwg/issues/1249
- https://www.gnu.org/
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | MEDIUM 4.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| CVSS 2.0 | MEDIUM 4.3 | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
| CVSS 4.0 | LOW 1.9 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD · cna@vuldb.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | NVD · cna@vuldb.com (Secondary) |
| CVSS 2.0 | MEDIUM 4.3 | AV:L/AC:L/Au:S/C:P/I:P/A:P | NVD · cna@vuldb.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-42580
- GCVE · GCVE-0-2026-15182
Affected products
| Product | Affected versions |
|---|---|
| GNU · LibreDWG | affected : 0.13.0 affected : 0.13.1 affected : 0.13.2 affected : 0.13.3 affected : 0.13.4 unaffected : 0.14 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |