{"id":"UBUNTU-CVE-2021-46022","details":"An Use-After-Free vulnerability in rec_mset_elem_destroy() at rec-mset.c of GNU Recutils v1.8.90 can lead to a segmentation fault or application crash.","modified":"2026-01-30T01:00:01.595077Z","published":"2022-01-14T20:15:00Z","related":["USN-7137-1"],"upstream":["CVE-2021-46022"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-46022"},{"type":"REPORT","url":"https://lists.gnu.org/archive/html/bug-recutils/2021-12/msg00007.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-46022"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7137-1"}],"affected":[{"package":{"name":"recutils","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/recutils@1.7-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7-1ubuntu0.1~esm1"}]}],"versions":["1.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librec-dev","binary_version":"1.7-1ubuntu0.1~esm1"},{"binary_name":"librec1","binary_version":"1.7-1ubuntu0.1~esm1"},{"binary_name":"recutils","binary_version":"1.7-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46022.json"}},{"package":{"name":"recutils","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/recutils@1.7-2ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7-2ubuntu0.1~esm1"}]}],"versions":["1.7-1.1","1.7-2"],"ecosystem_specific":{"binaries":[{"binary_name":"librec-dev","binary_version":"1.7-2ubuntu0.1~esm1"},{"binary_name":"librec1","binary_version":"1.7-2ubuntu0.1~esm1"},{"binary_name":"recutils","binary_version":"1.7-2ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46022.json"}},{"package":{"name":"recutils","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/recutils@1.8-1ubuntu0.20.04.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8-1ubuntu0.20.04.1~esm1"}]}],"versions":["1.7-3build1","1.8-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librec-dev","binary_version":"1.8-1ubuntu0.20.04.1~esm1"},{"binary_name":"librec1","binary_version":"1.8-1ubuntu0.20.04.1~esm1"},{"binary_name":"recutils","binary_version":"1.8-1ubuntu0.20.04.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46022.json"}},{"package":{"name":"recutils","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/recutils@1.8-1ubuntu0.22.04.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8-1ubuntu0.22.04.1~esm1"}]}],"versions":["1.8-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librec-dev","binary_version":"1.8-1ubuntu0.22.04.1~esm1"},{"binary_name":"librec1","binary_version":"1.8-1ubuntu0.22.04.1~esm1"},{"binary_name":"recutils","binary_version":"1.8-1ubuntu0.22.04.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46022.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}