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

EcosystemPackageFixed inAdvisory
Debian:12chafa1.12.1-1DEBIAN-CVE-2022-2061
Debian:13chafa1.12.1-1DEBIAN-CVE-2022-2061
Debian:14chafa1.12.1-1DEBIAN-CVE-2022-2061
Ubuntu:22.04:LTSchafano fix listedUBUNTU-CVE-2022-2061
Ubuntu:24.04:LTSchafano fix listedUBUNTU-CVE-2022-2061
Ubuntu:25.10chafano fix listedUBUNTU-CVE-2022-2061
Ubuntu:26.04:LTSchafano fix listedUBUNTU-CVE-2022-2061
Ubuntu:26.10chafano fix listedUBUNTU-CVE-2022-2061

Affected products (as reported)

VendorProductVersions
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