# CVE-2022-2061: Heap-based Buffer Overflow in hpjansson/chafa

- Severity: Low 2.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-13T11:30:25.000Z
- Modified: 2026-06-17T04:41:12.690Z
- Weaknesses: CWE-122, CWE-787
- Assigned by: @huntrdev

## Description

Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.

(As written by CVE List.)

## Affected

- hpjansson hpjansson/chafa: from unspecified before 1.12.0
- chafa_project chafa: before 1.12.0

## Every score

- @huntrdev: CVSS:3.0 2.8 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://huntr.dev/bounties/365ab61f-9a63-421c-97e6-21d4653021f0> (exploit, patch, third-party-advisory)
- <https://github.com/hpjansson/chafa/commit/e6ce3746cdcf0836b9dae659a5aed15d73a080d8> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-2061](https://www.cve.org/CVERecord?id=CVE-2022-2061), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-2061](https://nvd.nist.gov/vuln/detail/CVE-2022-2061), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2061 · Whole record: https://cve.day/CVE-2022-2061.json · Rebuilt by cve.day 2026-11-25T22:58:12.227Z
