Skip to content
OpenAdvisories
High · 7.8 CVE-2021-33641 EUVD-2021-20318GHSA-56c6-2pfc-9rvh

When processing files, malloc stores the data of the current line. When processing comments, malloc incorrectly accesses the released memor…

Published Jan 20, 2023 · Updated Apr 3, 2025 · Assigned by openEuler

Description

When processing files, malloc stores the data of the current line. When processing comments, malloc incorrectly accesses the released memory (use after free).

Affected products

VendorProductAffectedFixed
— byacc <1.9.20200330 and <2.0.20210808 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 byacc 2.0.20210109-2.amzn2023.0.3 ALAS2023-2023-204

Advisories 1

References