CVE-2022-2061
Heap-based Buffer Overflow in hpjansson/chafa
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
2.8
Heap-based Buffer Overflow in hpjansson/chafa
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
- Record
CVE-2022-2061- 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 - Weakness
- CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2022-34359
2.8
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
- Record
EUVD-2022-34359- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-q3m2-24xm-qm8c
3.3
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
- Record
GHSA-q3m2-24xm-qm8c- 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 - Weakness
- CWE-787
- Updated
- 2026-11-02
NVD
3.3
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
- Record
CVE-2022-2061- 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 - 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 - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
OSV
2.8
Heap-based Buffer Overflow in hpjansson/chafa
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
- Record
CVE-2022-2061- 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 - Weakness
- CWE-122
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-2061
3.3
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
- Record
DEBIAN-CVE-2022-2061- 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 - Updated
- 2026-11-03
Show 4 moreShow less
OSVJLSEC-2026-1090
3.3
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
- Record
JLSEC-2026-1090- 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 - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:P/I:N/A:N - 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-2061
3.3
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
- Record
UBUNTU-CVE-2022-2061- 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 - 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 - Updated
- 2026-11-02
OSVopenSUSE-SU-2022:10017-1 No score
Security update for chafa
This update for chafa fixes the following issues:
- CVE-2022-2061: Fix heap based buffer overflow in lzw_decode (boo#1200510)
- Record
openSUSE-SU-2022:10017-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12151-1 No score
chafa-1.12.1-1.1 on GA media
These are all security issues fixed in the chafa-1.12.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12151-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
chafaDebian:12 |
before 1.12.1-1 | 1.12.1-1 |
chafaDebian:13 |
before 1.12.1-1 | 1.12.1-1 |
chafaDebian:14 |
before 1.12.1-1 | 1.12.1-1 |
Chafa_jllJulia |
All versions | None known |
chafaUbuntu:20.04:LTS |
All versions, plus listed versions 1.2.1-1 |
None known |
chafaUbuntu:22.04:LTS |
All versions, plus listed versions 1.6.0-11.8.0-1 |
None known |
chafaUbuntu:24.04:LTS |
All versions, plus listed versions 1.12.5-11.12.5-31.14.0-11.14.0-1.11.14.0-1.1build1 |
None known |
chafaUbuntu:25.10 |
All versions, plus listed versions 1.14.5-1 |
None known |
chafaUbuntu:26.10 |
All versions, plus listed versions 1.18.1-11.18.2-1 |
None known |
chafaUbuntu:26.04:LTS |
All versions, plus listed versions 1.14.5-11.16.2-11.18.0-11.18.1-1 |
None known |
chafaSUSE:Package Hub 15 SP4 |
before 1.8.0-bp154.3.3.1 | 1.8.0-bp154.3.3.1 |
chafaopenSUSE:Leap 15.4 |
before 1.8.0-bp154.3.3.1 | 1.8.0-bp154.3.3.1 |
chafaopenSUSE:Tumbleweed |
before 1.12.1-1.1 | 1.12.1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-2061 is a low vulnerability (CVSS 2.8) in Chafa Project Chafa, published June 13, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. Fixed in chafa 1.12.1-1.
References
huntr.dev/bounties/365ab61f-9a63-421c-97e6-21d4653021f0
github.com/hpjansson/chafa/commit/e6ce3746cdcf0836b9dae659a5aed15d73a080d8
nvd.nist.gov/vuln/detail/CVE-2022-2061
github.com/advisories/GHSA-q3m2-24xm-qm8c
github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2061.json
security-tracker.debian.org/tracker/CVE-2022-2061