CVE-2022-2301 Buffer Over-read in hpjansson/chafa
A buffer over-read in Chafa allows attackers to cause denial of service or disclose sensitive memory contents via crafted images.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-2301?
CVE-2022-2301 is a medium-severity memory corruption vulnerability in hpjansson/chafa, published on 4 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3.
Which versions are affected by CVE-2022-2301?
It affects 1 product.
Linux distribution packages (4)
chafa SUSE:Package Hub 15 SP3 | All versions | 1.4.1-bp153.2.8.1 |
chafa SUSE:Package Hub 15 SP4 | All versions | 1.8.0-bp154.3.8.1 |
chafa openSUSE:Leap 15.3 | All versions | 1.4.1-bp153.2.8.1 |
chafa openSUSE:Leap 15.4 | All versions | 1.8.0-bp154.3.8.1 |
Products include Chafa Project Chafa.
How do I fix CVE-2022-2301?
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-2301 being exploited?
There is no known exploitation of CVE-2022-2301 in the wild and no public exploit code.
Other vulnerabilities in hpjansson/chafa
Sources
Also known as DEBIAN-CVE-2022-2301, GHSA-rc7h-3q8g-vxjc, JLSEC-2026-1091, UBUNTU-CVE-2022-2301, openSUSE-SU-2022:10044-1, openSUSE-SU-2022:10045-1.