CVE-2021-21897
published high CVSS 3.0 · 8.8libdxflib: heap-based buffer overflow in the DL_Dxf:handleLWPolylineData function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | RibbonsoftRibbonsoft dxflib 3.17.0 | Affected | Not stated | talos |
| Debian | stretch | librecad | Advisory build | 2.1.2-1+deb9u4 | DLA-3046-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dxflib-develaarch64 | Advisory build | 3.26.4-1.1 | OPENSUSE-SU-2024:10730-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dxflib-develppc64le | Advisory build | 3.26.4-1.1 | OPENSUSE-SU-2024:10730-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dxflib-devels390x | Advisory build | 3.26.4-1.1 | OPENSUSE-SU-2024:10730-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dxflib-develx86_64 | Advisory build | 3.26.4-1.1 | OPENSUSE-SU-2024:10730-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libdxflib-3_26_4-1aarch64 | Advisory build | 3.26.4-1.1 | OPENSUSE-SU-2024:10730-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libdxflib-3_26_4-1ppc64le | Advisory build | 3.26.4-1.1 | OPENSUSE-SU-2024:10730-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libdxflib-3_26_4-1s390x | Advisory build | 3.26.4-1.1 | OPENSUSE-SU-2024:10730-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libdxflib-3_26_4-1x86_64 | Advisory build | 3.26.4-1.1 | OPENSUSE-SU-2024:10730-1 |
Description
A code execution vulnerability exists in the DL_Dxf::handleLWPolylineData functionality of Ribbonsoft dxflib 3.17.0. A specially-crafted .dxf file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- talos · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Ribbonsoft | Ribbonsoft dxflib 3.17.0 (affected) | talos · cna |
Weaknesses
1- CWE-191 CWE-191: Integer Underflow (Wrap or Wraparound)
References
6- [debian-lts-announce] 20220607 [SECURITY] [DLA 3046-1] librecad security update https://lists.debian.org/debian-lts-announce/2022/06/msg00008.html
- FEDORA-2022-9d17930140 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5BUOTYU3KKIYE4BEBUFA4MRS462P3OWM/
- FEDORA-2022-635599924b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DA4C4X5GMM65VYLUW7Q7YL6P5NDB633A/
- FEDORA-2022-8d01b8b6d3 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IMGMEPTYL7WTQ333J6SMC6MUHDMMWT3O/
- FEDORA-2022-9cbdf39a5a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L2H36XRMAPQBIOVIIFX6KUT5YOG2ETM6/
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1346
Provider assertions
2talos · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8863e229aae48b5582b791411b00c3a883484c235ad88604e44c1a5ebcdcce32
- Ingested
- 23 Sep 2026, 07:52:37 UTC
- Source record
- Official CVE record