CVE-2021-46022

Source
https://cve.org/CVERecord?id=CVE-2021-46022
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-46022.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-46022
Downstream
Published
2022-01-14T20:15:15.560Z
Modified
2026-07-09T08:10:45.748840Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An Use-After-Free vulnerability in recmsetelem_destroy() at rec-mset.c of GNU Recutils v1.8.90 can lead to a segmentation fault or application crash.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "CPE_STRING",
            "vendor_product": "fedoraproject:fedora",
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "35"
                },
                {
                    "last_affected": "35"
                },
                {
                    "introduced": "36"
                },
                {
                    "last_affected": "36"
                }
            ]
        },
        {
            "source": "CPE_STRING",
            "vendor_product": "gnu:recutils",
            "cpes": [
                "cpe:2.3:a:gnu:recutils:1.8.90:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "1.8.90"
                },
                {
                    "last_affected": "1.8.90"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/gnu-mirror-unofficial/recutils

Affected ranges

Type
GIT
Repo
https://github.com/gnu-mirror-unofficial/recutils
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Database specific

vanir_signatures
[
    {
        "id": "CVE-2021-46022-ac781a3e",
        "digest": {
            "line_hashes": [
                "29644893424882325700865118353132252811",
                "329416259491914602351227822581003845240",
                "338385620638968373949041340582211446384",
                "137663640175312692916361425814139319546"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/rec-parser.c"
        },
        "signature_version": "v1",
        "source": "https://github.com/gnu-mirror-unofficial/recutils/commit/34b75ed7ad492c8e38b669ebafe0176f1f9992d2",
        "deprecated": false,
        "signature_type": "Line"
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-46022.json"
vanir_signatures_modified
"2026-07-09T08:10:45Z"