{"id":"CVE-2022-2061","aliases":["DEBIAN-CVE-2022-2061","EUVD-2022-34359","GHSA-q3m2-24xm-qm8c","JLSEC-2026-1090","UBUNTU-CVE-2022-2061","openSUSE-SU-2022:10017-1","openSUSE-SU-2024:12151-1"],"status":"published","title":"Heap-based Buffer Overflow in hpjansson/chafa","description":"Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.","severity":{"version":"3.0","score":2.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00427,"percentile":0.3727,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-122","CWE-787"],"published":"2022-06-13T11:30:25Z","modified":"2026-10-28T10:25:34Z","fixes":[{"ecosystem":"Debian:12","package":"chafa","fixed_in":["1.12.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"chafa","fixed_in":["1.12.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"chafa","fixed_in":["1.12.1-1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP4","package":"chafa","fixed_in":["1.8.0-bp154.3.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.4","package":"chafa","fixed_in":["1.8.0-bp154.3.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"chafa","fixed_in":["1.12.1-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"chafa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"chafa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"chafa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.1-1"}]}]},{"source":"osv","ecosystem":"Julia","package":"Chafa_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"chafa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"chafa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-1","1.8.0-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"chafa","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"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"chafa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.5-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"chafa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18.1-1","1.18.2-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"chafa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.5-1","1.16.2-1","1.18.0-1","1.18.1-1"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"chafa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0-bp154.3.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"chafa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0-bp154.3.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"chafa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.1-1.1"}]}]}],"products":[{"vendor":"chafa_project","product":"chafa"},{"vendor":"hpjansson","product":"hpjansson/chafa"}],"references":[{"url":"https://huntr.dev/bounties/365ab61f-9a63-421c-97e6-21d4653021f0","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","web","report"]},{"url":"https://github.com/hpjansson/chafa/commit/e6ce3746cdcf0836b9dae659a5aed15d73a080d8","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2061","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-q3m2-24xm-qm8c"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2061.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-2061","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-2061","tags":["report"]},{"url":"https://huntr.dev/bounties/365ab61f-9a63-421c-97e6-21d4653021f0/","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2061","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/LY6MEKV4JT77BAS4IECETLPIERW2R35C/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1200510","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-2061","tags":["web"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-2061","title":"Heap-based Buffer Overflow in hpjansson/chafa","description":"Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.","status":"published","published":"2022-06-13T11:30:25Z","modified":"2024-08-03T00:24:44.179Z","cvss":[{"version":"3.0","score":2.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:34:32.495407Z"}],"euvd":[{"id":"EUVD-2022-34359","description":"Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.","status":"published","published":"2022-06-13T11:30:25Z","modified":"2024-08-03T00:24:44Z","cvss":[{"version":"3.0","score":2.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-03T03:25:59.498764Z"}],"ghsa":[{"id":"GHSA-q3m2-24xm-qm8c","title":"Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.","description":"Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.","status":"published","published":"2022-06-14T00:00:37Z","modified":"2023-01-27T05:04:09Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:42:24.095154Z"}],"nvd":[{"id":"CVE-2022-2061","description":"Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.","status":"published","published":"2022-06-13T12:15:08.033Z","modified":"2026-06-17T04:41:12.69Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"primary"},{"version":"3.0","score":2.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low","assessor":"secondary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-122","CWE-787"],"updated_at":"2026-11-02T14:07:21.62951Z"}],"osv":[{"id":"CVE-2022-2061","title":"Heap-based Buffer Overflow in hpjansson/chafa","description":"Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.","status":"published","published":"2022-06-13T11:30:25Z","modified":"2026-10-28T10:25:34.081849436Z","cvss":[{"version":"3.0","score":2.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T15:44:23.655778Z"},{"id":"DEBIAN-CVE-2022-2061","description":"Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.","status":"published","published":"2022-06-13T12:15:08.033Z","modified":"2026-11-03T08:02:04.056530459Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-03T08:24:50.542442Z"},{"id":"JLSEC-2026-1090","description":"Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.","status":"published","published":"2026-07-31T20:09:46.097Z","modified":"2026-07-31T20:15:03.882063214Z","cvss":[{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","level":"low"},{"version":"3.0","score":2.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T15:47:18.159338Z"},{"id":"UBUNTU-CVE-2022-2061","description":"Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.","status":"published","published":"2022-06-13T12:15:00Z","modified":"2026-10-17T12:56:16.606612618Z","cvss":[{"version":"3.0","score":2.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T16:53:52.391598Z"},{"id":"openSUSE-SU-2022:10017-1","title":"Security update for chafa","description":"This update for chafa fixes the following issues:\n\n- CVE-2022-2061: Fix heap based buffer overflow in lzw_decode (boo#1200510)\n","status":"published","published":"2022-06-20T07:22:02Z","modified":"2026-02-04T02:53:06.013582Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2024:12151-1","title":"chafa-1.12.1-1.1 on GA media","description":"These are all security issues fixed in the chafa-1.12.1-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:16:48.064407Z","updated_at":"2026-11-02T16:58:35.485255Z"}]}}
