CVE-2022-2061 Heap-based Buffer Overflow in hpjansson/chafa
A heap-based buffer overflow in Chafa allows attackers to execute arbitrary code or cause denial of service via crafted images.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-2061?
CVE-2022-2061 is a low-severity memory corruption vulnerability in hpjansson/chafa, published on 13 Jun 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
Which versions are affected by CVE-2022-2061?
It affects 1 product.
Linux distribution packages (3)
chafa SUSE:Package Hub 15 SP4 | All versions | 1.8.0-bp154.3.3.1 |
chafa openSUSE:Leap 15.4 | All versions | 1.8.0-bp154.3.3.1 |
chafa openSUSE:Tumbleweed | All versions | 1.12.1-1.1 |
Products include Chafa Project Chafa.
How do I fix CVE-2022-2061?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-2061 being exploited?
There is no known exploitation of CVE-2022-2061 in the wild and no public exploit code.
Other vulnerabilities in hpjansson/chafa
Sources
Also known as DEBIAN-CVE-2022-2061, GHSA-q3m2-24xm-qm8c, JLSEC-2026-1090, UBUNTU-CVE-2022-2061, openSUSE-SU-2022:10017-1, openSUSE-SU-2024:12151-1.