High
halibut — security advisory
A use after free in cleanup_index in index.c in Halibut 1.2 allows an attacker to cause a segmentation fault or possibly have other unspecified impact via a crafted text document.
- Products
- halibut
- Affected versions
- 1.0+svn20090906-9, 1.1-1, 1.1-2, 1.1-3, 1.1-4, 1.2-1, 1.2-2, 1.2-4build1, 1.2-5, 1.3-1, 1.3-2, 1.3-5
- Fixed versions
- Not specified
- CVEs
- CVE-2021-42612
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:54 UTC · Revision 1
Source evidence
A use after free in cleanup_index in index.c in Halibut 1.2 allows an attacker to cause a segmentation fault or possibly have other unspecified impact via a crafted text document.
osv:UBUNTU-CVE-2021-42612
halibut
Fixed versions: Not specified
halibut
Fixed versions: Not specified
halibut
Fixed versions: Not specified
halibut
Fixed versions: Not specified
halibut
Fixed versions: Not specified
halibut
Fixed versions: Not specified
halibut
Fixed versions: Not specified
halibut
Fixed versions: Not specified
Complete source record
{
"id": "369d0b1b41d4f21590fc1f98cfb31150383eda65480f0225eb1a9fd35cbc727e",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-42612",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2021-42612",
"summary": "A use after free in cleanup_index in index.c in Halibut 1.2 allows an attacker to cause a segmentation fault or possibly have other unspecified impact via a crafted text document.",
"evidence": "osv:UBUNTU-CVE-2021-42612",
"products": [
{
"name": {
"value": "halibut",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0+svn20090906-9",
"evidence": "/affected/0/versions"
},
{
"value": "1.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.1-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.1-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.1-4",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "halibut",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "halibut",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "halibut",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2-4build1",
"evidence": "/affected/3/versions"
},
{
"value": "1.2-5",
"evidence": "/affected/3/versions"
},
{
"value": "1.3-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.3-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "halibut",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "halibut",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "halibut",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3-5",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "halibut",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3-2",
"evidence": "/affected/7/versions"
},
{
"value": "1.3-5",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2021-42612",
"aliases": [
"UBUNTU-CVE-2021-42612"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "low"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "halibut",
"purl": "pkg:deb/ubuntu/halibut?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.0+svn20090906-9",
"1.1-1",
"1.1-2",
"1.1-3",
"1.1-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42612.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "halibut",
"binary_version": "1.1-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "halibut",
"purl": "pkg:deb/ubuntu/halibut?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42612.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "halibut",
"binary_version": "1.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "halibut",
"purl": "pkg:deb/ubuntu/halibut?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.2-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42612.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "halibut",
"binary_version": "1.2-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "halibut",
"purl": "pkg:deb/ubuntu/halibut?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.2-4build1",
"1.2-5",
"1.3-1",
"1.3-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42612.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "halibut",
"binary_version": "1.3-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "halibut",
"purl": "pkg:deb/ubuntu/halibut?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.3-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42612.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "halibut",
"binary_version": "1.3-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "halibut",
"purl": "pkg:deb/ubuntu/halibut?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.3-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42612.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "halibut",
"binary_version": "1.3-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "halibut",
"purl": "pkg:deb/ubuntu/halibut?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.3-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42612.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "halibut",
"binary_version": "1.3-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "halibut",
"purl": "pkg:deb/ubuntu/halibut?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.3-2",
"1.3-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42612.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "halibut",
"binary_version": "1.3-5"
}
]
}
}
],
"modified": "2026-10-17T12:56:15.434470090Z",
"provider": "osv",
"upstream": [
"CVE-2021-42612"
],
"references": [
"https://ubuntu.com/security/CVE-2021-42612",
"https://carteryagemann.com/halibut-case-study.html#poc-halibut-text-uaf",
"https://www.cve.org/CVERecord?id=CVE-2021-42612"
]
},
"related_cves": [
{
"value": "CVE-2021-42612",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355056,
"published_at": "2022-05-24T19:15:00+00:00"
}