{"id":"CVE-2021-42612","aliases":["DEBIAN-CVE-2021-42612","EUVD-2021-29576","GHSA-wqhh-vh2p-v74x","MGASA-2022-0237","UBUNTU-CVE-2021-42612"],"status":"published","title":"A use after free in cleanup_index in index.c in Halibut 1.2 allows an attacker to cause a...","description":"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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.0089,"percentile":0.59836,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2022-05-24T18:02:24Z","modified":"2026-10-23T18:03:39Z","fixes":[{"ecosystem":"Debian:12","package":"halibut","fixed_in":["1.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"halibut","fixed_in":["1.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"halibut","fixed_in":["1.3-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"halibut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"halibut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"halibut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3-1"}]}]},{"source":"osv","ecosystem":"Mageia:8","package":"halibut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3-1.mga8"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"halibut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0+svn20090906-9","1.1-1","1.1-2","1.1-3","1.1-4"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"halibut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"halibut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"halibut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2-4build1","1.2-5","1.3-1","1.3-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"halibut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3-2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"halibut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"halibut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3-5"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"halibut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3-2","1.3-5"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"halibut_project","product":"halibut"}],"references":[{"url":"https://carteryagemann.com/halibut-case-study.html#poc-halibut-text-uaf","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CC7UZ7NRXDA7YSCSGWE2CBQM7OZS3K2R/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42612"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CC7UZ7NRXDA7YSCSGWE2CBQM7OZS3K2R/"},{"url":"https://github.com/advisories/GHSA-wqhh-vh2p-v74x"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-42612","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0237.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30559","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/CC7UZ7NRXDA7YSCSGWE2CBQM7OZS3K2R/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-42612","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-42612","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-42612","description":"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.","status":"published","published":"2022-05-24T18:02:24Z","modified":"2024-08-04T03:38:49.294Z","updated_at":"2026-11-02T14:32:58.739039Z"}],"euvd":[{"id":"EUVD-2021-29576","description":"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.","status":"published","published":"2022-05-24T18:02:24Z","modified":"2024-08-04T03:38:49Z","updated_at":"2026-11-03T03:24:15.755984Z"}],"ghsa":[{"id":"GHSA-wqhh-vh2p-v74x","title":"A use after free in cleanup_index in index.c in Halibut 1.2 allows an attacker to cause a...","description":"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.","status":"published","published":"2022-05-25T00:00:22Z","modified":"2023-01-27T05:03:08Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:42:10.716841Z"}],"nvd":[{"id":"CVE-2021-42612","description":"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.","status":"published","published":"2022-05-24T19:15:09.193Z","modified":"2026-06-17T04:09:52.497Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:07:06.501652Z"}],"osv":[{"id":"CVE-2021-42612","description":"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.","status":"published","published":"2022-05-24T19:15:09.193Z","modified":"2026-04-16T04:40:52.20236952Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:21.557945Z"},{"id":"DEBIAN-CVE-2021-42612","description":"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.","status":"published","published":"2022-05-24T19:15:09.193Z","modified":"2026-10-23T18:03:39.360958303Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:35.799676Z"},{"id":"UBUNTU-CVE-2021-42612","description":"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.","status":"published","published":"2022-05-24T19:15:00Z","modified":"2026-10-17T12:56:15.43447009Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:29.220315Z"},{"id":"MGASA-2022-0237","title":"Updated halibut packages fix security vulnerability","description":"Use-after-free in cleanup_index() in index.c (CVE-2021-42612)\nDouble free in cleanup_index() in index.c (CVE-2021-42613)\nUse-after-free in info_width_internal() in bk_info.c (CVE-2021-42614)\n","status":"published","published":"2022-06-18T21:30:41Z","modified":"2026-04-16T04:43:18.883250149Z","updated_at":"2026-11-02T15:49:41.849028Z"}]}}
