{"id":"UBUNTU-CVE-2022-2061","details":"Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.","modified":"2026-05-20T16:07:36.278280815Z","published":"2022-06-13T12:15:00Z","upstream":["CVE-2022-2061"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-2061"},{"type":"REPORT","url":"https://github.com/hpjansson/chafa/commit/e6ce3746cdcf0836b9dae659a5aed15d73a080d8"},{"type":"REPORT","url":"https://huntr.dev/bounties/365ab61f-9a63-421c-97e6-21d4653021f0/"},{"type":"REPORT","url":"https://huntr.dev/bounties/365ab61f-9a63-421c-97e6-21d4653021f0"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-2061"}],"affected":[{"package":{"name":"chafa","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/chafa?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.1-1","binary_name":"chafa"},{"binary_name":"libchafa0","binary_version":"1.2.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2061.json"}},{"package":{"name":"chafa","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/chafa?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-1","1.8.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"chafa","binary_version":"1.8.0-1"},{"binary_name":"libchafa0","binary_version":"1.8.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2061.json"}},{"package":{"name":"chafa","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/chafa?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12.5-1","1.12.5-3","1.14.0-1","1.14.0-1.1","1.14.0-1.1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.14.0-1.1build1","binary_name":"chafa"},{"binary_version":"1.14.0-1.1build1","binary_name":"libchafa0t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2061.json"}},{"package":{"name":"chafa","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/chafa?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"chafa","binary_version":"1.14.5-1"},{"binary_version":"1.14.5-1","binary_name":"libchafa0t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2061.json"}},{"package":{"name":"chafa","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/chafa?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.5-1","1.16.2-1","1.18.0-1","1.18.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"chafa","binary_version":"1.18.1-1"},{"binary_name":"libchafa0t64","binary_version":"1.18.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2061.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}