Every CVE Search/ Get API key

CVE-2021-46022

An Use-After-Free vulnerability in rec_mset_elem_destroy() at rec-mset.c of GNU Recutils v1.8.90...

5.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.97%Up 0.6 points since Jan 15, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

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.

Record
CVE-2021-46022
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-416
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-46022
Updated
2026-11-02
EUVDEUVD-2021-32728 No score

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.

Record
EUVD-2021-32728
Updated
2026-11-03
GitHub AdvisoriesGHSA-5m66-q83m-q8c2 5.5

An Use-After-Free vulnerability in rec_mset_elem_destroy() at rec-mset.c of GNU Recutils v1.8.90...

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.

Record
GHSA-5m66-q83m-q8c2
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-416
Updated
2026-11-02
OSVALPINE-CVE-2021-46022 5.5

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.

Record
ALPINE-CVE-2021-46022
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSV 5.5

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.

Record
CVE-2021-46022
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-46022 5.5

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.

Record
DEBIAN-CVE-2021-46022
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-46022 5.5

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.

Record
UBUNTU-CVE-2021-46022
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUSN-7137-1 No score

recutils vulnerabilities

It was discovered that recutils incorrectly handled memory when parsing comments with the recparser utility. An attacker could possibly use this issue to cause a denial of service or run arbitrary commands. (CVE-2021-46019, CVE-2021-46021, CVE-2021-46022)

It was discovered that recutils incorrectly handled memory when parsing CSV files. An attacker could possibly use this issue to cause a denial of service or run arbitrary commands. (CVE-2019-11637, CVE-2019-11638, CVE-2019-11639, CVE-2019-11640)

It was discovered that recutils incorrectly handled memory when parsing maliciously crafted recfiles. An attacker could possibly use this issue to cause a denial of service. (CVE-2019-6455, CVE-2019-6456, CVE-2019-6457, CVE-2019-6458, CVE-2019-6459, CVE-2019-6460)

Record
USN-7137-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
recutils
Alpine:v3.16
before 1.9-r0
1.9-r0
recutils
Alpine:v3.17
before 1.9-r0
1.9-r0
recutils
Alpine:v3.18
before 1.9-r0
1.9-r0
recutils
Alpine:v3.19
before 1.9-r0
1.9-r0
recutils
Alpine:v3.20
before 1.9-r0
1.9-r0
recutils
Alpine:v3.21
before 1.9-r0
1.9-r0
recutils
Alpine:v3.22
before 1.9-r0
1.9-r0
recutils
Alpine:v3.23
before 1.9-r0
1.9-r0
recutils
Alpine:v3.24
before 1.9-r0
1.9-r0
recutils
Debian:12
All versions, plus listed versions
1.9-21.9-31.9-41.9-4~bpo13+1
None known
Show 9 moreShow less
Affected packages
PackageAffectedFixed
recutils
Debian:14
All versions, plus listed versions
1.3-101.3-111.3-91.4-11.5-1
Show 11 moreShow less
1.5-1.11.7-11.7-1.11.7-21.7-31.8-11.9-11.9-21.9-31.9-41.9-4~bpo13+1
None known
recutils
Ubuntu:Pro:16.04:LTS
before 1.7-1ubuntu0.1~esm1, plus listed versions
1.7-1
1.7-1ubuntu0.1~esm1
recutils
Ubuntu:Pro:18.04:LTS
before 1.7-2ubuntu0.1~esm1, plus listed versions
1.7-1.11.7-2
1.7-2ubuntu0.1~esm1
recutils
Ubuntu:Pro:20.04:LTS
before 1.8-1ubuntu0.20.04.1~esm1, plus listed versions
1.7-3build11.8-1
1.8-1ubuntu0.20.04.1~esm1
recutils
Ubuntu:Pro:22.04:LTS
before 1.8-1ubuntu0.22.04.1~esm1, plus listed versions
1.8-1
1.8-1ubuntu0.22.04.1~esm1
recutils
Ubuntu:Pro:16.04:LTS
From an advisory covering 13 CVEs
before 1.7-1ubuntu0.1~esm1, plus listed versions
1.7-1
1.7-1ubuntu0.1~esm1
recutils
Ubuntu:Pro:18.04:LTS
From an advisory covering 13 CVEs
before 1.7-2ubuntu0.1~esm1, plus listed versions
1.7-1.11.7-2
1.7-2ubuntu0.1~esm1
recutils
Ubuntu:Pro:20.04:LTS
From an advisory covering 13 CVEs
before 1.8-1ubuntu0.20.04.1~esm1, plus listed versions
1.7-3build11.8-1
1.8-1ubuntu0.20.04.1~esm1
recutils
Ubuntu:Pro:22.04:LTS
From an advisory covering 13 CVEs
before 1.8-1ubuntu0.22.04.1~esm1, plus listed versions
1.8-1
1.8-1ubuntu0.22.04.1~esm1

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-46022 is a medium vulnerability (CVSS 5.5) in Gnu Recutils, published January 14, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.97%, the 62nd percentile. Fixed in recutils 1.9-r0.

References

Show 19 moreShow less
MoveEnter Open