CVE-2021-46022 json
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 applic…
published 2022-01-14 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-32728
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- recutils Ubuntu Pro 16.04 LTS 1.7-1ubuntu0.1~esm1
- recutils Ubuntu Pro 18.04 LTS 1.7-2ubuntu0.1~esm1
- recutils Ubuntu Pro 20.04 LTS 1.8-1ubuntu0.20.04.1~esm1
- recutils Ubuntu Pro 22.04 LTS 1.8-1ubuntu0.22.04.1~esm1
ubuntu advisories UBUNTU-CVE-2021-46022
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- recutils Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 1.9-r0
alpine advisories ALPINE-CVE-2021-46022
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-46022 updated cvss 5.5
recutils: use-after-free in rec_mset_elem_destroy() at rec-mset.c may lead to DoS
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.04% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- lists.gnu.org https://lists.gnu.org/archive/html/bug-recutils/2021-12/msg00007.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-416 Use After Free
References
- github.com /gnu-mirror-unofficial/recutils/commit/34b75ed7ad492c8e38b669ebafe0176f1f9992d2
-
lists.gnu.org
/archive/html/bug-recutils/2021-12/msg00007.html
exploit, mailing-list, vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/VRSXSN2XF6PX74WDYVV26TQMYIFAEQ3T/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/TDVOFC3HTBG7DF2PZTEXRMG4CV2F55UF/
vendor-advisory
- nvd.nist.gov /vuln/detail/CVE-2021-46022
Sources
- CVE List CVE-2021-46022
- NVD CVE-2021-46022
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.