CVE-2021-33641
published high CVSS 3.1 · 7.8byacc: malloc incorrectly accessing released memory leads to use after free
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | byacc<1.9.20200330 and <2.0.20210808 | Affected | Not stated | openEuler |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-204 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | byaccaarch64 | Listed in advisory | Not stated | ALAS2023-2023-204 |
| Amazon Linux | AL2023 | byaccsrc | Listed in advisory | Not stated | ALAS2023-2023-204 |
| Amazon Linux | AL2023 | byaccx86_64 | Listed in advisory | Not stated | ALAS2023-2023-204 |
Description
When processing files, malloc stores the data of the current line. When processing comments, malloc incorrectly accesses the released memory (use after free).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | byacc | <1.9.20200330 and <2.0.20210808 (affected) | openEuler · cna |
Weaknesses
1- CWE-416 CWE-416 : use after free
References
1Provider assertions
3openEuler · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a34a58aa2cab9c438bf8ae3a6e47cfcac4395f3e8d3855c761b0ef972f48419b
- Ingested
- 23 Sep 2026, 07:54:43 UTC
- Source record
- Official CVE record