Vulnerability · Published Jun 13, 2022 · Assigned by @huntrdev
CVE-2022-2061Heap-based Buffer Overflow in hpjansson/chafa
Low 2.8
In plain English
A low-severity heap buffer overflow in hpjansson/chafa from hpjansson. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)2.8Low
Exploit odds (30 days)0.4%top 62.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | chafa | 1.12.1-1 | DEBIAN-CVE-2022-2061 |
| Debian:13 | chafa | 1.12.1-1 | DEBIAN-CVE-2022-2061 |
| Debian:14 | chafa | 1.12.1-1 | DEBIAN-CVE-2022-2061 |
| Ubuntu:22.04:LTS | chafa | no fix listed | UBUNTU-CVE-2022-2061 |
| Ubuntu:24.04:LTS | chafa | no fix listed | UBUNTU-CVE-2022-2061 |
| Ubuntu:25.10 | chafa | no fix listed | UBUNTU-CVE-2022-2061 |
| Ubuntu:26.04:LTS | chafa | no fix listed | UBUNTU-CVE-2022-2061 |
| Ubuntu:26.10 | chafa | no fix listed | UBUNTU-CVE-2022-2061 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| hpjansson | hpjansson/chafa | unspecified – before 1.12.0 |
Weakness: CWE-122 · Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
References
- https://huntr.dev/bounties/365ab61f-9a63-421c-97e6-21d4653021f0 x_refsource_CONFIRM
- https://github.com/hpjansson/chafa/commit/e6ce3746cdcf0836b9dae659a5aed15d73a080d8 x_refsource_MISC