{"schemaVersion":3,"id":"CVE-2021-21897","aliases":["UBUNTU-CVE-2021-21897","DEBIAN-CVE-2021-21897","DLA-3046-1","openSUSE-SU-2024:10730-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-09-08T15:11:27.000Z","modified":"2024-08-03T18:30:22.865Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02885,"percentile":0.86672,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02885},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02885,"percentile":0.86672}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02885,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02885,"percentile":0.86672}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_1460E1500F6031CA","name":"Exploit Reference (talosintelligence.com)","source":"reference","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1346","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)","description":"The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/191.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"cloudcompare","name":"cloudcompare","label":"cloudcompare","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cloudcompare","purlType":"deb","versions":[{"text":"< 2.11.3-7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.11.3-7.1","eol":null,"hubHref":null},{"vendor":"debian","product":"dxflib","name":"dxflib","label":"dxflib","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/dxflib","purlType":"deb","versions":[{"text":"< 3.26.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.26.4-1","eol":null,"hubHref":null},{"vendor":"debian","product":"horizon-eda","name":"horizon-eda","label":"horizon-eda","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/horizon-eda","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"librecad","name":"librecad","label":"librecad","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/librecad","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.1.2-1+deb9u4","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.1.2-1+deb9u4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"dxflib","name":"dxflib","label":"dxflib","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/dxflib","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"extra_packages_for_enterprise_linux","name":"extra packages for enterprise linux","label":"extra_packages_for_enterprise_linux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0 | 8.0","eol":null,"hubHref":"/vendor/fedoraproject/extra_packages_for_enterprise_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"35","noFixRecorded":false,"fixedIn":null},{"text":"36","noFixRecorded":false,"fixedIn":null},{"text":"37","noFixRecorded":false,"fixedIn":null}],"versionsText":"35 | 36 | 37","eol":{"isEol":true,"eolDate":"2022-12-13T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"35","label":"35","eolFrom":"2022-12-13T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"ribbonsoft","product":"dxflib","name":"dxflib","label":"dxflib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.17.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.17.0","eol":null,"hubHref":"/vendor/ribbonsoft/dxflib"},{"vendor":"opensuse","product":"dxflib&distro=openSUSE Tumbleweed","name":"dxflib","label":"dxflib&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/dxflib&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 3.26.4-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.26.4-1.1","eol":null,"hubHref":null}],"affectedCount":10,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1346","label":"talosintelligence.com/vulnerability_reports/TALOS-2021-1346","hostname":"talosintelligence.com","tags":["X Refsource MISC","REPORT","Exploit","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DA4C4X5GMM65VYLUW7Q7YL6P5NDB633A/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/06/msg00008.html","label":"lists.debian.org/debian-lts-announce/2022/06/msg00008.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IMGMEPTYL7WTQ333J6SMC6MUHDMMWT3O/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5BUOTYU3KKIYE4BEBUFA4MRS462P3OWM/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L2H36XRMAPQBIOVIIFX6KUT5YOG2ETM6/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://ubuntu.com/security/CVE-2021-21897","label":"ubuntu.com/security/CVE-2021-21897","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-21897","label":"www.cve.org/CVERecord?id=CVE-2021-21897","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-21897","label":"security-tracker.debian.org/tracker/CVE-2021-21897","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21897","label":"www.suse.com/security/cve/CVE-2021-21897","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-09-08T15:11:27.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T18:30:22.865Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":46,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:21:29.478Z","stale":false,"partial":false}}