{"schemaVersion":3,"id":"CVE-2021-3410","aliases":["MGASA-2021-0128","SUSE-SU-2022:3400-1","SUSE-SU-2022:3428-1","UBUNTU-CVE-2021-3410","USN-4921-1","DEBIAN-CVE-2021-3410","DLA-2584-1"],"status":"published","duplicateOf":null,"title":null,"description":"A flaw was found in libcaca v0.99.beta19. A buffer overflow issue in caca_resize function in libcaca/caca/canvas.c may lead to local execution of arbitrary code in the user context.","dates":{"published":"2021-02-23T22:22:18.000Z","modified":"2024-08-03T16:53:17.677Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.6,"severity":"medium","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00561,"percentile":0.4559,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.003999999999999924,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00565},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00561,"percentile":0.4559}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00565,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00561,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00561,"percentile":0.4559}]},"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_6C8A715D3F146F76","name":"Exploit Reference (bugzilla.redhat.com)","source":"reference","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1928437","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"},{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"debian","product":"libcaca","name":"libcaca","label":"libcaca","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libcaca","purlType":"deb","versions":[{"text":"< 0.99.beta19-2.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0.99.beta19-2.1~deb9u2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.beta19-2.2 | < 0.99.beta19-2.1~deb9u2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libcaca","name":"libcaca","label":"libcaca","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libcaca","purlType":"deb","versions":[{"text":"< 0.99.beta18-1ubuntu5.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.99.beta19-2ubuntu0.16.04.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0.99.beta19-2ubuntu0.18.04.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0.99.beta19-2.1ubuntu1.20.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.beta18-1ubuntu5.1+esm1 | < 0.99.beta19-2ubuntu0.16.04.2 | < 0.99.beta19-2ubuntu0.18.04.2 | < 0.99.beta19-2.1ubuntu1.20.04.1","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":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null}],"versionsText":"34 | 35","eol":{"isEol":true,"eolDate":"2022-06-07T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"34","label":"34","eolFrom":"2022-06-07T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"libcaca_project","product":"libcaca","name":"libcaca","label":"libcaca","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.99:beta19","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.99:beta19","eol":null,"hubHref":"/vendor/libcaca_project/libcaca"},{"vendor":"mageia","product":"libcaca","name":"libcaca","label":"libcaca","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/libcaca","purlType":"rpm","versions":[{"text":"< 0.99-0.beta19.3.1.mga7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99-0.beta19.3.1.mga7","eol":null,"hubHref":null},{"vendor":"mageia","product":"libcaca","name":"libcaca","label":"libcaca","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/libcaca","purlType":"rpm","versions":[{"text":"< 0.99-0.beta19.5.1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99-0.beta19.5.1.mga8","eol":null,"hubHref":null},{"vendor":"opensuse","product":"libcaca&distro=openSUSE Leap 15.3","name":"libcaca","label":"libcaca&distro=openSUSE Leap 15.3","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/libcaca&distro=openSUSE Leap 15.3","purlType":"rpm","versions":[{"text":"< 0.99.beta19.git20171003-150200.11.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.beta19.git20171003-150200.11.9.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"libcaca&distro=openSUSE Leap 15.4","name":"libcaca","label":"libcaca&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/libcaca&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 0.99.beta19.git20171003-150200.11.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.beta19.git20171003-150200.11.9.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libcaca&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3","name":"libcaca","label":"libcaca&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libcaca&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3","purlType":"rpm","versions":[{"text":"< 0.99.beta19.git20171003-150200.11.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.beta19.git20171003-150200.11.9.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libcaca&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4","name":"libcaca","label":"libcaca&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libcaca&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4","purlType":"rpm","versions":[{"text":"< 0.99.beta19.git20171003-150200.11.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.beta19.git20171003-150200.11.9.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libcaca&distro=SUSE Linux Enterprise Server 12 SP5","name":"libcaca","label":"libcaca&distro=SUSE Linux Enterprise Server 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libcaca&distro=SUSE Linux Enterprise Server 12 SP5","purlType":"rpm","versions":[{"text":"< 0.99.beta18-14.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.beta18-14.12.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libcaca&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","name":"libcaca","label":"libcaca&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libcaca&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","purlType":"rpm","versions":[{"text":"< 0.99.beta18-14.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.beta18-14.12.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libcaca&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","name":"libcaca","label":"libcaca&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libcaca&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","purlType":"rpm","versions":[{"text":"< 0.99.beta18-14.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.beta18-14.12.1","eol":null,"hubHref":null}],"affectedCount":14,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1928437","label":"bugzilla.redhat.com/show_bug.cgi?id=1928437","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/cacalabs/libcaca/issues/52","label":"github.com/cacalabs/libcaca/issues/52","hostname":"github.com","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00006.html","label":"lists.debian.org/debian-lts-announce/2021/03/msg00006.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/6WFGYICNTMNDNMDDUV4G2RYFB5HNJCOV/","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/PC7EGOEQ5C4OD66ZUJJIIYEXBTZOCMZX/","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/ZSBCRN6EGQJUVOSD4OEEQ6XORHEM2CUL/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://advisories.mageia.org/MGASA-2021-0128.html","label":"advisories.mageia.org/MGASA-2021-0128.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=28556","label":"bugs.mageia.org/show_bug.cgi?id=28556","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://www.debian.org/lts/security/2021/dla-2584","label":"www.debian.org/lts/security/2021/dla-2584","hostname":"www.debian.org","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20223400-1/","label":"www.suse.com/support/update/announcement/2022/suse-su-20223400-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1182731","label":"bugzilla.suse.com/1182731","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2021-3410","label":"www.suse.com/security/cve/CVE-2021-3410","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20223428-1/","label":"www.suse.com/support/update/announcement/2022/suse-su-20223428-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-3410","label":"ubuntu.com/security/CVE-2021-3410","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4921-1","label":"ubuntu.com/security/notices/USN-4921-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3410","label":"www.cve.org/CVERecord?id=CVE-2021-3410","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3410","label":"security-tracker.debian.org/tracker/CVE-2021-3410","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:10927-1","SUSE-SU-2022:0754-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10927-1","SUSE-SU-2022:0754-1"]},"timeline":[{"kind":"published","date":"2021-02-23T22:22:18.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T16:53:17.677Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:12:43.812Z","stale":false,"partial":false}}