Low
chafa — security advisory
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
- Products
- chafa
- Affected versions
- 1.12.5-1, 1.12.5-3, 1.14.0-1, 1.14.0-1.1, 1.14.0-1.1build1, 1.14.5-1, 1.16.2-1, 1.18.0-1, 1.18.1-1, 1.18.2-1, 1.2.1-1, 1.6.0-1, 1.8.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2022-2061
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:55 UTC · Revision 1
Source evidence
Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.
osv:UBUNTU-CVE-2022-2061
chafa
Fixed versions: Not specified
chafa
Fixed versions: Not specified
chafa
Fixed versions: Not specified
chafa
Fixed versions: Not specified
chafa
Fixed versions: Not specified
chafa
Fixed versions: Not specified
Complete source record
{
"id": "6b438b67dfc416a6d9cab21ced88978f026d1762a6b542e49461a3a8e0a64994",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-2061",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-2061",
"summary": "Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.",
"evidence": "osv:UBUNTU-CVE-2022-2061",
"products": [
{
"name": {
"value": "chafa",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.1-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "chafa",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.8.0-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "chafa",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.12.5-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.12.5-3",
"evidence": "/affected/2/versions"
},
{
"value": "1.14.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.14.0-1.1",
"evidence": "/affected/2/versions"
},
{
"value": "1.14.0-1.1build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "chafa",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.14.5-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "chafa",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.18.1-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.18.2-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "chafa",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.14.5-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.16.2-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.18.0-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.18.1-1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "low",
"structured": {
"id": "UBUNTU-CVE-2022-2061",
"aliases": [
"UBUNTU-CVE-2022-2061"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "chafa",
"purl": "pkg:deb/ubuntu/chafa?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.2.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2061.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "chafa",
"binary_version": "1.2.1-1"
},
{
"binary_name": "libchafa0",
"binary_version": "1.2.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "chafa",
"purl": "pkg:deb/ubuntu/chafa?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.6.0-1",
"1.8.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2061.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "chafa",
"binary_version": "1.8.0-1"
},
{
"binary_name": "libchafa0",
"binary_version": "1.8.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "chafa",
"purl": "pkg:deb/ubuntu/chafa?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.12.5-1",
"1.12.5-3",
"1.14.0-1",
"1.14.0-1.1",
"1.14.0-1.1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2061.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "chafa",
"binary_version": "1.14.0-1.1build1"
},
{
"binary_name": "libchafa0t64",
"binary_version": "1.14.0-1.1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "chafa",
"purl": "pkg:deb/ubuntu/chafa?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.14.5-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2061.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "chafa",
"binary_version": "1.14.5-1"
},
{
"binary_name": "libchafa0t64",
"binary_version": "1.14.5-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "chafa",
"purl": "pkg:deb/ubuntu/chafa?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.18.1-1",
"1.18.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2061.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "chafa",
"binary_version": "1.18.2-1"
},
{
"binary_name": "libchafa0t64",
"binary_version": "1.18.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "chafa",
"purl": "pkg:deb/ubuntu/chafa?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.14.5-1",
"1.16.2-1",
"1.18.0-1",
"1.18.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2061.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "chafa",
"binary_version": "1.18.1-1"
},
{
"binary_name": "libchafa0t64",
"binary_version": "1.18.1-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:16.606612618Z",
"provider": "osv",
"upstream": [
"CVE-2022-2061"
],
"references": [
"https://ubuntu.com/security/CVE-2022-2061",
"https://github.com/hpjansson/chafa/commit/e6ce3746cdcf0836b9dae659a5aed15d73a080d8",
"https://huntr.dev/bounties/365ab61f-9a63-421c-97e6-21d4653021f0/",
"https://huntr.dev/bounties/365ab61f-9a63-421c-97e6-21d4653021f0",
"https://www.cve.org/CVERecord?id=CVE-2022-2061"
]
},
"related_cves": [
{
"value": "CVE-2022-2061",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 355111,
"published_at": "2022-06-13T12:15:00+00:00"
}