CVE-2022-2301
Buffer Over-read in hpjansson/chafa
Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.5
Buffer Over-read in hpjansson/chafa
Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3.
- Record
CVE-2022-2301- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-126
- Updated
- 2026-11-02
EUVDEUVD-2022-34573
5.5
Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3.
- Record
EUVD-2022-34573- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rc7h-3q8g-vxjc
5.5
Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3.
Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3.
- Record
GHSA-rc7h-3q8g-vxjc- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
NVD
5.5
Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3.
- Record
CVE-2022-2301- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-126, CWE-125
- Updated
- 2026-11-02
OSV
5.5
Buffer Over-read in hpjansson/chafa
Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3.
- Record
CVE-2022-2301- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-126
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-2301
5.5
Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3.
- Record
DEBIAN-CVE-2022-2301- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
Show 4 moreShow less
OSVJLSEC-2026-1091
5.5
Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3.
- Record
JLSEC-2026-1091- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-2301
5.5
Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3.
- Record
UBUNTU-CVE-2022-2301- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2022:10044-1 No score
Security update for chafa
This update for chafa fixes the following issues:
- CVE-2022-2301: Fix buffer over-read (boo#1201211)
- Record
openSUSE-SU-2022:10044-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2022:10045-1 No score
Security update for chafa
This update for chafa fixes the following issues:
- CVE-2022-2301: Fixed buffer over-read (boo#1201211)
- Record
openSUSE-SU-2022:10045-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
chafaDebian:12 |
before 1.10.3-1 | 1.10.3-1 |
chafaDebian:13 |
before 1.10.3-1 | 1.10.3-1 |
chafaDebian:14 |
before 1.10.3-1 | 1.10.3-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 |
chafaSUSE:Package Hub 15 SP3 |
before 1.4.1-bp153.2.8.1 | 1.4.1-bp153.2.8.1 |
chafaopenSUSE:Leap 15.3 |
before 1.4.1-bp153.2.8.1 | 1.4.1-bp153.2.8.1 |
chafaSUSE:Package Hub 15 SP4 |
before 1.8.0-bp154.3.8.1 | 1.8.0-bp154.3.8.1 |
chafaopenSUSE:Leap 15.4 |
before 1.8.0-bp154.3.8.1 | 1.8.0-bp154.3.8.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-2301 is a medium vulnerability (CVSS 5.5) in Chafa Project Chafa, published July 4, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.66%, the 51st percentile. Fixed in chafa 1.10.3-1.
References
huntr.dev/bounties/f6b9114b-671d-4948-b946-ffe5c9aeb816
github.com/hpjansson/chafa/commit/56fabfa18a6880b4cb66047fa6557920078048d9
nvd.nist.gov/vuln/detail/CVE-2022-2301
github.com/advisories/GHSA-rc7h-3q8g-vxjc
github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2301.json
security-tracker.debian.org/tracker/CVE-2022-2301
Show 7 moreShow less
ubuntu.com/security/CVE-2022-2301
github.com/hpjansson/chafa/commit/a52325294cc018d4fa9a7f29668faea24362b94c
cve.org/CVERecord?id=CVE-2022-2301
lists.opensuse.org/archives/list/[email protected]/thread/6MJ4FKDFLGENN5FLV6DJ2YONDN6D6EAG
bugzilla.suse.com/1201211
suse.com/security/cve/CVE-2022-2301
lists.opensuse.org/archives/list/[email protected]/thread/PX5AWM27AFS35SS2ZQEF5DK6J25BVQW6