When processing files, malloc stores the data of the current line. When processing comments, malloc incorrectly accesses the released memory (use after free).
https://gitee.com/src-openeuler/byacc/commit/50225f48c6b53e9d7c936681a06682404cb8ec4d
Source: Mitre, NVD
Published: 2023-01-20
Updated: 2023-09-26
Base Score: 7.2
Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C
Severity: High
Base Score: 7.8
Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H