{"id":"CVE-2022-2061","summary":"Heap-based Buffer Overflow in hpjansson/chafa","details":"Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.","modified":"2026-07-22T02:23:25.051781Z","published":"2022-06-13T11:30:25Z","related":["openSUSE-SU-2022:10017-1","openSUSE-SU-2024:12151-1"],"database_specific":{"cna_assigner":"@huntrdev","cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2061.json"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/365ab61f-9a63-421c-97e6-21d4653021f0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2061.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2061"},{"type":"FIX","url":"https://github.com/hpjansson/chafa/commit/e6ce3746cdcf0836b9dae659a5aed15d73a080d8"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hpjansson/chafa","events":[{"introduced":"0"},{"fixed":"08e87f5acbce734a7cb450d4b1562c7641fc9db5"},{"fixed":"e6ce3746cdcf0836b9dae659a5aed15d73a080d8"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.12.0"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:chafa_project:chafa:*:*:*:*:*:*:*:*"}}],"versions":["1.12.0","1.10.0","1.8.0","1.6.0","1.4.0","1.2.0","1.0.0","0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2061.json","vanir_signatures_modified":"2026-07-22T02:23:25Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["283604327072312400021943675730903897256","318635509254145409155368141161476622935","198794250342686831318238948135830554602"],"threshold":0.9},"id":"CVE-2022-2061-9fe4920d","signature_type":"Line","signature_version":"v1","source":"https://github.com/hpjansson/chafa/commit/e6ce3746cdcf0836b9dae659a5aed15d73a080d8","target":{"file":"libnsgif/lzw.c"}}]}}],"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"}]}