{"id":"CVE-2021-21897","aliases":["DEBIAN-CVE-2021-21897","DLA-3046-1","EUVD-2021-9068","GHSA-ghgg-v38h-7v7m","UBUNTU-CVE-2021-21897","openSUSE-SU-2024:10730-1"],"status":"published","title":"A code execution vulnerability exists in the DL_Dxf::handleLWPolylineData functionality of...","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.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.02885,"percentile":0.86984,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-191","CWE-787"],"published":"2021-09-08T15:11:27Z","modified":"2026-10-23T18:04:50Z","fixes":[{"ecosystem":"Debian:12","package":"cloudcompare","fixed_in":["2.11.3-7.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"cloudcompare","fixed_in":["2.11.3-7.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"cloudcompare","fixed_in":["2.11.3-7.1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"dxflib","fixed_in":["3.26.4-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"dxflib","fixed_in":["3.26.4-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"dxflib","fixed_in":["3.26.4-1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"librecad","fixed_in":["2.1.2-1+deb9u4"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"dxflib","fixed_in":["3.26.4-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"cloudcompare","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-7.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"cloudcompare","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-7.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"cloudcompare","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-7.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"dxflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.4-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"dxflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.4-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"dxflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.4-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"horizon-eda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.0-1","2.4.0-1.1","2.5.0-1","2.6.0-1","2.6.0-2","2.6.0-2.1","2.6.0-2.2","2.6.0-2.3","2.6.0-3"]},{"source":"osv","ecosystem":"Debian:13","package":"horizon-eda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0-2.2","2.6.0-2.3","2.6.0-3"]},{"source":"osv","ecosystem":"Debian:14","package":"horizon-eda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0-2.2","2.6.0-2.3","2.6.0-3"]},{"source":"osv","ecosystem":"Debian:12","package":"librecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0-1","2.2.0.2-1","2.2.0.2-2","2.2.0.2-3"]},{"source":"osv","ecosystem":"Debian:13","package":"librecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0.2-1","2.2.0.2-2","2.2.0.2-3"]},{"source":"osv","ecosystem":"Debian:14","package":"librecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0.2-1","2.2.0.2-2","2.2.0.2-3"]},{"source":"osv","ecosystem":"Debian:9","package":"librecad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1+deb9u4"}]}],"versions":["2.1.2-1","2.1.2-1+deb9u1","2.1.2-1+deb9u2","2.1.2-1+deb9u3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"dxflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.0.0-3","2.5.0.0-4"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"dxflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.17.0-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"dxflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.17.0-3","3.17.0-3build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"dxflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.17.0-3build1","3.26.4-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"dxflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.26.4-1","3.26.4-1build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"dxflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.26.4-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"dxflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.26.4-2build1","3.26.4-3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"dxflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.26.4-2","3.26.4-2build1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"dxflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.4-1.1"}]}]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"extra_packages_for_enterprise_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"ribbonsoft","product":"dxflib"}],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1346","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DA4C4X5GMM65VYLUW7Q7YL6P5NDB633A/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/06/msg00008.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IMGMEPTYL7WTQ333J6SMC6MUHDMMWT3O/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5BUOTYU3KKIYE4BEBUFA4MRS462P3OWM/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L2H36XRMAPQBIOVIIFX6KUT5YOG2ETM6/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21897"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DA4C4X5GMM65VYLUW7Q7YL6P5NDB633A/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IMGMEPTYL7WTQ333J6SMC6MUHDMMWT3O/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BUOTYU3KKIYE4BEBUFA4MRS462P3OWM/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L2H36XRMAPQBIOVIIFX6KUT5YOG2ETM6/"},{"url":"https://github.com/advisories/GHSA-ghgg-v38h-7v7m"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-21897","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-21897","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-21897","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21897","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-21897","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.","status":"published","published":"2021-09-08T15:11:27Z","modified":"2024-08-03T18:30:22.865Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-191"],"updated_at":"2026-11-02T14:32:59.802172Z"}],"euvd":[{"id":"EUVD-2021-9068","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.","status":"published","published":"2021-09-08T15:11:27Z","modified":"2024-08-03T18:30:22Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T03:25:04.094929Z"}],"ghsa":[{"id":"GHSA-ghgg-v38h-7v7m","title":"A code execution vulnerability exists in the DL_Dxf::handleLWPolylineData functionality of...","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.","status":"published","published":"2022-05-24T19:13:21Z","modified":"2023-01-30T05:06:04Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-191","CWE-787"],"updated_at":"2026-11-02T14:47:25.356505Z"}],"nvd":[{"id":"CVE-2021-21897","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.","status":"published","published":"2021-09-08T16:15:07.267Z","modified":"2026-06-17T03:36:19.243Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-191","CWE-787"],"updated_at":"2026-11-02T14:06:58.502206Z"}],"osv":[{"id":"CVE-2021-21897","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.","status":"published","published":"2021-09-08T16:15:07.267Z","modified":"2026-03-14T01:41:37.038503Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"DEBIAN-CVE-2021-21897","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.","status":"published","published":"2021-09-08T16:15:07.267Z","modified":"2026-10-23T18:04:50.73493283Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.637046Z"},{"id":"UBUNTU-CVE-2021-21897","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.","status":"published","published":"2021-09-08T16:15:00Z","modified":"2026-10-17T12:56:18.956798127Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:26.29421Z"},{"id":"DLA-3046-1","title":"librecad - security update","status":"published","published":"2022-06-07T00:00:00Z","modified":"2026-03-09T01:22:58.237394Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"openSUSE-SU-2024:10730-1","title":"dxflib-devel-3.26.4-1.1 on GA media","description":"These are all security issues fixed in the dxflib-devel-3.26.4-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:18:35.589305Z","updated_at":"2026-11-02T16:58:34.487567Z"}]}}
