Use After Free in Openeuler Byacc
CVE-2021-33641
When processing files, malloc stores the data of the current line. When processing comments, malloc incorrectly accesses the released memory (use after free).
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 20.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Openeuler Byacc
- Byacc — versions <1.9.20200330 and <2.0.20210808
Weakness classification (CWE)
References
- gitee.com/src-openeuler/byacc/commit/50225f48c6b53e9d7c936681a06682404cb8ec4d (Permissions Required, Third Party Advisory)